@metamask-previews/transaction-controller 52.3.0-preview-6cc620a → 52.3.0-preview-0a8680e7
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 +1 -0
- package/dist/TransactionController.cjs +3 -0
- package/dist/TransactionController.cjs.map +1 -1
- package/dist/TransactionController.d.cts.map +1 -1
- package/dist/TransactionController.d.mts.map +1 -1
- package/dist/TransactionController.mjs +3 -0
- package/dist/TransactionController.mjs.map +1 -1
- package/dist/utils/feature-flags.cjs +21 -1
- package/dist/utils/feature-flags.cjs.map +1 -1
- package/dist/utils/feature-flags.d.cts +35 -0
- package/dist/utils/feature-flags.d.cts.map +1 -1
- package/dist/utils/feature-flags.d.mts +35 -0
- package/dist/utils/feature-flags.d.mts.map +1 -1
- package/dist/utils/feature-flags.mjs +19 -0
- package/dist/utils/feature-flags.mjs.map +1 -1
- package/dist/utils/gas.cjs +10 -4
- package/dist/utils/gas.cjs.map +1 -1
- package/dist/utils/gas.d.cts +5 -2
- package/dist/utils/gas.d.cts.map +1 -1
- package/dist/utils/gas.d.mts +5 -2
- package/dist/utils/gas.d.mts.map +1 -1
- package/dist/utils/gas.mjs +10 -4
- package/dist/utils/gas.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
|
|
12
12
|
- Throw if `chainId` in `TransactionParams` does not match `networkClientId` when calling `addTransaction` ([#5511](https://github.com/MetaMask/core/pull/5569))
|
|
13
13
|
- Mark `chainId` in `TransactionParams` as deprecated.
|
|
14
|
+
- Bump `@metamask/controller-utils` to `^11.7.0` ([#5583](https://github.com/MetaMask/core/pull/5583))
|
|
14
15
|
|
|
15
16
|
## [52.3.0]
|
|
16
17
|
|
|
@@ -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() {
|