Socket
Socket
Sign inDemoInstall

bitcoinjs-lib

Package Overview
Dependencies
Maintainers
3
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcoinjs-lib - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 5.1.1
__changed__
- Name inconsistencies for Psbt class. (Quick fix)
# 5.1.0

@@ -2,0 +6,0 @@ __added__

2

package.json
{
"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>;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc