Skip to content

24.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Apr 16:08
56f34f7

Added

  • feat(STX-501): route sentinel migration via remote feature flags (#580)
  • Expose SmartTransactionsController methods through its messenger (#574)
    • The following actions are now available:
      • SmartTransactionsController:checkPoll
      • SmartTransactionsController:initializeSmartTransactionsForChainId
      • SmartTransactionsController:poll
      • SmartTransactionsController:stop
      • SmartTransactionsController:setOptInState
      • SmartTransactionsController:trackStxStatusChange
      • SmartTransactionsController:isNewSmartTransaction
      • SmartTransactionsController:updateSmartTransaction
      • SmartTransactionsController:updateSmartTransactions
      • SmartTransactionsController:fetchSmartTransactionsStatus
      • SmartTransactionsController:clearFees
      • SmartTransactionsController:getFees
      • SmartTransactionsController:submitSignedTransactions
      • SmartTransactionsController:cancelSmartTransaction
      • SmartTransactionsController:fetchLiveness
      • SmartTransactionsController:setStatusRefreshInterval
      • SmartTransactionsController:getTransactions
      • SmartTransactionsController:getSmartTransactionByMinedTxHash
      • SmartTransactionsController:wipeSmartTransactions
    • Corresponding action types (e.g. SmartTransactionsControllerCheckPollAction) are available as well.

Changed

  • feat: migrate to @metamask/messenger-cli for action types codegen (#579)
  • BREAKING: Upgrade TypeScript from ~4.8.4 to ~5.3.3 (#574)
    • Consumers on TypeScript 4.x may experience type errors and should upgrade to TypeScript 5.x.
  • BREAKING: Replace getBearerToken constructor parameter with direct AuthenticationController:getBearerToken call (#578)
    • Consumers must add AuthenticationController:getBearerToken to the allowed actions in the controller messenger, and remove any usage of the getBearerToken constructor parameter.
  • Bump @metamask/messenger from ^0.3.0 to ^1.1.0 (#578)