@metamask-previews/transaction-controller 60.3.0-preview-e85a6854 → 60.3.0-preview-c8856e2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,9 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Added
11
+
12
+ - Expose `confirmExternalTransaction`, `getNonceLock`, `getTransactions`, and `updateTransaction` actions through the messenger ([#6615](https://github.com/MetaMask/core/pull/6615))
13
+ - Like other action methods, they are callable as `TransactionController:*`
14
+ - Also add associated types:
15
+ - `TransactionControllerConfirmExternalTransactionAction`
16
+ - `TransactionControllerGetNonceLockAction`
17
+ - `TransactionControllerGetTransactionsAction`
18
+ - `TransactionControllerUpdateTransactionAction`
19
+
10
20
  ### Changed
11
21
 
22
+ - Bump `@metamask/controller-utils` from `^11.12.0` to `^11.14.0` ([#6620](https://github.com/MetaMask/core/pull/6620), [#6629](https://github.com/MetaMask/core/pull/6629))
12
23
  - Bump `@metamask/utils` from `^11.4.2` to `^11.8.0` ([#6588](https://github.com/MetaMask/core/pull/6588))
24
+ - Bump `@metamask/base-controller` from `^8.3.0` to `^8.4.0` ([#6632](https://github.com/MetaMask/core/pull/6632))
13
25
 
14
26
  ## [60.3.0]
15
27
 
@@ -2258,8 +2258,12 @@ async function _TransactionController_approveTransaction(transactionId, traceCon
2258
2258
  txMeta: transactionMeta,
2259
2259
  });
2260
2260
  }, _TransactionController_registerActionHandlers = function _TransactionController_registerActionHandlers() {
2261
+ this.messagingSystem.registerActionHandler(`${controllerName}:confirmExternalTransaction`, this.confirmExternalTransaction.bind(this));
2261
2262
  this.messagingSystem.registerActionHandler(`${controllerName}:estimateGas`, this.estimateGas.bind(this));
2263
+ this.messagingSystem.registerActionHandler(`${controllerName}:getNonceLock`, this.getNonceLock.bind(this));
2264
+ this.messagingSystem.registerActionHandler(`${controllerName}:getTransactions`, this.getTransactions.bind(this));
2262
2265
  this.messagingSystem.registerActionHandler(`${controllerName}:updateCustodialTransaction`, this.updateCustodialTransaction.bind(this));
2266
+ this.messagingSystem.registerActionHandler(`${controllerName}:updateTransaction`, this.updateTransaction.bind(this));
2263
2267
  }, _TransactionController_deleteTransaction = function _TransactionController_deleteTransaction(transactionId) {
2264
2268
  this.update((state) => {
2265
2269
  const transactions = state.transactions.filter(({ id }) => id !== transactionId);