@metamask/transaction-controller 60.6.0 → 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,19 @@ 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
+
16
+ ## [60.6.1]
17
+
18
+ ### Changed
19
+
20
+ - Bump `@metamask/base-controller` from `^8.4.0` to `^8.4.1` ([#6807](https://github.com/MetaMask/core/pull/6807))
21
+ - Bump `@metamask/controller-utils` from `^11.14.0` to `^11.14.1` ([#6807](https://github.com/MetaMask/core/pull/6807))
22
+
10
23
  ## [60.6.0]
11
24
 
12
25
  ### Added
@@ -1843,7 +1856,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1843
1856
 
1844
1857
  All changes listed after this point were applied to this package following the monorepo conversion.
1845
1858
 
1846
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.6.0...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
1861
+ [60.6.1]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.6.0...@metamask/transaction-controller@60.6.1
1847
1862
  [60.6.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.5.0...@metamask/transaction-controller@60.6.0
1848
1863
  [60.5.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.4.0...@metamask/transaction-controller@60.5.0
1849
1864
  [60.4.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.3.0...@metamask/transaction-controller@60.4.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
  }));