Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@bitgo/bitcoinjs-lib

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitgo/bitcoinjs-lib - npm Package Compare versions

Comparing version 7.0.0-rc.3 to 7.0.0-rc.5

2

package.json
{
"name": "@bitgo/bitcoinjs-lib",
"version": "7.0.0-rc.3",
"version": "7.0.0-rc.5",
"description": "Client-side Bitcoin JavaScript library",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

@@ -59,2 +59,3 @@ /// <reference types="node" />

static fromBuffer(buffer: Buffer, opts?: PsbtOptsOptional): Psbt;
protected static transactionFromBuffer(buffer: Buffer, _network: Network): Transaction<bigint>;
private __CACHE;

@@ -61,0 +62,0 @@ private opts;

@@ -81,2 +81,4 @@ 'use strict';

__UNSAFE_SIGN_NONSEGWIT: false,
__TX_FROM_BUFFER: buf =>
this.constructor.transactionFromBuffer(buf, this.opts.network),
};

@@ -107,2 +109,5 @@ if (this.data.inputs.length === 0) this.setVersion(2);

}
static transactionFromBuffer(buffer, _network) {
return transaction_1.Transaction.fromBuffer(buffer, undefined, 'bigint');
}
get inputCount() {

@@ -1224,7 +1229,3 @@ return this.data.inputs.length;

cache.__NON_WITNESS_UTXO_BUF_CACHE[inputIndex] = input.nonWitnessUtxo;
const tx = transaction_1.Transaction.fromBuffer(
input.nonWitnessUtxo,
undefined,
'bigint',
);
const tx = cache.__TX_FROM_BUFFER(input.nonWitnessUtxo);
cache.__NON_WITNESS_UTXO_TX_CACHE[inputIndex] = tx;

@@ -1231,0 +1232,0 @@ const self = cache;

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