@metamask/transaction-controller 47.0.0 → 48.1.0

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 CHANGED
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [48.1.0]
11
+
12
+ ### Changed
13
+
14
+ - Prevent external transactions to internal accounts if `data` included ([#5418](https://github.com/MetaMask/core/pull/5418))
15
+
16
+ ## [48.0.0]
17
+
18
+ ### Changed
19
+
20
+ - **BREAKING:** Bump `@metamask/accounts-controller` peer dependency to `^26.0.0` ([#5439](https://github.com/MetaMask/core/pull/5439))
21
+ - **BREAKING:** Bump `@ethereumjs/util` from `^8.1.0` to `^9.1.0` ([#5347](https://github.com/MetaMask/core/pull/5347))
22
+
10
23
  ## [47.0.0]
11
24
 
12
25
  ### Added
@@ -1319,7 +1332,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1319
1332
 
1320
1333
  All changes listed after this point were applied to this package following the monorepo conversion.
1321
1334
 
1322
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@47.0.0...HEAD
1335
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@48.1.0...HEAD
1336
+ [48.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@48.0.0...@metamask/transaction-controller@48.1.0
1337
+ [48.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@47.0.0...@metamask/transaction-controller@48.0.0
1323
1338
  [47.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@46.0.0...@metamask/transaction-controller@47.0.0
1324
1339
  [46.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@45.1.0...@metamask/transaction-controller@46.0.0
1325
1340
  [45.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@45.0.0...@metamask/transaction-controller@45.1.0
@@ -372,6 +372,7 @@ 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,
375
376
  from: txParams.from,
376
377
  internalAccounts,
377
378
  origin,