Skip to content

Latest commit

 

History

History
236 lines (143 loc) · 10.4 KB

File metadata and controls

236 lines (143 loc) · 10.4 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

  • Drop support for Node.js v18 and v20; minimum version is now v22 (#593)

Added

  • Add resolveAccountAddress to v2 KeyringClient (#585)

Changed

  • Bump @metamask/superstruct from ^3.1.0 to ^3.3.0 (#580)
  • Bump @metamask/keyring-api from ^23.4.0 to ^23.5.0 (#587)

Added

  • Implements KeyringSnapRpc (v2) in KeyringClient (v2) (#582)
    • Exposes all core v2 keyring methods plus optional snap-specific ones: setSelectedAccounts, getAccountTransactions, getAccountAssets, and getAccountBalances.

Changed

  • Bump @metamask/keyring-utils from ^3.2.0 to ^3.3.1 (#544, #546)
  • Bump @metamask/keyring-api from ^23.1.0 to ^23.4.0 (#562, #569, #583)

Changed

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

Changed

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

Fixed

  • Workaround Browserify subpath export for /v2 (#516)

Added

  • Add KeyringClientV2 class implementing the keyring v2 RPC client (#408)

Changed

  • BREAKING: Move and rename KeyringClientV2 to the new ./v2 subpath export (#513)
    • KeyringClientV2 is now KeyringClient from @metamask/keyring-snap-client/v2.
  • Bump @metamask/utils from ^11.1.0 to ^11.11.0 (#489, #483)
  • Bump @metamask/keyring-api from ^22.0.0 to ^23.0.0 (#515)

Changed

  • Bump @metamask/keyring-api from ^21.6.0 to ^22.0.0 (#482)

Added

  • Add KeyringClient.createAccounts method (#448)
    • This method can be used to create one or more accounts using the new keyring v2 account creation typed options.

Changed

  • Bump @metamask/keyring-api from ^21.2.0 to ^21.4.0 (#460)

Changed

  • Bump @metamask/keyring-api from ^21.1.0 to ^21.2.0 (#395)

Added

  • Add KeyringClient.setSelectedAccounts method (#387)
    • This method can be invoked by the MetaMask client to inform which accounts are now selected for this Snap.

Changed

  • Bump @metamask/keyring-api from ^21.0.0 to ^21.1.0 (#388)

Changed

  • BREAKING: Bump @metamask/keyring-api from ^20.0.0 to ^21.0.0 (#355, #356)

Changed

  • BREAKING: Bump @metamask/keyring-api from ^19.0.0 to ^20.0.0 (#347)
    • Add generic account type.

Changed

  • BREAKING: Bump @metamask/keyring-api from ^18.0.0 to ^19.0.0 (#317)
    • The KeyringAccount.options field is now partially typed.

Added

  • Add KeyringPublicClient (#273)
    • This is the new public version of a KeyringClient that can be used by companion dapp.
    • The submitRequest method is not available for this client.

Changed

  • BREAKING: KeyringSnapRpcClient now extends KeyringPublicClient instead of KeyringClient
    • The submitRequest method is not available for this client.
  • Bump @metamask/keyring-api from ^17.4.0 to ^18.0.0 (#277, #288, #291)

Added

  • Add discoverAccounts keyring method (#266)

Changed

  • Bump @metamask/keyring-api from ^17.2.0 to ^17.4.0 (#263, #269)

Changed

  • Bump @metamask/keyring-api from ^17.0.0 to ^17.2.0 (#212, #220)
  • Use ts-bridge/cli@0.6.3 (#214)
    • This new version fixes a bug regarding some missing exports.

Changed

  • BREAKING: Use CaipAccountId for ResolvedAccountAddress.address (#186)
    • This was missing from SIP-26, but we expect this address to be CAIP-10 compliant.
  • BREAKING: Bump @metamask/providers peer dependency from ^18.3.1 to ^19.0.0 (#177)
  • Bump @metamask/keyring-api from ^16.1.0 to ^17.0.0 (#192)

Changed

  • Bump @metamask/keyring-api from ^16.0.0 to ^16.1.0 (#176)

Changed

  • Bump @metamask/keyring-api from ^15.0.0 to ^16.0.0 (#172)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#167)

Changed

  • Bump @metamask/keyring-api from ^14.0.0 to ^15.0.0 (#160)

Added

  • Add listAccountAssets keyring method (#148)

Changed

  • BREAKING: Bump @metamask/keyring-api from ^13.0.0 to ^14.0.0 (#155)
    • The CaipAssetType is now more restrictive which affects the existing getAccountBalances method.

Changed

  • BREAKING: Bump @metamask/keyring-api from ^12.0.0 to ^13.0.0 (#101)
    • This change was not properly reported as breaking on the 1.1.0.
    • KeyringAccount has a new required field (scopes) and is part of the public API.

Changed

  • Bump @metamask/keyring-api from ^12.0.0 to ^13.0.0 (#101)

Changed

  • Use ts-bridge/cli@0.6.1 (#118)
    • This new version fixes a bug with CJS re-exports.
  • Initial release (#24)