Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

5.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Dec 18:05
· 29 commits to main since this release
5f9e4c3

Changed

  • BREAKING: Update minimum Node.js version from v12 to v14 (#67)
  • BREAKING: Makes version-specific signTypedData methods private (#71)
    • Consumers should use the generic signTypedData method and pass the version they'd like as a property in the options argument.
  • BREAKING: Makes the wallets property private (#71)
    • Consumers should not use this property as it is intended for internal use only.
  • BREAKING: Makes getPrivateKeyFor a private method (#71)
    • Consumers who wish to get the private key for a given account should use the exportAccount method.
  • BREAKING: Bumps browser requirements to those with ES2020 support or greater (#70)
    • This change is introduced in update of @metamask/eth-sig-util to v5 and new direct dependency on ethereumjs/util v8.0.2
  • Replaces use of ethereumjs-wallet implementation of hdkey with one from ethereum-cryptography and adapts accordingly. (#69)
  • Replaces @metamask/bip39 with @metamask/scure-bip39 (#67)

Removed

  • BREAKING: Remove redundant newGethSignMessage method (#71)
    • Consumers can use signPersonalMessage method as a replacement for newGethSignMessage.
  • BREAKING: HDKeyring no longer extends EventEmitter, so no EventEmitter methods are available on this class (#70)
  • Removes ethereumjs-util dependency. (#67)