-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typescript definitions not exported by default #215
Comments
Hi Jacob, this library is discontinued. Please use https://github.com/Zondax/ledger-cosmos-js |
Looks like that library has also not been updated for 2 years |
You could check how Keplr does it: https://github.com/chainapsis/keplr-wallet |
Thanks so much! I could not get it working until I checked Keplr's code as you suggested. This library seemed to handle this step for us, and the new library requires an extra step: import { signatureImport } from "secp256k1";
// Parse a DER ECDSA signature
return signatureImport(result.signature); |
I think the library devs should make it clear this library is not maintained anymore and point to the new one. |
You are invited to create a PR with the TS additions. I will flag this library as not maintained. |
when I do
import Ledger from '@lunie/cosmos-ledger';
I don't get the types. I have a red squiggly saying no types found.
I opened the node_modules folder and found the types there and when I do
import Ledger from '@lunie/cosmos-ledger/lib/cosmos-ledger';
it works.You might need to change something to get these loaded by default
The text was updated successfully, but these errors were encountered: