Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 915 Bytes

CHANGELOG.md

File metadata and controls

36 lines (29 loc) · 915 Bytes

3.0.0

  • Rewritten source to Typescript
  • Accept ecc library as an argument
  • Use @noble/hashes and @scure/base
  • Use Uint8Array instead of Buffer

2.2.0

added

  • Signer and SignerAsync interfaces
  • sign functions can accept Signer | SignerAsync interfaces in place of privateKey
  • Added an async signAsync function (needed if you use SignerAsync interface) that returns a promise.

2.1.4

fixed

  • Fixed TypeScript types

2.1.3

added

  • TypeScript types

2.1.2

added

  • Support for Segwit signatures compatible with Electrum. (See README)

2.1.1

fixed

  • Fix UTF8 handling of message.

2.1.0

added

  • Segwit support for P2WPKH and P2SH-P2WPKH addresses. This is based on Trezor implementation.

2.0.0

breaking

  • messagePrefix is now the last parameter for the sign, verify and magicHash functions
  • messagePrefix is now defaulted to the Bitcoin network message prefix