@metamask/transaction-controller 43.0.0 → 44.0.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,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [44.0.0]
11
+
12
+ ### Changed
13
+
14
+ - **BREAKING:** Bump `@metamask/accounts-controller` peer dependency from `^21.0.0` to `^22.0.0` ([#5218](https://github.com/MetaMask/core/pull/5218))
15
+
10
16
  ## [43.0.0]
11
17
 
12
18
  ### Added
@@ -1238,7 +1244,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1238
1244
 
1239
1245
  All changes listed after this point were applied to this package following the monorepo conversion.
1240
1246
 
1241
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@43.0.0...HEAD
1247
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@44.0.0...HEAD
1248
+ [44.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@43.0.0...@metamask/transaction-controller@44.0.0
1242
1249
  [43.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@42.1.0...@metamask/transaction-controller@43.0.0
1243
1250
  [42.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@42.0.0...@metamask/transaction-controller@42.1.0
1244
1251
  [42.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@41.1.0...@metamask/transaction-controller@42.0.0
@@ -28,7 +28,7 @@ const rpc_errors_1 = require("@metamask/rpc-errors");
28
28
  const utils_1 = require("@metamask/utils");
29
29
  const async_mutex_1 = require("async-mutex");
30
30
  // This package purposefully relies on Node's EventEmitter module.
31
- // eslint-disable-next-line import/no-nodejs-modules
31
+ // eslint-disable-next-line import-x/no-nodejs-modules
32
32
  const events_1 = require("events");
33
33
  const lodash_1 = require("lodash");
34
34
  const uuid_1 = require("uuid");
@@ -1863,7 +1863,6 @@ _TransactionController_internalEvents = new WeakMap(), _TransactionController_me
1863
1863
  const index = state.transactions.findIndex(({ id }) => id === transactionId);
1864
1864
  let transactionMeta = state.transactions[index];
1865
1865
  const originalTransactionMeta = (0, lodash_1.cloneDeep)(transactionMeta);
1866
- // eslint-disable-next-line n/callback-return
1867
1866
  transactionMeta = callback(transactionMeta) ?? transactionMeta;
1868
1867
  if (skipValidation !== true) {
1869
1868
  transactionMeta.txParams = (0, utils_2.normalizeTransactionParams)(transactionMeta.txParams);