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

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 Versions

13
9

6.0.1

Diff

Changelog

Source

6.0.1

  • No changes to public API
junderw
published 6.0.0 •

Changelog

Source

6.0.0

removed

  • bip32: Removed the re-export. Please add as dependency to your app instead.
  • ECPair: Please use bip32 moving forward. ecpair package was created for those who need it.
  • TransactionBuilder: Any internal files used only in TB (classify, templates, etc.) were also removed.

added

  • taproot segwit v1 address support (bech32m) via address module (#1676)
  • hashForWitnessV1 method on Transaction class (#1745)

fixed

  • Transaction version read/write differed. (#1717)
junderw
published 5.2.0 •

Changelog

Source

5.2.0

changed

  • Updated PSBT to allow for witnessUtxo and nonWitnessUtxo simultaneously (Re: segwit psbt bug) (#1563)

added

  • PSBT methods getInputType, inputHasPubkey, inputHasHDKey, outputHasPubkey, outputHasHDKey (#1563)
junderw
published 5.1.10 •

Changelog

Source

5.1.10

fixed

  • Fixed psbt.signInputAsync (and consequentially all Async signing methods) not handling rejection of keypair.sign properly (#1582)
junderw
published 5.1.9 •

Changelog

Source

5.1.9

fixed

  • Fixed errors for psbt.txOutputs getter (#1578)
junderw
published 5.1.8 •

Changelog

Source

5.1.8

fixed

  • Throw errors when p2wsh or p2wpkh contain uncompressed pubkeys (#1573)

added

  • Add txInputs and txOutputs for Psbt (#1561)

changed

  • (Not exposed) Added BufferWriter to help ease maintenance of certain forks of this library (#1533)
junderw
published 5.1.7 •

Changelog

Source

5.1.7

fixed

  • Fixed Transaction class Output interface typing for TypeScript (#1506)
  • Add weight() to Block class, add optional includeWitness arg to Transaction byteLength method (#1515)
  • Match the old TransactionBuilder behavior of allowing for multiple instances of the same pubkey to be in a p2ms script for PSBT (#1519)

added

  • Allow the API consumer to pass in the finalizer functions to allow for any type of transaction to be finalized. It places the most crucial part of transaction construction on the consumer, and should be used with caution. (#1491)
junderw
published 5.1.6 •

Changelog

Source

5.1.6

fixed

  • PsbtOutputExtended did not support using the address attribute properly. It is now fixed.
junderw
published 5.1.5 •

Changelog

Source

5.1.5

added

  • Psbt now has getFee(): number for use when all inputs are finalized. It returns the satoshi fee of the transaction. Calling getFee, getFeeRate, or extractTransaction will cache these values so if you call one after the other, the second call will return immediately.
junderw
published 5.1.4 •

Changelog

Source

5.1.4

changed

  • Psbt inputs using segwit scripts can now work with nonWitnessUtxo as well as the original witnessUtxo. The reasoning for this is that nonWitnessUtxo has all the information contained in the witnessUtxo, so rejecting signing even though we have all the info we need is unnecessary. Trying to sign a non-segwit script with a witnessUtxo will still throw an Error as it should.
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