🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@metamask/key-tree

Package Overview
Dependencies
Maintainers
9
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/key-tree - npm Package Versions

13

7.1.1

Diff
metamaskbot
published 7.1.1 •

Changelog

Source

[7.1.1]

Fixed

  • Fix isValidBIP32PathSegment to correctly check if BIP-32 path segment is <= 2^31-1 (#134)
metamaskbot
published 7.1.0 •

Changelog

Source

[7.1.0]

Added

  • Add isValidBIP32PathSegment function (#131)

Changed

  • Bump @metamask/utils to 6.0.1 (#132)
metamaskbot
published 7.0.0 •

Changelog

Source

[7.0.0]

Added

  • BREAKING: Add SLIP-10 (slip10:) path type (#124)
    • bip32: can no longer be used to derive ed25519 keys

Changed

  • Handle errors when resulting public or private key is invalid (#120)
    • Rather than throwing an error, a new key will be derived instead, as per the SLIP-10 or BIP-32 specification
  • Improve extended key validation (#121)
  • Validate that master private key and seed are within bounds (#118)
  • Allow zero private key for ed25519 (#122)
    • Previously a zero private key 0x000..000 would be rejected when using ed25519, but all private keys are valid for ed25519
metamaskbot
published 6.2.1 •

Changelog

Source

[6.2.1]

Fixed

  • Add missing curve parameter (#110)
    • This fixes a bug introduced in 6.2.0, when using the ed25519 curve.
metamaskbot
published 6.2.0 •

Changelog

Source

[6.2.0]

Added

  • Accept BIP-39 secret recovery phrase as Uint8Array (#107)
    • Secret recovery phrases are now accepted both as a string in the bip39:... format, and as Uint8Array in the format used by @metamask/scure-bip39, in all functions that accept secret recovery phrases.
metamaskbot
published 6.1.0 •

Changelog

Source

[6.1.0]

Changed

  • Update BIP-39 implementation from @scure/bip39 to MetaMask fork version @metamask/scure-bip39 (#101)
    • The @metamask/scure-bip39 fork accepts secret recovery phrases in Uint8Array format making it possible to use more secure patterns of passing secret recovery phrases around. This change is non-breaking however, as the mnemonicToSeed function used in this package still accepts secret recovery phrases in string format.
metamaskbot
published 6.0.0 •

Changelog

Source

[6.0.0]

Changed

  • BREAKING: Rename all occurrences of Buffer with Bytes or Uint8Array (#84)
    • All [...]Buffer fields have been replaced with [...]Bytes, e.g., BIP44Node.privateKeyBuffer is now BIP44Node.privateKeyBytes.
    • This change does not affect the string fields, like BIP44Node.privateKey.
  • BREAKING: Swap out Buffer with browser-compatible Uint8Array (#83)
    • All functions returning Buffers now return Uint8Arrays instead.
  • Bump @metamask/utils to 3.3.0 (#85)
gudahtt
published 5.0.2 •

Changelog

Source

[5.0.2]

Fixed

  • Export Buffer from buffer package explicitly (#76)
  • Fix fingerprint derivation (#78)
rekmarks
published 5.0.1 •

Changelog

Source

[5.0.1]

Fixed

  • Replace postinstall script with Yarn plugin (#74)
rekmarks
published 5.0.0 •

Changelog

Source

[5.0.0]

Added

  • Add convenience field for getting the compressed public key (#71)
  • Add master fingerprint field to SLIP10Node (#68)

Changed

  • BREAKING: Bump minimum Node version to 16 and migrate to Yarn 3 (#70)
  • Allow a depth larger than 5 for SLIP-10 nodes (#69)