@metamask-previews/transaction-controller 52.2.0-preview-ca923904 → 52.2.0-preview-afcc340
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/dist/TransactionController.cjs +1 -3
- package/dist/TransactionController.cjs.map +1 -1
- package/dist/TransactionController.d.cts +1 -1
- package/dist/TransactionController.d.cts.map +1 -1
- package/dist/TransactionController.d.mts +1 -1
- package/dist/TransactionController.d.mts.map +1 -1
- package/dist/TransactionController.mjs +1 -3
- package/dist/TransactionController.mjs.map +1 -1
- package/dist/helpers/PendingTransactionTracker.cjs +6 -2
- package/dist/helpers/PendingTransactionTracker.cjs.map +1 -1
- package/dist/helpers/PendingTransactionTracker.d.cts +5 -2
- package/dist/helpers/PendingTransactionTracker.d.cts.map +1 -1
- package/dist/helpers/PendingTransactionTracker.d.mts +5 -2
- package/dist/helpers/PendingTransactionTracker.d.mts.map +1 -1
- package/dist/helpers/PendingTransactionTracker.mjs +6 -2
- package/dist/helpers/PendingTransactionTracker.mjs.map +1 -1
- package/dist/helpers/TransactionPoller.cjs +12 -8
- package/dist/helpers/TransactionPoller.cjs.map +1 -1
- package/dist/helpers/TransactionPoller.d.cts +7 -3
- package/dist/helpers/TransactionPoller.d.cts.map +1 -1
- package/dist/helpers/TransactionPoller.d.mts +7 -3
- package/dist/helpers/TransactionPoller.d.mts.map +1 -1
- package/dist/helpers/TransactionPoller.mjs +11 -7
- package/dist/helpers/TransactionPoller.mjs.map +1 -1
- package/dist/utils/feature-flags.cjs +15 -31
- package/dist/utils/feature-flags.cjs.map +1 -1
- package/dist/utils/feature-flags.d.cts +26 -38
- package/dist/utils/feature-flags.d.cts.map +1 -1
- package/dist/utils/feature-flags.d.mts +26 -38
- package/dist/utils/feature-flags.d.mts.map +1 -1
- package/dist/utils/feature-flags.mjs +13 -28
- package/dist/utils/feature-flags.mjs.map +1 -1
- package/dist/utils/gas.cjs +4 -9
- package/dist/utils/gas.cjs.map +1 -1
- package/dist/utils/gas.d.cts +3 -6
- package/dist/utils/gas.d.cts.map +1 -1
- package/dist/utils/gas.d.mts +3 -6
- package/dist/utils/gas.d.mts.map +1 -1
- package/dist/utils/gas.mjs +3 -8
- package/dist/utils/gas.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -567,7 +567,6 @@ class TransactionController extends base_controller_1.BaseController {
|
|
|
567
567
|
ethQuery,
|
|
568
568
|
isSimulationEnabled: __classPrivateFieldGet(this, _TransactionController_isSimulationEnabled, "f").call(this),
|
|
569
569
|
txParams: transaction,
|
|
570
|
-
messenger: this.messagingSystem,
|
|
571
570
|
});
|
|
572
571
|
return { gas: estimatedGas, simulationFails };
|
|
573
572
|
}
|
|
@@ -588,7 +587,6 @@ class TransactionController extends base_controller_1.BaseController {
|
|
|
588
587
|
ethQuery,
|
|
589
588
|
isSimulationEnabled: __classPrivateFieldGet(this, _TransactionController_isSimulationEnabled, "f").call(this),
|
|
590
589
|
txParams: transaction,
|
|
591
|
-
messenger: this.messagingSystem,
|
|
592
590
|
});
|
|
593
591
|
const gas = (0, gas_1.addGasBuffer)(estimatedGas, blockGasLimit, multiplier);
|
|
594
592
|
return {
|
|
@@ -1955,6 +1953,7 @@ _TransactionController_internalEvents = new WeakMap(), _TransactionController_me
|
|
|
1955
1953
|
getGlobalLock: () => __classPrivateFieldGet(this, _TransactionController_multichainTrackingHelper, "f").acquireNonceLockForChainIdKey({
|
|
1956
1954
|
chainId,
|
|
1957
1955
|
}),
|
|
1956
|
+
messenger: this.messagingSystem,
|
|
1958
1957
|
publishTransaction: (_ethQuery, transactionMeta) => this.publishTransaction(_ethQuery, transactionMeta, {
|
|
1959
1958
|
skipSubmitHistory: true,
|
|
1960
1959
|
}),
|
|
@@ -2173,7 +2172,6 @@ _TransactionController_internalEvents = new WeakMap(), _TransactionController_me
|
|
|
2173
2172
|
isCustomNetwork,
|
|
2174
2173
|
isSimulationEnabled: __classPrivateFieldGet(this, _TransactionController_isSimulationEnabled, "f").call(this),
|
|
2175
2174
|
txMeta: transactionMeta,
|
|
2176
|
-
messenger: this.messagingSystem,
|
|
2177
2175
|
});
|
|
2178
2176
|
}, _TransactionController_deleteTransaction = function _TransactionController_deleteTransaction(transactionId) {
|
|
2179
2177
|
this.update((state) => {
|