Skip to content

Releases: MetaMask/accounts

81.0.0

01 Dec 08:58
0e6083c

Choose a tag to compare

@metamask/keyring-api 21.3.0

Added

  • Add initial Keyringv2 interface (#397)
    • This is an on-going work and should not be used for now.
  • Add new Tron methods signMessage and signTransaction (#401)

Changed

  • Deprecate Tron methods signMessageV2 and verifyMessageV2 (#401)

80.0.0

26 Nov 00:09
8ad41fc

Choose a tag to compare

@metamask/eth-snap-keyring 18.0.2

Fixed

  • Make notify:accountCreated event idempotent (#399)

79.0.0

05 Nov 10:46
d2817a6

Choose a tag to compare

@metamask/keyring-api 21.2.0

Added

  • Add stake:{deposit,withdraw} transaction types (#394)

@metamask/keyring-internal-api 9.1.1

Changed

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

@metamask/keyring-internal-snap-client 8.0.1

Changed

  • Bump @metamask/keyring-api from ^21.1.0 to ^21.2.0 (#395)
  • Bump @metamask/keyring-snap-client from ^8.1.0 to ^8.2.0 (#395)
  • Bump @metamask/keyring-internal-api from ^9.1.0 to ^9.2.0 (#395)

@metamask/eth-snap-keyring 18.0.1

Changed

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

@metamask/keyring-snap-client 8.1.1

Changed

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

@metamask/keyring-snap-sdk 7.1.1

Changed

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

78.0.0

27 Oct 10:58
384c186

Choose a tag to compare

@metamask/keyring-internal-snap-client 8.0.0

Changed

  • BREAKING: Migrate KeyringInternalSnapClientMessenger to new Messenger type from @metamask/messenger (#383)

@metamask/eth-snap-keyring 18.0.0

Changed

  • BREAKING: Migrate SnapKeyringMessenger to new Messenger type from @metamask/messenger (#383)

77.0.0

09 Oct 11:34
f148a98

Choose a tag to compare

@metamask/keyring-api 21.1.0

Added

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

@metamask/keyring-internal-api 9.1.0

Changed

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

@metamask/keyring-internal-snap-client 7.2.0

Changed

  • Bump @metamask/keyring-api from ^21.0.0 to ^21.1.0 (#388)
  • Bump @metamask/keyring-snap-client from ^8.0.0 to ^8.1.0 (#388)
  • Bump @metamask/keyring-internal-api from ^9.0.0 to ^9.1.0 (#388)

@metamask/eth-snap-keyring 17.3.0

Added

  • Add SnapKeyring.setSelectedAccounts and snap_manageAccounts.getSelectedAccounts support (#387)
    • The SnapKeyring.setSelectedAccounts method can be invoked by the MetaMask client to inform which accounts are now selected for this Snap.
    • The snap_manageAccounts.getSelectedAccounts RPC method can be invoked by the Snap to get the currently selected accounts for this Snap.

Changed

  • Add dependency to @metamask/keyring-snap-sdk version ^7.1.0 (#387), (#388)
  • Bump @metamask/keyring-api from ^21.0.0 to ^21.1.0 (#388)

@metamask/keyring-snap-client 8.1.0

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)

@metamask/keyring-snap-sdk 7.1.0

Added

  • Add getSelectedAccounts helper (#387)
    • This helper can be used to get the currently selected accounts for this Snap.

Changed

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

76.0.0

19 Sep 12:05
848d07d

Choose a tag to compare

@metamask/eth-snap-keyring 17.2.0

Added

  • Add name and state properties to SnapKeyring to allow modular initialisation in the clients (#379)

Changed

  • SnapKeyring no longer extend EventEmitter (#379)

75.0.0

11 Sep 15:21
03d8fd0

Choose a tag to compare

@metamask/eth-simple-keyring 11.0.0

Changed

  • BREAKING: The method signature for signTypedData has been changed (#224)
    • The method now accepts a TypedDataV1 object when SignTypedDataVersion.V1 is passed in the options, and TypedMessage<Types> when other versions are requested.
    • The options argument type has been changed to { version: SignTypedDataVersion } | undefined.

74.0.0

11 Sep 13:10
1bcf6d8

Choose a tag to compare

@metamask/eth-hd-keyring 13.0.0

Added

  • Export types SerializedHDKeyringState and DeserializableHDKeyringState (#255)

Changed

  • BREAKING: The method signature for signTypedData has been changed (#224)
    • The method now accepts a TypedDataV1 object when SignTypedDataVersion.V1 is passed in the options, and TypedMessage<Types> when other versions are requested.
  • BREAKING: The HdKeyring class now extends Keyring from @metamask/keyring-utils (#255)
    • The deserialize method does not accept Buffer mnemonic anymore
    • The options argument to deserialize is no longer optional
    • getAccounts is now async
  • Switched to using a Map for wallet storage (#374)
    • Improves performance of account lookup and removal to constant time
  • Cache derived account addresses (#373)
    • Avoids recomputing addresses from public keys on every getAccounts() call

Removed

  • BREAKING: HDKeyringState type is no longer exported (#255)
    • This has effectively been replaced with SerializedHDKeyringState and DeserializableHDKeyringState

73.0.0

11 Sep 08:14
b3beadc

Choose a tag to compare

@metamask/account-api 0.12.0

Changed

  • BREAKING: Rename AccountsProvider.discoverAndCreateAccounts to AccountsProvider.discoverAccounts (#371)
    • This aligns the method name with MultichainAccountWallet.discoverAccounts.

72.0.0

10 Sep 21:12
f236289

Choose a tag to compare

@metamask/account-api 0.11.0

Added

  • BREAKING: Add MultichainAccountWallet.{align,discover}Accounts methods (#368)
  • BREAKING: Add {Multichain,}AccountWallet.status getter (#367)

Changed

  • Make isBip44Account faster (#369)
    • We mainly rely on the options.entropy.type now and no longer use superstruct for this function.