Skip to content

Releases: MetaMask/accounts

28.0.0

13 Feb 14:46
5ab531e
Compare
Choose a tag to compare

@metamask/keyring-utils 2.1.0

Added

  • Add Keyring and KeyringClass types (#201), (#205)
    • The two types have been migrated from @metamask/utils.
    • The State generic accepted by the two types was removed, and the deserialize and serialize signatures were updated to use Json instead of State as argument and return types.

27.0.0

12 Feb 10:53
5b6a7c0
Compare
Choose a tag to compare

@metamask/eth-trezor-keyring 6.1.0

Added

  • Add new dedicated OneKeyKeyring keyring (#175)
    • This keyring is similar to the TrezorKeyring but will allow to distinguish both types of devices, the transport layer (bridge) remains the same.

26.0.0

05 Feb 10:41
bbc7fc0
Compare
Choose a tag to compare

@metamask/keyring-api 17.0.0

Added

  • Re-export CaipAccountId type and struct (#186)

Changed

  • BREAKING: Use CaipAccountId for ResolvedAccountAddress.address (#186)
    • This was missing from SIP-26, but we expect this address to be CAIP-10 compliant.

@metamask/eth-hd-keyring 10.0.0

Added

  • Add signEip7702Authorization method (#182)

Changed

  • BREAKING: Added types to HdKeyring (#166)
    • All methods on HdKeyring retain their existing signatures, but now have types.
  • Bump @metamask/eth-sig-util dependency from ^8.0.0 to 8.2.0 (#177), (#134)
  • Bump @metamask/utils dependency from ^9.3.1 to 11.1.0 (#134), (#167)

@metamask/eth-ledger-bridge-keyring 8.0.4

Changed

  • Bump @metamask/eth-sig-util dependency from ^8.0.0 to 8.2.0 (#177), (#134)
  • Bump @metamask/utils dependency from ^9.3.1 to 11.1.0 (#134), (#167)

@metamask/eth-simple-keyring 8.1.0

Added

  • Add signEip7702Authorization method (#182)

Changed

  • Bump @metamask/eth-sig-util dependency from ^8.0.0 to 8.2.0 (#177), (#134)
  • Bump @metamask/utils dependency from ^9.3.1 to 11.1.0 (#134), (#167)

@metamask/eth-trezor-keyring 6.0.2

Changed

  • Bump @metamask/eth-sig-util dependency from ^8.0.0 to 8.2.0 (#177), (#134)

@metamask/keyring-internal-api 4.0.2

Changed

  • Bump @metamask/keyring-api from ^16.1.0 to ^17.0.0 (#192)

@metamask/keyring-internal-snap-client 4.0.0

Changed

  • 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)
  • Bump @metamask/snaps-sdk dependency from ^6.7.0 to ^6.16.0 (#177)
  • Rename ControllerMessenger to Messenger (#185)

@metamask/eth-snap-keyring 10.0.0

Changed

  • BREAKING: Use CaipAccountId for ResolvedAccountAddress.address (#186)
    • This was missing from SIP-26, but we expect this address to be CAIP-10 compliant.
  • Bump @metamask/keyring-api from ^16.1.0 to ^17.0.0 (#192)
  • Rename ControllerMessenger to Messenger (#185)
  • Bump @metamask/snaps-controllers dependency from ^9.10.0 to ^9.18.0 (#177)
  • Bump @metamask/snaps-sdk dependency from ^6.7.0 to ^6.16.0 (#177)
  • Bump @metamask/snaps-utils dependency from ^8.3.0 to ^8.9.1 (#177)

@metamask/keyring-snap-client 4.0.0

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)

@metamask/keyring-snap-sdk 3.0.0

Changed

  • 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)
  • Bump @metamask/snaps-sdk dependency from ^6.7.0 to ^6.16.0 (#177)

25.0.0

30 Jan 09:38
1b6e22c
Compare
Choose a tag to compare

@metamask/keyring-api 16.1.0

Added

  • Re-export Caip* types and structs (#174)

@metamask/keyring-internal-api 4.0.1

Changed

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

@metamask/keyring-internal-snap-client 3.0.3

Changed

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

@metamask/eth-snap-keyring 9.1.1

Changed

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

@metamask/keyring-snap-client 3.0.3

Changed

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

@metamask/keyring-snap-sdk 2.1.2

Changed

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

@metamask/keyring-utils 2.0.0

Changed

24.0.0

29 Jan 17:17
e52e5bd
Compare
Choose a tag to compare

@metamask/keyring-api 16.0.0

Added

  • Add resolveAccountAddress keyring method (#157)

Changed

  • BREAKING: Remove CAIP redefinitions (#167)
    • We now rely on CAIP definitions coming @metamask/utils.
  • BREAKING: Enforce that scopes contains CAIP-2 chain IDs (#165)
    • Initially scopes accepted CAIP-2 namespaces as well to address the EVM EOA accounts that supports all EVM chains. This has been dropped in favor of eip155:0 scope.
  • BREAKING: Rename *Scopes enums to *Scope (#165)
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#167)

@metamask/keyring-internal-api 4.0.0

Changed

  • BREAKING: Bump @metamask/keyring-api from ^15.0.0 to ^16.0.0 (#TODO)
    • The scopes from each *AccountStruct types is now more strict (remove support of CAIP-2 namespaces) which impact all Internal*AccountStruct types.
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#167)

@metamask/keyring-internal-snap-client 3.0.2

Changed

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

@metamask/eth-snap-keyring 9.1.0

Added

  • Add submitRequest and resolveAccountAddress methods (#157)
    • Those new methods are required by the new signing request routing system (see SIP-26).

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)

Fixed

  • Fix async Snap request leak (#171)
    • There was a leak with the deferred promises when an asynchronous request was not allowed.

@metamask/keyring-snap-client 3.0.2

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)

@metamask/keyring-snap-sdk 2.1.1

Changed

  • Bump @metamask/keyring-api from ^14.0.0 to ^16.0.0 (#TODO), #160
  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#167)

@metamask/keyring-utils 1.3.1

Changed

  • Bump @metamask/utils from ^11.0.1 to ^11.1.0 (#167)

23.0.0

24 Jan 17:44
4833acc
Compare
Choose a tag to compare

@metamask/keyring-api 15.0.0

Added

  • Add account{AssetList,Balances,Transactions}UpdatedEventStruct keyring events (#154)

Changed

  • BREAKING: Make specific *AccountStruct.scopes more strict (#159)

@metamask/keyring-internal-api 3.0.0

Changed

  • BREAKING: Bump @metamask/keyring-api from ^14.0.0 to ^15.0.0 (#160)
    • The scopes from each *AccountStruct types is now more strict which impact all Internal*AccountStruct types.

@metamask/keyring-internal-snap-client 3.0.1

Changed

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

@metamask/eth-snap-keyring 9.0.0

Added

  • Add account{AssetList,Balances,Transactions}Updated keyring events and re-publish them through the new Messenger (#154)

Changed

  • BREAKING: Use Messenger instead of SnapsController (#152)
    • This allows to break the runtime dependency we had with some snaps-* pacakges.
  • BREAKING: Make scopes more strict (#159)
    • We now use specific *AccountStucts when checking created/updated accounts to make the scopes sent by the Snap are valid regarding their account type definition.

@metamask/keyring-snap-client 3.0.1

Changed

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

@metamask/keyring-utils 1.3.0

Added

  • Add AccountIdStruct alias (#154)

22.0.0

23 Jan 10:26
bc7161b
Compare
Choose a tag to compare

@metamask/eth-ledger-bridge-keyring 8.0.3

Fixed

  • Bump @ledgerhq/hw-app-eth dependency from ^6.39.0 to ^6.42.0 (#153)
    • Required to fix handling of EIP-712 content.

21.0.0

21 Jan 16:37
e0353bd
Compare
Choose a tag to compare

@metamask/keyring-api 14.0.0

Added

  • Add listAccountAssets keyring method (#148)

Changed

  • BREAKING: Make CaipAssetType type more restritive (#150)
    • It used to be a string but it has been restricted with a template literal type that matches CAIP-19 asset type.

@metamask/keyring-internal-api 2.0.1

Changed

  • Bump @metamask/keyring-api from ^13.0.0 to ^14.0.0 (#155)

@metamask/keyring-internal-snap-client 3.0.0

Added

  • Add listAccountAssets keyring method (#148)
    • This is inherited from the KeyringClient changes.

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.

@metamask/eth-snap-keyring 8.1.1

Changed

  • Bump @metamask/keyring-api from ^13.0.0 to ^14.0.0 (#155)

@metamask/keyring-snap-client 3.0.0

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.

@metamask/keyring-snap-sdk 2.1.0

Added

  • Add support of listAccountAssets keyring method (#148)

@metamask/keyring-utils 1.2.0

Changed

  • Add generic type in definePattern (#150)
    • It allows to use template literal type that matches the pattern.

20.0.0

16 Jan 19:46
5fcd8d2
Compare
Choose a tag to compare

@metamask/eth-snap-keyring 8.1.0

Added

  • Add Snap keyring migrations (#147)
    • This is required to support the new scopes field on KeyringAccount. The keyring state will now be automatically migrated upon deserialization to match the latest KeyringAccount type requirements.

@metamask/keyring-utils 1.1.0

Added

  • Add Bitcoin address helpers (#147)

Changed

  • Bump @metamask/utils from ^9.3.0 to ^11.0.1 (#134)

19.0.0

15 Jan 15:07
457b3b3
Compare
Choose a tag to compare

@metamask/eth-ledger-bridge-keyring 8.0.2

Changed

  • Bump @metamask/eth-sig-util dependency from ^8.0.0 to ^8.1.2 (#134)

Fixed

  • Fix webpack build about non-exported EIP712Message type (#140)