@metamask/transaction-controller 62.6.0 → 62.7.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
+ ## [62.7.0]
11
+
12
+ ### Added
13
+
14
+ - Adding a new transaction meta property `requestId`. It is supported for both simple and batched transactions ([#7415](https://github.com/MetaMask/core/pull/7415))
15
+
10
16
  ## [62.6.0]
11
17
 
12
18
  ### Added
@@ -17,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
23
  - Add optional `isTimeoutEnabled` callback to disable for specific transactions.
18
24
  - Ignores transactions with future nonce.
19
25
  - Threshold determined by feature flag.
26
+ - Adding a new transaction meta property `requestId`. It is supported for both simple and batched transactions ([#7415](https://github.com/MetaMask/core/pull/7415))
20
27
 
21
28
  ### Changed
22
29
 
@@ -2028,7 +2035,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2028
2035
 
2029
2036
  All changes listed after this point were applied to this package following the monorepo conversion.
2030
2037
 
2031
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@62.6.0...HEAD
2038
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@62.7.0...HEAD
2039
+ [62.7.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@62.6.0...@metamask/transaction-controller@62.7.0
2032
2040
  [62.6.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@62.5.0...@metamask/transaction-controller@62.6.0
2033
2041
  [62.5.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@62.4.0...@metamask/transaction-controller@62.5.0
2034
2042
  [62.4.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@62.3.1...@metamask/transaction-controller@62.4.0
@@ -391,7 +391,7 @@ class TransactionController extends base_controller_1.BaseController {
391
391
  */
392
392
  async addTransaction(txParams, options) {
393
393
  (0, logger_1.projectLogger)('Adding transaction', txParams, options);
394
- const { actionId, assetsFiatValues, batchId, deviceConfirmedOn, disableGasBuffer, gasFeeToken, isGasFeeIncluded, isGasFeeSponsored, method, nestedTransactions, networkClientId, origin, publishHook, requireApproval, securityAlertResponse, sendFlowHistory, skipInitialGasEstimate, swaps = {}, traceContext, type, } = options;
394
+ const { actionId, assetsFiatValues, batchId, deviceConfirmedOn, disableGasBuffer, gasFeeToken, isGasFeeIncluded, isGasFeeSponsored, method, nestedTransactions, networkClientId, origin, publishHook, requestId, requireApproval, securityAlertResponse, sendFlowHistory, skipInitialGasEstimate, swaps = {}, traceContext, type, } = options;
395
395
  // eslint-disable-next-line no-param-reassign
396
396
  txParams = (0, utils_2.normalizeTransactionParams)(txParams);
397
397
  if (!__classPrivateFieldGet(this, _TransactionController_multichainTrackingHelper, "f").has(networkClientId)) {
@@ -449,6 +449,7 @@ class TransactionController extends base_controller_1.BaseController {
449
449
  nestedTransactions,
450
450
  networkClientId,
451
451
  origin,
452
+ requestId,
452
453
  securityAlertResponse,
453
454
  selectedGasFeeToken: gasFeeToken,
454
455
  status: types_1.TransactionStatus.unapproved,