Skip to content

19.0.0

Choose a tag to compare

@github-actions github-actions released this 17 Sep 19:56
48a53e9

Added

  • This package can now be used in ESM environments as well as CommonJS (#469)
  • Add two new controller state metadata properties: includeInStateLogs and usedInUi (#531)

Changed

  • BREAKING: Disallow subpath exports (#469)
  • BREAKING: Upgrade peer dependency @metamask/transaction-controller from ^58.0.0 to ^60.4.0 (#532, #534)
  • BREAKING: Remove getNonceLock, confirmExternalTransaction, getTransactions, and updateTransaction constructor option in favor of messenger actions (#534)
    • The messenger is now used to access TransactionController; you must add these actions to the SmartTransactionController messenger allowlist:
      • TransactionController:getNonceLock
      • TransactionController:confirmExternalTransaction
      • TransactionController:getTransactions
      • TransactionController:updateTransaction
  • Upgrade @metamask/base-controller from ^7.0.1 to ^8.3.0 (#529)
  • Upgrade @metamask/polling-controller from ^12.0.0 to ^14.0.0 (#529)

Removed

  • BREAKING: Remove default export (#535)
    • Use import { SmartTransactionsController } from '@metamask/smart-transactions-controller' instead.