Skip to content

Commit

Permalink
Merge pull request LedgerHQ#147 from bitcoinerlab/new-synced-branch
Browse files Browse the repository at this point in the history
javascript: Improve usability for 3rd parties: update README, expose types, and remove unused dependency
  • Loading branch information
bigspider authored Apr 20, 2023
2 parents 1271309 + 22298b8 commit 0981826
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
12 changes: 9 additions & 3 deletions bitcoin_client_js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

<!--
## Install

TODO: fill this once the module is published
-->
```bash
$ yarn add ledger-bitcoin
```

Or if you prefer using npm:

```bash
$ npm install ledger-bitcoin
```

## Building

Expand Down
5 changes: 2 additions & 3 deletions bitcoin_client_js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -71,4 +70,4 @@
"prettier": {
"singleQuote": true
}
}
}
3 changes: 2 additions & 1 deletion bitcoin_client_js/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import AppClient from './lib/appClient';
import AppClient, { PartialSignature } from './lib/appClient';
import {
DefaultDescriptorTemplate,
DefaultWalletPolicy,
Expand All @@ -11,6 +11,7 @@ export {
PsbtV2,
DefaultDescriptorTemplate,
DefaultWalletPolicy,
PartialSignature,
WalletPolicy
};

Expand Down

0 comments on commit 0981826

Please sign in to comment.