@metamask/transaction-controller 60.6.1 → 60.7.0

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,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [60.7.0]
11
+
12
+ ### Added
13
+
14
+ - Add `txMeta` property to `GetSimulationConfig` callback ([#6833](https://github.com/MetaMask/core/pull/6833))
15
+
10
16
  ## [60.6.1]
11
17
 
12
18
  ### Changed
@@ -1850,7 +1856,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1850
1856
 
1851
1857
  All changes listed after this point were applied to this package following the monorepo conversion.
1852
1858
 
1853
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.6.1...HEAD
1859
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.7.0...HEAD
1860
+ [60.7.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.6.1...@metamask/transaction-controller@60.7.0
1854
1861
  [60.6.1]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.6.0...@metamask/transaction-controller@60.6.1
1855
1862
  [60.6.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.5.0...@metamask/transaction-controller@60.6.0
1856
1863
  [60.5.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.4.0...@metamask/transaction-controller@60.5.0
@@ -2087,7 +2087,12 @@ async function _TransactionController_approveTransaction(transactionId, traceCon
2087
2087
  blockTime,
2088
2088
  chainId,
2089
2089
  ethQuery: __classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_getEthQuery).call(this, { networkClientId }),
2090
- getSimulationConfig: __classPrivateFieldGet(this, _TransactionController_getSimulationConfig, "f"),
2090
+ getSimulationConfig: (url, opts) => {
2091
+ return __classPrivateFieldGet(this, _TransactionController_getSimulationConfig, "f").call(this, url, {
2092
+ txMeta: transactionMeta,
2093
+ ...opts,
2094
+ });
2095
+ },
2091
2096
  nestedTransactions,
2092
2097
  txParams,
2093
2098
  }));