@metamask-previews/transaction-controller 52.3.0-preview-6cc620a → 53.0.0-preview-ded32bd

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,10 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [53.0.0]
11
+
12
+ ### Added
13
+
14
+ - Add `gasPayment` to `TransactionType` enum ([#5584](https://github.com/MetaMask/core/pull/5584))
15
+ - Add `TransactionControllerUpdateCustodialTransactionAction` messenger action ([#5045](https://github.com/MetaMask/core/pull/5045))
16
+
10
17
  ### Changed
11
18
 
19
+ - **BREAKING:** Return `Promise` from `beforePublish` and `beforeCheckPendingTransaction` hooks ([#5045](https://github.com/MetaMask/core/pull/5045))
20
+ - Support additional parameters in `updateCustodialTransaction` method ([#5045](https://github.com/MetaMask/core/pull/5045))
21
+ - `gasLimit`
22
+ - `gasPrice`
23
+ - `maxFeePerGas`
24
+ - `maxPriorityFeePerGas`
25
+ - `nonce`
26
+ - `type`
27
+ - Configure gas estimation fallback using remote feature flags ([#5556](https://github.com/MetaMask/core/pull/5556))
12
28
  - Throw if `chainId` in `TransactionParams` does not match `networkClientId` when calling `addTransaction` ([#5511](https://github.com/MetaMask/core/pull/5569))
13
29
  - Mark `chainId` in `TransactionParams` as deprecated.
30
+ - Bump `@metamask/controller-utils` to `^11.7.0` ([#5583](https://github.com/MetaMask/core/pull/5583))
31
+
32
+ ### Removed
33
+
34
+ - **BREAKING:** Remove `custodyId` and `custodyStatus` properties from `TransactionMeta` ([#5045](https://github.com/MetaMask/core/pull/5045))
14
35
 
15
36
  ## [52.3.0]
16
37
 
@@ -1463,7 +1484,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1463
1484
 
1464
1485
  All changes listed after this point were applied to this package following the monorepo conversion.
1465
1486
 
1466
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@52.3.0...HEAD
1487
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@53.0.0...HEAD
1488
+ [53.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@52.3.0...@metamask/transaction-controller@53.0.0
1467
1489
  [52.3.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@52.2.0...@metamask/transaction-controller@52.3.0
1468
1490
  [52.2.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@52.1.0...@metamask/transaction-controller@52.2.0
1469
1491
  [52.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@52.0.0...@metamask/transaction-controller@52.1.0
@@ -568,6 +568,7 @@ class TransactionController extends base_controller_1.BaseController {
568
568
  chainId: __classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_getChainId).call(this, networkClientId),
569
569
  ethQuery,
570
570
  isSimulationEnabled: __classPrivateFieldGet(this, _TransactionController_isSimulationEnabled, "f").call(this),
571
+ messenger: this.messagingSystem,
571
572
  txParams: transaction,
572
573
  });
573
574
  return { gas: estimatedGas, simulationFails };
@@ -588,6 +589,7 @@ class TransactionController extends base_controller_1.BaseController {
588
589
  chainId: __classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_getChainId).call(this, networkClientId),
589
590
  ethQuery,
590
591
  isSimulationEnabled: __classPrivateFieldGet(this, _TransactionController_isSimulationEnabled, "f").call(this),
592
+ messenger: this.messagingSystem,
591
593
  txParams: transaction,
592
594
  });
593
595
  const gas = (0, gas_1.addGasBuffer)(estimatedGas, blockGasLimit, multiplier);
@@ -2194,6 +2196,7 @@ _TransactionController_internalEvents = new WeakMap(), _TransactionController_me
2194
2196
  ethQuery,
2195
2197
  isCustomNetwork,
2196
2198
  isSimulationEnabled: __classPrivateFieldGet(this, _TransactionController_isSimulationEnabled, "f").call(this),
2199
+ messenger: this.messagingSystem,
2197
2200
  txMeta: transactionMeta,
2198
2201
  });
2199
2202
  }, _TransactionController_registerActionHandlers = function _TransactionController_registerActionHandlers() {