@metamask-previews/transaction-controller 68.0.0-preview-742bf0b2a → 68.0.0-preview-268acc0ea
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 +4 -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/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,10 @@ 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
|
+
|
|
10
14
|
## [68.0.0]
|
|
11
15
|
|
|
12
16
|
### Changed
|
|
@@ -2198,6 +2198,9 @@ async function _TransactionController_approveTransaction(transactionId, traceCon
|
|
|
2198
2198
|
}, (txMeta) => {
|
|
2199
2199
|
txMeta.gasFeeTokens = gasFeeTokens;
|
|
2200
2200
|
txMeta.isGasFeeSponsored = isGasFeeSponsored;
|
|
2201
|
+
if (isGasFeeSponsored) {
|
|
2202
|
+
txMeta.isExternalSign = true;
|
|
2203
|
+
}
|
|
2201
2204
|
txMeta.gasUsed = gasUsed;
|
|
2202
2205
|
if (!__classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_isBalanceChangesSkipped).call(this, txMeta)) {
|
|
2203
2206
|
txMeta.simulationData = simulationData;
|