diff --git a/bitcoin_client_js/README.md b/bitcoin_client_js/README.md index 1069b5e1d..efd4ab53c 100644 --- a/bitcoin_client_js/README.md +++ b/bitcoin_client_js/README.md @@ -6,11 +6,17 @@ TypeScript client for Ledger Bitcoin application. Supports versions 2.1.0 and ab Main repository and documentation: https://github.com/LedgerHQ/app-bitcoin-new - +```bash +$ yarn add ledger-bitcoin +``` + +Or if you prefer using npm: + +```bash +$ npm install ledger-bitcoin +``` ## Building diff --git a/bitcoin_client_js/package.json b/bitcoin_client_js/package.json index 3399aaa34..2f1e5b070 100644 --- a/bitcoin_client_js/package.json +++ b/bitcoin_client_js/package.json @@ -31,8 +31,7 @@ "dependencies": { "@ledgerhq/hw-transport": "^6.20.0", "bip32-path": "^0.4.2", - "bitcoinjs-lib": "^6.0.1", - "tiny-secp256k1": "^2.1.2" + "bitcoinjs-lib": "^6.0.1" }, "devDependencies": { "@ledgerhq/hw-transport-node-speculos-http": "^6.24.1", @@ -71,4 +70,4 @@ "prettier": { "singleQuote": true } -} \ No newline at end of file +} diff --git a/bitcoin_client_js/src/index.ts b/bitcoin_client_js/src/index.ts index 929a27583..01a2be10c 100644 --- a/bitcoin_client_js/src/index.ts +++ b/bitcoin_client_js/src/index.ts @@ -1,4 +1,4 @@ -import AppClient from './lib/appClient'; +import AppClient, { PartialSignature } from './lib/appClient'; import { DefaultDescriptorTemplate, DefaultWalletPolicy, @@ -11,6 +11,7 @@ export { PsbtV2, DefaultDescriptorTemplate, DefaultWalletPolicy, + PartialSignature, WalletPolicy };