@ledgerhq/hw-app-btc
Advanced tools
Comparing version 10.0.10-nightly.1 to 10.1.0-next.0
# @ledgerhq/hw-app-btc | ||
## 10.0.10-nightly.1 | ||
## 10.1.0-next.0 | ||
### Patch Changes | ||
### Minor Changes | ||
- Updated dependencies []: | ||
- @ledgerhq/hw-transport@6.29.1-nightly.1 | ||
- [#5430](https://github.com/LedgerHQ/ledger-live/pull/5430) [`5964e30bed`](https://github.com/LedgerHQ/ledger-live/commit/5964e30bed11d64a3b7401c6ab51ffc1ad4c427c) Thanks [@hedi-edelbloute](https://github.com/hedi-edelbloute)! - Update documentation v14 ledgerjs | ||
## 10.0.10-nightly.0 | ||
### Patch Changes | ||
- Updated dependencies []: | ||
- @ledgerhq/hw-transport@6.29.1-nightly.0 | ||
- Updated dependencies [[`5964e30bed`](https://github.com/LedgerHQ/ledger-live/commit/5964e30bed11d64a3b7401c6ab51ffc1ad4c427c)]: | ||
- @ledgerhq/hw-transport@6.30.0-next.0 | ||
- @ledgerhq/logs@6.12.0-next.0 | ||
@@ -17,0 +15,0 @@ ## 10.0.9 |
{ | ||
"name": "@ledgerhq/hw-app-btc", | ||
"version": "10.0.10-nightly.1", | ||
"version": "10.1.0-next.0", | ||
"description": "Ledger Hardware Wallet Bitcoin Application API", | ||
@@ -73,4 +73,4 @@ "keywords": [ | ||
"varuint-bitcoin": "1.1.2", | ||
"@ledgerhq/hw-transport": "^6.29.1-nightly.1", | ||
"@ledgerhq/logs": "^6.11.0" | ||
"@ledgerhq/hw-transport": "^6.30.0-next.0", | ||
"@ledgerhq/logs": "^6.12.0-next.0" | ||
}, | ||
@@ -81,3 +81,3 @@ "devDependencies": { | ||
"axios": "^0.25.0", | ||
"documentation": "13.2.5", | ||
"documentation": "14.0.2", | ||
"jest": "^28.1.1", | ||
@@ -88,4 +88,4 @@ "rimraf": "^4.4.1", | ||
"ts-node": "^10.4.0", | ||
"@ledgerhq/hw-transport-mocker": "^6.27.21-nightly.1", | ||
"@ledgerhq/hw-transport-node-speculos": "^6.27.21-nightly.1" | ||
"@ledgerhq/hw-transport-mocker": "^6.28.0-next.0", | ||
"@ledgerhq/hw-transport-node-speculos": "^6.28.0-next.0" | ||
}, | ||
@@ -92,0 +92,0 @@ "gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec", |
160
README.md
@@ -122,5 +122,5 @@ <img src="https://user-images.githubusercontent.com/4631227/191834116-59cf590e-25cc-4956-ae5c-812ea464f324.png" height="100" /> | ||
* `$0` **{transport: Transport, scrambleKey: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, currency: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?}** | ||
* `$0` **{transport: Transport, scrambleKey: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?, currency: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?}**  | ||
* `$0.transport` | ||
* `$0.transport`   | ||
* `$0.scrambleKey` (optional, default `"BTC"`) | ||
@@ -152,3 +152,3 @@ * `$0.currency` (optional, default `"bitcoin"`) | ||
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a BIP 32 path | ||
* `opts` **{verify: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, format: [AddressFormat](#addressformat)?}?** | ||
* `opts` **{verify: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, format: [AddressFormat](#addressformat)?}?**  | ||
* `options` an object with optional these fields:* verify (boolean) will ask user to confirm the address on the device | ||
@@ -171,3 +171,3 @@ | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{publicKey: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), bitcoinAddress: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), chainCode: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>** | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{publicKey: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), bitcoinAddress: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), chainCode: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**  | ||
@@ -180,4 +180,4 @@ #### signMessage | ||
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** | ||
* `messageHex` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** | ||
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**  | ||
* `messageHex` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**  | ||
@@ -194,3 +194,3 @@ ##### Examples | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{v: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), r: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), s: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>** | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{v: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), r: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), s: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**  | ||
@@ -203,5 +203,5 @@ #### createPaymentTransaction | ||
* `arg` **[CreateTransactionArg](#createtransactionarg)** | ||
* `inputs` is an array of \[ transaction, output_index, optional redeem script, optional sequence ] where* transaction is the previously computed transaction object for this UTXO | ||
* output_index is the output in the transaction used as input for this UTXO (counting from 0) | ||
* `arg` **[CreateTransactionArg](#createtransactionarg)**  | ||
* `inputs` is an array of \[ transaction, output\_index, optional redeem script, optional sequence ] where* transaction is the previously computed transaction object for this UTXO | ||
* output\_index is the output in the transaction used as input for this UTXO (counting from 0) | ||
* redeem script is the optional redeem script to use when consuming a Segregated Witness input | ||
@@ -239,9 +239,9 @@ * sequence is the sequence number to use for this input (when using RBF), or non present | ||
To obtain the signature of multisignature (P2SH) inputs, call signP2SHTransaction_async with the folowing parameters | ||
To obtain the signature of multisignature (P2SH) inputs, call signP2SHTransaction\_async with the folowing parameters | ||
##### Parameters | ||
* `arg` **[SignP2SHTransactionArg](#signp2shtransactionarg)** | ||
* `inputs` is an array of \[ transaction, output_index, redeem script, optional sequence ] where* transaction is the previously computed transaction object for this UTXO | ||
* output_index is the output in the transaction used as input for this UTXO (counting from 0) | ||
* `arg` **[SignP2SHTransactionArg](#signp2shtransactionarg)**  | ||
* `inputs` is an array of \[ transaction, output\_index, redeem script, optional sequence ] where* transaction is the previously computed transaction object for this UTXO | ||
* output\_index is the output in the transaction used as input for this UTXO (counting from 0) | ||
* redeem script is the mandatory redeem script associated to the current P2SH input | ||
@@ -272,3 +272,3 @@ * sequence is the sequence number to use for this input (when using RBF), or non present | ||
* `transactionHex` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** | ||
* `transactionHex` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**  | ||
* `isSegwitSupported` **([boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))** (optional, default `false`) | ||
@@ -285,3 +285,3 @@ * `hasTimestamp` (optional, default `false`) | ||
Returns **[Transaction](#transaction)** | ||
Returns **[Transaction](#transaction)**  | ||
@@ -292,3 +292,3 @@ #### serializeTransactionOutputs | ||
* `t` **[Transaction](#transaction)** | ||
* `t` **[Transaction](#transaction)**  | ||
@@ -302,3 +302,3 @@ ##### Examples | ||
Returns **[Buffer](https://nodejs.org/api/buffer.html)** | ||
Returns **[Buffer](https://nodejs.org/api/buffer.html)**  | ||
@@ -321,3 +321,3 @@ ### BtcNew | ||
* `` | ||
* ``   | ||
@@ -357,8 +357,8 @@ #### getWalletXpub | ||
* `$0` **{path: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), xpubVersion: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)}** | ||
* `$0` **{path: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), xpubVersion: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)}**  | ||
* `$0.path` | ||
* `$0.xpubVersion` | ||
* `$0.path`   | ||
* `$0.xpubVersion`   | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**  | ||
@@ -375,6 +375,6 @@ #### getWalletPublicKey | ||
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** | ||
* `opts` **{verify: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, format: [AddressFormat](#addressformat)?}?** | ||
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**  | ||
* `opts` **{verify: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, format: [AddressFormat](#addressformat)?}?**  | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{publicKey: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), bitcoinAddress: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), chainCode: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>** | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{publicKey: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), bitcoinAddress: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), chainCode: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**  | ||
@@ -392,5 +392,5 @@ #### createPaymentTransaction | ||
* `arg` **[CreateTransactionArg](#createtransactionarg)** | ||
* `arg` **[CreateTransactionArg](#createtransactionarg)**  | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**  | ||
@@ -405,8 +405,8 @@ #### signMessage | ||
* `$0` **{path: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), messageHex: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}** | ||
* `$0` **{path: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), messageHex: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}**  | ||
* `$0.path` | ||
* `$0.messageHex` | ||
* `$0.path`   | ||
* `$0.messageHex`   | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{v: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), r: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), s: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>** | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{v: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), r: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), s: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**  | ||
@@ -419,3 +419,3 @@ ### BtcOld | ||
* `` | ||
* ``   | ||
@@ -434,3 +434,3 @@ #### Examples | ||
* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a BIP 32 path | ||
* `opts` **{verify: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, format: [AddressFormat](#addressformat)?}?** | ||
* `opts` **{verify: [boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?, format: [AddressFormat](#addressformat)?}?**  | ||
* `options` an object with optional these fields:* verify (boolean) will ask user to confirm the address on the device | ||
@@ -453,3 +453,3 @@ | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{publicKey: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), bitcoinAddress: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), chainCode: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>** | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{publicKey: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), bitcoinAddress: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), chainCode: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>**  | ||
@@ -462,5 +462,5 @@ #### createPaymentTransaction | ||
* `arg` **[CreateTransactionArg](#createtransactionarg)** | ||
* `inputs` is an array of \[ transaction, output_index, optional redeem script, optional sequence ] where* transaction is the previously computed transaction object for this UTXO | ||
* output_index is the output in the transaction used as input for this UTXO (counting from 0) | ||
* `arg` **[CreateTransactionArg](#createtransactionarg)**  | ||
* `inputs` is an array of \[ transaction, output\_index, optional redeem script, optional sequence ] where* transaction is the previously computed transaction object for this UTXO | ||
* output\_index is the output in the transaction used as input for this UTXO (counting from 0) | ||
* redeem script is the optional redeem script to use when consuming a Segregated Witness input | ||
@@ -501,16 +501,16 @@ * sequence is the sequence number to use for this input (when using RBF), or non present | ||
* `inputs` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<\[[Transaction](#transaction), [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined)), ([number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))]>** | ||
* `associatedKeysets` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** | ||
* `changePath` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** | ||
* `outputScriptHex` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** | ||
* `lockTime` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?** | ||
* `sigHashType` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?** | ||
* `segwit` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** | ||
* `initialTimestamp` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?** | ||
* `additionals` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** | ||
* `expiryHeight` **[Buffer](https://nodejs.org/api/buffer.html)?** | ||
* `useTrustedInputForSegwit` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** | ||
* `onDeviceStreaming` **function (arg0: {progress: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), total: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), index: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)}): void?** | ||
* `onDeviceSignatureRequested` **function (): void?** | ||
* `onDeviceSignatureGranted` **function (): void?** | ||
* `inputs` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<\[[Transaction](#transaction), [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined)), ([number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))]>**  | ||
* `associatedKeysets` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**  | ||
* `changePath` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?**  | ||
* `outputScriptHex` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**  | ||
* `lockTime` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?**  | ||
* `sigHashType` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?**  | ||
* `segwit` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?**  | ||
* `initialTimestamp` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?**  | ||
* `additionals` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**  | ||
* `expiryHeight` **[Buffer](https://nodejs.org/api/buffer.html)?**  | ||
* `useTrustedInputForSegwit` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?**  | ||
* `onDeviceStreaming` **function (arg0: {progress: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), total: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), index: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)}): void?**  | ||
* `onDeviceSignatureRequested` **function (): void?**  | ||
* `onDeviceSignatureGranted` **function (): void?**  | ||
@@ -538,5 +538,5 @@ ### AddressFormat | ||
* `pubkeys` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Buffer](https://nodejs.org/api/buffer.html)>** | ||
* `pubkeys` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Buffer](https://nodejs.org/api/buffer.html)>**  | ||
Returns **SpendingCondition** | ||
Returns **SpendingCondition**  | ||
@@ -556,3 +556,3 @@ #### setInput | ||
Returns **void** | ||
Returns **void**  | ||
@@ -572,3 +572,3 @@ #### setOwnOutput | ||
Returns **void** | ||
Returns **void**  | ||
@@ -582,3 +582,3 @@ #### getDescriptorTemplate | ||
Returns **DefaultDescriptorTemplate** | ||
Returns **DefaultDescriptorTemplate**  | ||
@@ -613,3 +613,3 @@ ### SingleKeyAccount | ||
* `transport` **Transport** | ||
* `transport` **Transport**  | ||
@@ -634,3 +634,3 @@ ### ClientCommandInterpreter | ||
* `progressCallback` **function (): void** | ||
* `progressCallback` **function (): void**  | ||
@@ -653,3 +653,3 @@ ### MerkelizedPsbt | ||
* `psbt` **[PsbtV2](#psbtv2)** | ||
* `psbt` **[PsbtV2](#psbtv2)**  | ||
@@ -664,3 +664,3 @@ ### Merkle | ||
* `leaves` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Buffer](https://nodejs.org/api/buffer.html)>** | ||
* `leaves` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Buffer](https://nodejs.org/api/buffer.html)>**  | ||
* `hasher` **function (buf: [Buffer](https://nodejs.org/api/buffer.html)): [Buffer](https://nodejs.org/api/buffer.html)** (optional, default `crypto.sha256`) | ||
@@ -695,4 +695,4 @@ | ||
* `descriptorTemplate` **DefaultDescriptorTemplate** | ||
* `key` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** | ||
* `descriptorTemplate` **DefaultDescriptorTemplate**  | ||
* `key` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**  | ||
@@ -708,5 +708,5 @@ ### extract | ||
* `psbt` **[PsbtV2](#psbtv2)** | ||
* `psbt` **[PsbtV2](#psbtv2)**  | ||
Returns **[Buffer](https://nodejs.org/api/buffer.html)** | ||
Returns **[Buffer](https://nodejs.org/api/buffer.html)**  | ||
@@ -728,5 +728,5 @@ ### finalize | ||
* `psbt` **[PsbtV2](#psbtv2)** The psbt with all signatures added as partial sigs, either | ||
through PSBT_IN_PARTIAL_SIG or PSBT_IN_TAP_KEY_SIG | ||
through PSBT\_IN\_PARTIAL\_SIG or PSBT\_IN\_TAP\_KEY\_SIG | ||
Returns **void** | ||
Returns **void**  | ||
@@ -738,3 +738,3 @@ ### clearFinalizedInput | ||
Note, the spec doesn't say anything about removing ouput fields | ||
like PSBT_OUT_BIP32\_DERIVATION_PATH and others, so we keep them | ||
like PSBT\_OUT\_BIP32\_DERIVATION\_PATH and others, so we keep them | ||
without actually knowing why. I think we should remove them too. | ||
@@ -744,4 +744,4 @@ | ||
* `psbt` **[PsbtV2](#psbtv2)** | ||
* `inputIndex` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** | ||
* `psbt` **[PsbtV2](#psbtv2)**  | ||
* `inputIndex` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)**  | ||
@@ -782,5 +782,5 @@ ### writePush | ||
* `$0` **[Transaction](#transaction)** | ||
* `$0` **[Transaction](#transaction)**  | ||
* `$0.outputs` | ||
* `$0.outputs`   | ||
@@ -794,3 +794,3 @@ #### Examples | ||
Returns **[Buffer](https://nodejs.org/api/buffer.html)** | ||
Returns **[Buffer](https://nodejs.org/api/buffer.html)**  | ||
@@ -803,9 +803,9 @@ ### SignP2SHTransactionArg | ||
* `inputs` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<\[[Transaction](#transaction), [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined)), ([number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))]>** | ||
* `associatedKeysets` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** | ||
* `outputScriptHex` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** | ||
* `lockTime` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?** | ||
* `sigHashType` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?** | ||
* `segwit` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** | ||
* `transactionVersion` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?** | ||
* `inputs` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<\[[Transaction](#transaction), [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined)), ([number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number) | null | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))]>**  | ||
* `associatedKeysets` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>**  | ||
* `outputScriptHex` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**  | ||
* `lockTime` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?**  | ||
* `sigHashType` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?**  | ||
* `segwit` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?**  | ||
* `transactionVersion` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?**  | ||
@@ -812,0 +812,0 @@ ### TransactionInput |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1044135