Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 4.21 KB

File metadata and controls

77 lines (53 loc) · 4.21 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Changed

  • Bump @metamask/keyring-api from ^23.0.1 to ^23.1.0 (#538)
  • Bump @metamask/eth-hd-keyring from ^14.1.0 to ^14.1.1 (#538)

Changed

  • Bump @metamask/eth-hd-keyring from ^14.0.1 to ^14.1.0 (#535)

Changed

  • Bump @metamask/eth-hd-keyring from ^14.0.0 to ^14.0.1 (#518)
  • Bump @metamask/keyring-api from ^23.0.0 to ^23.0.1 (#518)

Changed

  • Bump @metamask/utils from ^11.10.0 to ^11.11.0 (#483)
  • Bump @metamask/eth-hd-keyring from ^13.1.0 to ^13.1.1 (#509)
  • Bump @metamask/eth-hd-keyring from ^13.1.1 to ^14.0.0 (#515)
  • Bump @metamask/keyring-api from ^22.0.0 to ^23.0.0 (#515)

Added

  • Support custom cryptographic functions (#491)
    • Those functions are forwarded to the inner HdKeyring.

Changed

  • BREAKING: Replace inheritance with composition; MoneyKeyring now wraps an inner HdKeyring instead of extending it (#484), (#492), (#488)
    • Constructor now requires a MoneyKeyringOptions object with a getMnemonic callback. The entropySource is set by deserialize() from the serialized state.
    • The inner HdKeyring is created on the first signing call (lazily), protected by a mutex to ensure single initialization under concurrency.
    • Serialized state now stores entropySource instead of mnemonic; the mnemonic is resolved at deserialization time via the callback.
    • Serialized state now stores account (the derived address) instead of numberOfAccounts; the account is restored directly from state without calling getMnemonic.
    • hdPath is no longer part of the serialized state; it is always MONEY_DERIVATION_PATH.
    • signMessage, getEncryptionPublicKey, decryptMessage, exportAccount, and getAppKeyAddress are no longer exposed.
    • removeAccount() has been removed; accounts are permanent once added.
    • getAccounts() is now a cheap synchronous-like read that never triggers getMnemonic.
    • New exports: GetMnemonicCallback, MoneyKeyringOptions types.
    • New dependency: @metamask/keyring-utils (for Keyring interface).
    • New dependency: async-mutex.

1.0.0 - 2026-04-01 [DEPRECATED]

Added

  • Add initial implementation of MoneyKeyring (#472), (#474)
    • Extends HdKeyring from @metamask/eth-hd-keyring.
    • Uses keyring type "Money Keyring".
    • Uses derivation path "m/44'/4392018'/0'/0".
    • Enforces that at most one Money account can exist.