bitcoinjs-lib
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -0,1 +1,5 @@ | ||
# 5.1.1 | ||
__changed__ | ||
- Name inconsistencies for Psbt class. (Quick fix) | ||
# 5.1.0 | ||
@@ -2,0 +6,0 @@ __added__ |
{ | ||
"name": "bitcoinjs-lib", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "Client-side Bitcoin JavaScript library", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -45,3 +45,3 @@ 'use strict'; | ||
* Also, check the integration tests for some examples of usage. | ||
* Signer: There are a few methods. signAllInputs and signAsync, which will search all input | ||
* Signer: There are a few methods. signAllInputs and signAllInputsAsync, which will search all input | ||
* information for your pubkey or pubkeyhash, and only sign inputs where it finds | ||
@@ -299,3 +299,3 @@ * your info. Or you can explicitly sign a specific input with signInput and | ||
} | ||
signHDAsync( | ||
signAllInputsHDAsync( | ||
hdKeyPair, | ||
@@ -385,3 +385,6 @@ sighashTypes = [transaction_1.Transaction.SIGHASH_ALL], | ||
} | ||
signAsync(keyPair, sighashTypes = [transaction_1.Transaction.SIGHASH_ALL]) { | ||
signAllInputsAsync( | ||
keyPair, | ||
sighashTypes = [transaction_1.Transaction.SIGHASH_ALL], | ||
) { | ||
return new Promise((resolve, reject) => { | ||
@@ -388,0 +391,0 @@ if (!keyPair || !keyPair.publicKey) |
@@ -22,3 +22,3 @@ /// <reference types="node" /> | ||
* Also, check the integration tests for some examples of usage. | ||
* Signer: There are a few methods. signAllInputs and signAsync, which will search all input | ||
* Signer: There are a few methods. signAllInputs and signAllInputsAsync, which will search all input | ||
* information for your pubkey or pubkeyhash, and only sign inputs where it finds | ||
@@ -66,7 +66,7 @@ * your info. Or you can explicitly sign a specific input with signInput and | ||
signAllInputsHD(hdKeyPair: HDSigner, sighashTypes?: number[]): this; | ||
signHDAsync(hdKeyPair: HDSigner | HDSignerAsync, sighashTypes?: number[]): Promise<void>; | ||
signAllInputsHDAsync(hdKeyPair: HDSigner | HDSignerAsync, sighashTypes?: number[]): Promise<void>; | ||
signInputHD(inputIndex: number, hdKeyPair: HDSigner, sighashTypes?: number[]): this; | ||
signInputHDAsync(inputIndex: number, hdKeyPair: HDSigner | HDSignerAsync, sighashTypes?: number[]): Promise<void>; | ||
signAllInputs(keyPair: Signer, sighashTypes?: number[]): this; | ||
signAsync(keyPair: Signer | SignerAsync, sighashTypes?: number[]): Promise<void>; | ||
signAllInputsAsync(keyPair: Signer | SignerAsync, sighashTypes?: number[]): Promise<void>; | ||
signInput(inputIndex: number, keyPair: Signer, sighashTypes?: number[]): this; | ||
@@ -73,0 +73,0 @@ signInputAsync(inputIndex: number, keyPair: Signer | SignerAsync, sighashTypes?: number[]): Promise<void>; |
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
210623
5517