Skip to content

Releases: MetaMask/key-tree

10.1.1

24 Mar 16:57
e89af7d

Choose a tag to compare

Changed

  • Further optimise performance of getting public keys (#218)
  • Tweak precompute window size for secp256k1 (#217)
    • This can improve performance on some devices.

10.1.0

07 Mar 13:06
ce817c8

Choose a tag to compare

Added

  • Add fromSeed function to SLIP10Node, BIP44Node, BIP44CoinTypeNode (#212)
    • This is only supported for secp256k1 and ed25519 at the moment.

Changed

  • Optimise performance of getting public keys (#213)
    • Public keys are now re-used when possible, or lazily computed otherwise.
  • Tweak precompute window size for ed25519 (#209)
    • This can improve performance on some devices.

10.0.2

17 Dec 10:52
ceaa570

Choose a tag to compare

Changed

  • Bump @metamask/utils from ^10.0.1 to ^11.0.1 (#205)

10.0.1

27 Nov 10:02
2f91bdd

Choose a tag to compare

Fixed

  • Export CryptographicFunctions type (#202)

10.0.0

26 Nov 14:04
e1a4262

Choose a tag to compare

Added

  • Add network property to SLIP10Node, BIP44Node, and BIP44CoinTypeNode (#200)
    • The network property is only used to determine which BIP-32 extended key version to use.
    • For backwards compatibility, the property is optional, and defaults to mainnet.
  • Add option for custom cryptographic functions (#197)
    • It's now possible to specify custom functions (hmacSha512 and pbkdf2Sha512) to improve performance.
  • Add extendedKey property to SLIP10Node (#196)
    • This property can only be accessed on SLIP10Nodes using secp256k1.

Changed

  • BREAKING: Bump minimum Node version to 18.20 (#198)
  • Use WebCrypto API if available (#197)
  • Bump @metamask/utils from 9.0.0 to 9.3.0 (#191)

9.1.2

09 Jul 21:22
38dd0de

Choose a tag to compare

Changed

  • Bump @metamask/utils from ^8.3.0 to ^9.0.0 (#181)

9.1.1

21 May 15:58
ba27860

Choose a tag to compare

Fixed

  • Fix ESM imports (#177)

9.1.0

15 May 11:41
9b9a98f

Choose a tag to compare

Added

  • Add support for Cardano key derivation according to CIP3-Icarus (#158, #170, #171, #172)
  • Export getBIP44CoinTypeToAddressPathTuple function (#173)

Changed

  • Replace @noble/ed25519 and @noble/secp256k1 with @noble/curves (#154)
  • Bump several MetaMask dependencies (#151, #165, #167)

9.0.0

14 Jul 12:18
c81212b

Choose a tag to compare

Changed

  • BREAKING: Disallow importing from ./dist paths (#147)
  • Export mnemonicPhraseToBytes and createBip39KeyFromSeed (#149)

Fixed

  • Add support for Node.js with ESM (#147)
  • Remove postinstall script (#146)
    • This caused installation to fail.

8.0.0

12 Jul 10:11
8b04a9b

Choose a tag to compare

Changed

  • BREAKING: Build the package as both CJS and ESM (#140)
    • Distribution files have been moved from dist to dist/cjs (and dist/esm). If you are explicitly importing from dist, you have to update the import.
  • Bump @metamask/utils to 6.2.0 (#140)