@metamask-previews/transaction-controller 48.0.0-preview-22387993 → 48.0.0-preview-912bed25
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 +0 -1
- 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 +0 -1
- package/dist/TransactionController.mjs.map +1 -1
- package/dist/utils/validation.cjs +3 -6
- package/dist/utils/validation.cjs.map +1 -1
- package/dist/utils/validation.d.cts +1 -3
- package/dist/utils/validation.d.cts.map +1 -1
- package/dist/utils/validation.d.mts +1 -3
- package/dist/utils/validation.d.mts.map +1 -1
- package/dist/utils/validation.mjs +3 -6
- package/dist/utils/validation.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
|
-
### Changed
|
|
11
|
-
|
|
12
|
-
- Prevent external transactions to internal accounts if `data` included ([#5418](https://github.com/MetaMask/core/pull/5418))
|
|
13
|
-
|
|
14
10
|
## [48.0.0]
|
|
15
11
|
|
|
16
12
|
### Changed
|
|
@@ -372,7 +372,6 @@ class TransactionController extends base_controller_1.BaseController {
|
|
|
372
372
|
const selectedAddress = __classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_getSelectedAccount).call(this).address;
|
|
373
373
|
const internalAccounts = __classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_getInternalAccounts).call(this);
|
|
374
374
|
await (0, validation_1.validateTransactionOrigin)({
|
|
375
|
-
data: txParams.data,
|
|
376
375
|
from: txParams.from,
|
|
377
376
|
internalAccounts,
|
|
378
377
|
origin,
|