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.
- Bump
@metamask/keyring-apifrom^23.0.1to^23.1.0(#538) - Bump
@metamask/eth-hd-keyringfrom^14.1.0to^14.1.1(#538)
- Bump
@metamask/eth-hd-keyringfrom^14.0.1to^14.1.0(#535)
- Bump
@metamask/eth-hd-keyringfrom^14.0.0to^14.0.1(#518) - Bump
@metamask/keyring-apifrom^23.0.0to^23.0.1(#518)
- Bump
@metamask/utilsfrom^11.10.0to^11.11.0(#483) - Bump
@metamask/eth-hd-keyringfrom^13.1.0to^13.1.1(#509) - Bump
@metamask/eth-hd-keyringfrom^13.1.1to^14.0.0(#515) - Bump
@metamask/keyring-apifrom^22.0.0to^23.0.0(#515)
- Support custom cryptographic functions (#491)
- Those functions are forwarded to the inner
HdKeyring.
- Those functions are forwarded to the inner
- BREAKING: Replace inheritance with composition;
MoneyKeyringnow wraps an innerHdKeyringinstead of extending it (#484), (#492), (#488)- Constructor now requires a
MoneyKeyringOptionsobject with agetMnemoniccallback. TheentropySourceis set bydeserialize()from the serialized state. - The inner
HdKeyringis created on the first signing call (lazily), protected by a mutex to ensure single initialization under concurrency. - Serialized state now stores
entropySourceinstead ofmnemonic; the mnemonic is resolved at deserialization time via the callback. - Serialized state now stores
account(the derived address) instead ofnumberOfAccounts; the account is restored directly from state without callinggetMnemonic. hdPathis no longer part of the serialized state; it is alwaysMONEY_DERIVATION_PATH.signMessage,getEncryptionPublicKey,decryptMessage,exportAccount, andgetAppKeyAddressare no longer exposed.removeAccount()has been removed; accounts are permanent once added.getAccounts()is now a cheap synchronous-like read that never triggersgetMnemonic.- New exports:
GetMnemonicCallback,MoneyKeyringOptionstypes. - New dependency:
@metamask/keyring-utils(forKeyringinterface). - New dependency:
async-mutex.
- Constructor now requires a