@metamask/transaction-controller 40.1.0 → 41.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.
Files changed (64) hide show
  1. package/CHANGELOG.md +23 -1
  2. package/dist/TransactionController.cjs +114 -227
  3. package/dist/TransactionController.cjs.map +1 -1
  4. package/dist/TransactionController.d.cts +96 -52
  5. package/dist/TransactionController.d.cts.map +1 -1
  6. package/dist/TransactionController.d.mts +96 -52
  7. package/dist/TransactionController.d.mts.map +1 -1
  8. package/dist/TransactionController.mjs +115 -228
  9. package/dist/TransactionController.mjs.map +1 -1
  10. package/dist/helpers/EtherscanRemoteTransactionSource.cjs +13 -12
  11. package/dist/helpers/EtherscanRemoteTransactionSource.cjs.map +1 -1
  12. package/dist/helpers/EtherscanRemoteTransactionSource.d.cts.map +1 -1
  13. package/dist/helpers/EtherscanRemoteTransactionSource.d.mts.map +1 -1
  14. package/dist/helpers/EtherscanRemoteTransactionSource.mjs +13 -12
  15. package/dist/helpers/EtherscanRemoteTransactionSource.mjs.map +1 -1
  16. package/dist/helpers/GasFeePoller.cjs +4 -4
  17. package/dist/helpers/GasFeePoller.cjs.map +1 -1
  18. package/dist/helpers/GasFeePoller.d.cts +1 -1
  19. package/dist/helpers/GasFeePoller.d.cts.map +1 -1
  20. package/dist/helpers/GasFeePoller.d.mts +1 -1
  21. package/dist/helpers/GasFeePoller.d.mts.map +1 -1
  22. package/dist/helpers/GasFeePoller.mjs +4 -4
  23. package/dist/helpers/GasFeePoller.mjs.map +1 -1
  24. package/dist/helpers/IncomingTransactionHelper.cjs +18 -11
  25. package/dist/helpers/IncomingTransactionHelper.cjs.map +1 -1
  26. package/dist/helpers/IncomingTransactionHelper.d.cts.map +1 -1
  27. package/dist/helpers/IncomingTransactionHelper.d.mts.map +1 -1
  28. package/dist/helpers/IncomingTransactionHelper.mjs +19 -12
  29. package/dist/helpers/IncomingTransactionHelper.mjs.map +1 -1
  30. package/dist/helpers/MethodDataHelper.cjs +78 -0
  31. package/dist/helpers/MethodDataHelper.cjs.map +1 -0
  32. package/dist/helpers/MethodDataHelper.d.cts +14 -0
  33. package/dist/helpers/MethodDataHelper.d.cts.map +1 -0
  34. package/dist/helpers/MethodDataHelper.d.mts +14 -0
  35. package/dist/helpers/MethodDataHelper.d.mts.map +1 -0
  36. package/dist/helpers/MethodDataHelper.mjs +71 -0
  37. package/dist/helpers/MethodDataHelper.mjs.map +1 -0
  38. package/dist/helpers/MultichainTrackingHelper.cjs +87 -104
  39. package/dist/helpers/MultichainTrackingHelper.cjs.map +1 -1
  40. package/dist/helpers/MultichainTrackingHelper.d.cts +16 -22
  41. package/dist/helpers/MultichainTrackingHelper.d.cts.map +1 -1
  42. package/dist/helpers/MultichainTrackingHelper.d.mts +16 -22
  43. package/dist/helpers/MultichainTrackingHelper.d.mts.map +1 -1
  44. package/dist/helpers/MultichainTrackingHelper.mjs +88 -109
  45. package/dist/helpers/MultichainTrackingHelper.mjs.map +1 -1
  46. package/dist/helpers/PendingTransactionTracker.cjs +24 -22
  47. package/dist/helpers/PendingTransactionTracker.cjs.map +1 -1
  48. package/dist/helpers/PendingTransactionTracker.d.cts.map +1 -1
  49. package/dist/helpers/PendingTransactionTracker.d.mts.map +1 -1
  50. package/dist/helpers/PendingTransactionTracker.mjs +24 -22
  51. package/dist/helpers/PendingTransactionTracker.mjs.map +1 -1
  52. package/dist/types.cjs.map +1 -1
  53. package/dist/types.d.cts +3 -3
  54. package/dist/types.d.cts.map +1 -1
  55. package/dist/types.d.mts +3 -3
  56. package/dist/types.d.mts.map +1 -1
  57. package/dist/types.mjs.map +1 -1
  58. package/dist/utils/etherscan.cjs +2 -1
  59. package/dist/utils/etherscan.cjs.map +1 -1
  60. package/dist/utils/etherscan.d.cts.map +1 -1
  61. package/dist/utils/etherscan.d.mts.map +1 -1
  62. package/dist/utils/etherscan.mjs +3 -2
  63. package/dist/utils/etherscan.mjs.map +1 -1
  64. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [41.0.0]
11
+
12
+ ### Added
13
+
14
+ - **BREAKING:** Remove global network usage ([#4920](https://github.com/MetaMask/core/pull/4920))
15
+ - Add required `networkClientId` argument to `handleMethodData` method.
16
+
17
+ ### Changed
18
+
19
+ - **BREAKING:** Remove global network usage ([#4920](https://github.com/MetaMask/core/pull/4920))
20
+ - Require `networkClientId` option in `addTransaction` method.
21
+ - Require `networkClientId` property in `TransactionMeta` type.
22
+ - Change `wipeTransactions` method arguments to optional object containing `address` and `chainId` properties.
23
+ - Require `networkClientId` argument in `estimateGas`, `estimateGasBuffered` and `getNonceLock` methods.
24
+
25
+ ### Removed
26
+
27
+ - **BREAKING:** Remove global network usage ([#4920](https://github.com/MetaMask/core/pull/4920))
28
+ - Remove the `blockTracker`, `isMultichainEnabled`, `onNetworkStateChange` and `provider` constructor options.
29
+ - Remove `filterToCurrentNetwork` option from `getTransactions` method.
30
+
10
31
  ## [40.1.0]
11
32
 
12
33
  ### Added
@@ -1142,7 +1163,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1142
1163
 
1143
1164
  All changes listed after this point were applied to this package following the monorepo conversion.
1144
1165
 
1145
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@40.1.0...HEAD
1166
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@41.0.0...HEAD
1167
+ [41.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@40.1.0...@metamask/transaction-controller@41.0.0
1146
1168
  [40.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@40.0.0...@metamask/transaction-controller@40.1.0
1147
1169
  [40.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@39.1.0...@metamask/transaction-controller@40.0.0
1148
1170
  [39.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@39.0.0...@metamask/transaction-controller@39.1.0