@metamask-previews/transaction-controller 42.1.0-preview-62a75dc → 43.0.0-preview-e05b7d3e

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,11 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [43.0.0]
11
+
10
12
  ### Added
11
13
 
12
14
  - Add `gasLimitNoBuffer` property to `TransactionMeta` type ([#5113](https://github.com/MetaMask/core/pull/5113))
13
15
  - `gasLimitNoBuffer` is the estimated gas for the transaction without any buffer applied.
14
16
 
17
+ ### Changed
18
+
19
+ - **BREAKING:** Bump `@metamask/accounts-controller` peer dependency from `^20.0.0` to `^21.0.0` ([#5140](https://github.com/MetaMask/core/pull/5140))
20
+ - Bump `@metamask/base-controller` from `7.1.0` to `^7.1.1` ([#5135](https://github.com/MetaMask/core/pull/5135))
21
+
15
22
  ## [42.1.0]
16
23
 
17
24
  ### Added
@@ -1231,7 +1238,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1231
1238
 
1232
1239
  All changes listed after this point were applied to this package following the monorepo conversion.
1233
1240
 
1234
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@42.1.0...HEAD
1241
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@43.0.0...HEAD
1242
+ [43.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@42.1.0...@metamask/transaction-controller@43.0.0
1235
1243
  [42.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@42.0.0...@metamask/transaction-controller@42.1.0
1236
1244
  [42.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@41.1.0...@metamask/transaction-controller@42.0.0
1237
1245
  [41.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@41.0.0...@metamask/transaction-controller@41.1.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);