Skip to content

170.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Jul 21:49
a3acb59

@metamask/accounts-controller 17.2.0

Added

  • Add internal actions and events to AccountsController (#4496, #4497)
    • Add events AccountsController:accountAdded, AccountsController:accountRemoved, and export corresponding event types AccountsControllerAccountAddedEvent, AccountsControllerAccountRemovedEvent.
    • Export action types AccountsControllerListMultichainAccountsAction, AccountsControllerGetSelectedMultichainAccountAction, AccountsControllerGetNextAvailableAccountNameAction.

Changed

  • Improve support of non-EVM accounts (#4494)
    • We now use listMultichainAccounts instead of listAccounts for non-EVM specific multichain methods
  • Emit selectedAccountChange and update lastSelected for initial account (#4494)

@metamask/gas-fee-controller 18.0.0

Added

  • BREAKING: Add constructor options to GasFeeController: EIP1559APIEndpoint (required), and legacyAPIEndpoint (optional) which defaults to LEGACY_GAS_PRICES_API_URL. (#4446)
    • These URLs are no longer hardcoded within the controller.

Removed

  • BREAKING: Remove infuraAPIKey as a constructor option for GasFeeController. This class field was previously used to construct and send the Authorization header for Infura gas API requests. (#4446)

@metamask/transaction-controller 34.0.0

Changed

  • BREAKING: Bump dependency and peer dependency @metamask/gas-fee-controller to ^18.0.0 (#4498)
  • Bump dependency @metamask/accounts-controller to ^17.2.0 (#4498)

@metamask/user-operation-controller 13.0.0

Changed

  • BREAKING: Bump dependency and peer dependency @metamask/gas-fee-controller to ^18.0.0 (#4498)
  • BREAKING: Bump dependency and peer dependency @metamask/transaction-controller to ^34.0.0 (#4498)