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

bitcoinjs-lib

Package Overview
Dependencies
Maintainers
4
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcoinjs-lib - npm Package Versions

1
9

5.0.0

Diff

Changelog

Source

5.0.0

added

  • TypeScript support (#1319)
  • Block.prototype.checkTxRoots will check the merkleRoot and witnessCommit if it exists against the transactions array. (e52abec) (0426c66)

changed

  • Transaction.prototype.getHash now has forWitness?: boolean which when true returns the hash for wtxid (a652d04)
  • Block.calculateMerkleRoot now has forWitness?: boolean which when true returns the witness commit (a652d04)

removed

  • Block.prototype.checkMerkleRoot was removed, please use checkTxRoots (0426c66)
junderw
published 4.0.4 •

Changelog

Source

4.0.4

fixed

  • Fixed bug where Electron v4 breaks due to lack of 'rmd160' alias for ripemd160 hash. (#1373)
junderw
published 4.0.3 •

Changelog

Source

4.0.3

fixed

  • Fixed TransactionBuilder to require that the Transaction has outputs before signing (#1151)
  • Fixed payments.p2sh, which now takes the network from the redeem attribute if one is not given in the object argument (#1232)
  • Fixed Block.calculateTarget to allow for exponents up to 29 (#1285)
  • Fixed some low priority rarely occurring bugs with multisig payments and TransactionBuilder multisig processing (#1307)

added

  • Regtest network object to networks (#1261)
dcousens
published 4.0.2 •

Changelog

Source

4.0.2

fixed

  • Fixed TransactionBuilder not throwing when payment type validation should fail (#1195)

removed

  • Removed rogue package.json from src/payments (#1216)
dcousens
published 4.0.1 •

Changelog

Source

4.0.1

fixed

  • Fixed tiny-secp256k1 dependency version (used ecurve) (#1139)
  • Fixed TransactionBuilder throwing when trying to sign P2WSH(P2WPKH) (#1135)
dcousens
published 3.3.2 •

Changelog

Source

3.3.2

fixed

  • Fixed decodeStack arbitrarily supporting non-Array arguments (#942)
dcousens
published 3.3.1 •

Changelog

Source

3.3.1

changed

  • Increased the TransactionBuilder maximumFeeRate from 1000 to 2500 satoshis/byte. (#931)
dcousens
published 3.3.0 •

Changelog

Source

3.3.0

added

  • Added ECSignature.prototype.toRSBuffer/ECSignature.fromRSBuffer (#915)
  • Added support to TransactionBuilder for 64-byte signatures via .sign (#915)
  • Added support to TransactionBuilder for the .publicKey standard as an alternative to .getPublicKey() (#915)
dcousens
published 3.2.1 •

Changelog

Source

3.2.1

fixed

  • Fixed script.scripthash.input.check recursion (#898)
  • Fixed TransactionBuilder sometimes ignoring witness value (#901)
  • Fixed script.witnessScriptHash.input implementation (previously used the P2SH impl.) (#911)
dcousens
published 3.2.0 •

Changelog

Source

3.2.0

added

  • Added address.fromBech32/toBech32 (#846)
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