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.
- Drop support for Node.js v18 and v20; minimum version is now v22 (#593)
- Add
resolveAccountAddressto v2KeyringClient(#585)
- Bump
@metamask/superstructfrom^3.1.0to^3.3.0(#580) - Bump
@metamask/keyring-apifrom^23.4.0to^23.5.0(#587)
- Implements
KeyringSnapRpc(v2) inKeyringClient(v2) (#582)- Exposes all core v2 keyring methods plus optional snap-specific ones:
setSelectedAccounts,getAccountTransactions,getAccountAssets, andgetAccountBalances.
- Exposes all core v2 keyring methods plus optional snap-specific ones:
- Bump
@metamask/keyring-utilsfrom^3.2.0to^3.3.1(#544, #546) - Bump
@metamask/keyring-apifrom^23.1.0to^23.4.0(#562, #569, #583)
- Bump
@metamask/keyring-apifrom^23.0.1to^23.1.0(#538)
- Bump
@metamask/keyring-apifrom^23.0.0to^23.0.1(#518)
- Workaround Browserify subpath export for
/v2(#516)
- Add
KeyringClientV2class implementing the keyring v2 RPC client (#408)
- BREAKING: Move and rename
KeyringClientV2to the new./v2subpath export (#513)KeyringClientV2is nowKeyringClientfrom@metamask/keyring-snap-client/v2.
- Bump
@metamask/utilsfrom^11.1.0to^11.11.0(#489, #483) - Bump
@metamask/keyring-apifrom^22.0.0to^23.0.0(#515)
- Bump
@metamask/keyring-apifrom^21.6.0to^22.0.0(#482)
- Add
KeyringClient.createAccountsmethod (#448)- This method can be used to create one or more accounts using the new keyring v2 account creation typed options.
- Bump
@metamask/keyring-apifrom^21.2.0to^21.4.0(#460)
- Bump
@metamask/keyring-apifrom^21.1.0to^21.2.0(#395)
- Add
KeyringClient.setSelectedAccountsmethod (#387)- This method can be invoked by the MetaMask client to inform which accounts are now selected for this Snap.
- Bump
@metamask/keyring-apifrom^21.0.0to^21.1.0(#388)
- BREAKING: Bump
@metamask/keyring-apifrom^19.0.0to^20.0.0(#347)- Add generic account type.
- BREAKING: Bump
@metamask/keyring-apifrom^18.0.0to^19.0.0(#317)- The
KeyringAccount.optionsfield is now partially typed.
- The
- Add
KeyringPublicClient(#273)- This is the new public version of a
KeyringClientthat can be used by companion dapp. - The
submitRequestmethod is not available for this client.
- This is the new public version of a
- BREAKING:
KeyringSnapRpcClientnow extendsKeyringPublicClientinstead ofKeyringClient- The
submitRequestmethod is not available for this client.
- The
- Bump
@metamask/keyring-apifrom^17.4.0to^18.0.0(#277, #288, #291)
- Add
discoverAccountskeyring method (#266)
- Bump
@metamask/keyring-apifrom^17.0.0to^17.2.0(#212, #220) - Use
ts-bridge/cli@0.6.3(#214)- This new version fixes a bug regarding some missing exports.
- BREAKING: Use
CaipAccountIdforResolvedAccountAddress.address(#186)- This was missing from SIP-26, but we expect this address to be CAIP-10 compliant.
- BREAKING: Bump
@metamask/providerspeer dependency from^18.3.1to^19.0.0(#177) - Bump
@metamask/keyring-apifrom^16.1.0to^17.0.0(#192)
- Bump
@metamask/keyring-apifrom^16.0.0to^16.1.0(#176)
- Bump
@metamask/keyring-apifrom^15.0.0to^16.0.0(#172) - Bump
@metamask/utilsfrom^11.0.1to^11.1.0(#167)
- Bump
@metamask/keyring-apifrom^14.0.0to^15.0.0(#160)
- Add
listAccountAssetskeyring method (#148)
- BREAKING: Bump
@metamask/keyring-apifrom^13.0.0to^14.0.0(#155)- The
CaipAssetTypeis now more restrictive which affects the existinggetAccountBalancesmethod.
- The
- BREAKING: Bump
@metamask/keyring-apifrom^12.0.0to^13.0.0(#101)- This change was not properly reported as breaking on the
1.1.0. KeyringAccounthas a new required field (scopes) and is part of the public API.
- This change was not properly reported as breaking on the
- Bump
@metamask/keyring-apifrom^12.0.0to^13.0.0(#101)