@metamask-previews/transaction-controller 68.0.0-preview-5588db68c → 68.0.0-preview-138a209ad
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 +0 -4
- package/dist/TransactionController.cjs +1 -6
- 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 +1 -6
- package/dist/TransactionController.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
### Fixed
|
|
11
|
-
|
|
12
|
-
- Set `isExternalSign` to `true` when `isGasFeeSponsored` is confirmed by simulation, so gas-sponsored transactions from accounts that cannot locally sign (e.g. Money Account keyring) skip `KeyringController:signTransaction` ([#9148](https://github.com/MetaMask/core/pull/9148))
|
|
13
|
-
|
|
14
10
|
## [68.0.0]
|
|
15
11
|
|
|
16
12
|
### Changed
|
|
@@ -425,7 +425,6 @@ class TransactionController extends base_controller_1.BaseController {
|
|
|
425
425
|
isGasFeeTokenIgnoredIfBalance,
|
|
426
426
|
isGasFeeIncluded,
|
|
427
427
|
isGasFeeSponsored,
|
|
428
|
-
...(isGasFeeSponsored ? { isExternalSign: true } : {}),
|
|
429
428
|
// To avoid the property to be set as undefined.
|
|
430
429
|
...(excludeNativeTokenForFee === undefined
|
|
431
430
|
? {}
|
|
@@ -2198,11 +2197,7 @@ async function _TransactionController_approveTransaction(transactionId, traceCon
|
|
|
2198
2197
|
skipResimulateCheck: Boolean(blockTime),
|
|
2199
2198
|
}, (txMeta) => {
|
|
2200
2199
|
txMeta.gasFeeTokens = gasFeeTokens;
|
|
2201
|
-
txMeta.isGasFeeSponsored =
|
|
2202
|
-
txMeta.isGasFeeSponsored ?? isGasFeeSponsored;
|
|
2203
|
-
if (txMeta.isGasFeeSponsored) {
|
|
2204
|
-
txMeta.isExternalSign = true;
|
|
2205
|
-
}
|
|
2200
|
+
txMeta.isGasFeeSponsored = isGasFeeSponsored;
|
|
2206
2201
|
txMeta.gasUsed = gasUsed;
|
|
2207
2202
|
if (!__classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_isBalanceChangesSkipped).call(this, txMeta)) {
|
|
2208
2203
|
txMeta.simulationData = simulationData;
|