@metamask-previews/transaction-controller 46.0.0-preview-dbdf1da → 46.0.0-preview-30bb9023

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
@@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
24
24
 
25
25
  ### Changed
26
26
 
27
+ - Throw if `addTransactionBatch` is called with any nested transaction with `to` matching internal account ([#5369](https://github.com/MetaMask/core/pull/5369))
27
28
  - **BREAKING:** Support atomic batch transactions ([#5306](https://github.com/MetaMask/core/pull/5306))
28
29
  - Require `AccountsController:getState` action permission in messenger.
29
30
  - Require `RemoteFeatureFlagController:getState` action permission in messenger.
@@ -340,6 +340,7 @@ class TransactionController extends base_controller_1.BaseController {
340
340
  addTransaction: this.addTransaction.bind(this),
341
341
  getChainId: __classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_getChainId).bind(this),
342
342
  getEthQuery: (networkClientId) => __classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_getEthQuery).call(this, { networkClientId }),
343
+ getInternalAccounts: __classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_getInternalAccounts).bind(this),
343
344
  messenger: this.messagingSystem,
344
345
  request,
345
346
  });