@metamask/transaction-controller 68.3.0 → 69.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 +16 -1
- package/dist/TransactionController.cjs +14 -1
- package/dist/TransactionController.cjs.map +1 -1
- package/dist/TransactionController.d.cts +27 -4
- package/dist/TransactionController.d.cts.map +1 -1
- package/dist/TransactionController.d.mts +27 -4
- package/dist/TransactionController.d.mts.map +1 -1
- package/dist/TransactionController.mjs +14 -1
- package/dist/TransactionController.mjs.map +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +5 -3
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +5 -3
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs.map +1 -1
- package/dist/utils/gas-fees.cjs +55 -11
- package/dist/utils/gas-fees.cjs.map +1 -1
- package/dist/utils/gas-fees.d.cts +8 -1
- package/dist/utils/gas-fees.d.cts.map +1 -1
- package/dist/utils/gas-fees.d.mts +8 -1
- package/dist/utils/gas-fees.d.mts.map +1 -1
- package/dist/utils/gas-fees.mjs +56 -12
- package/dist/utils/gas-fees.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [69.0.0]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **BREAKING:** Expand saved gas fee support to allow transaction-scoped lookup, saved gas fee estimate levels, and legacy gas price values. Consumers that provide `getSavedGasFees` must now accept `TransactionMeta` instead of a chain ID. ([#8993](https://github.com/MetaMask/core/pull/8993))
|
|
15
|
+
- Bump `@metamask/accounts-controller` from `^39.0.4` to `^39.0.5` ([#9470](https://github.com/MetaMask/core/pull/9470))
|
|
16
|
+
|
|
17
|
+
## [68.4.0]
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Export `generateEIP7702BatchTransaction` utility for building an ERC-7821 `execute(mode, calls)` batch transaction from a list of nested transactions ([#9298](https://github.com/MetaMask/core/pull/9298))
|
|
22
|
+
|
|
10
23
|
## [68.3.0]
|
|
11
24
|
|
|
12
25
|
### Added
|
|
@@ -2571,7 +2584,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
2571
2584
|
|
|
2572
2585
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
2573
2586
|
|
|
2574
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@
|
|
2587
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@69.0.0...HEAD
|
|
2588
|
+
[69.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@68.4.0...@metamask/transaction-controller@69.0.0
|
|
2589
|
+
[68.4.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@68.3.0...@metamask/transaction-controller@68.4.0
|
|
2575
2590
|
[68.3.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@68.2.2...@metamask/transaction-controller@68.3.0
|
|
2576
2591
|
[68.2.2]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@68.2.1...@metamask/transaction-controller@68.2.2
|
|
2577
2592
|
[68.2.1]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@68.2.0...@metamask/transaction-controller@68.2.1
|
|
@@ -224,7 +224,8 @@ class TransactionController extends base_controller_1.BaseController {
|
|
|
224
224
|
__classPrivateFieldSet(this, _TransactionController_beforeSign, hooks?.beforeSign ??
|
|
225
225
|
(() => Promise.resolve({})), "f");
|
|
226
226
|
__classPrivateFieldSet(this, _TransactionController_getPermittedAccounts, getPermittedAccounts, "f");
|
|
227
|
-
__classPrivateFieldSet(this, _TransactionController_getSavedGasFees, getSavedGasFees ??
|
|
227
|
+
__classPrivateFieldSet(this, _TransactionController_getSavedGasFees, getSavedGasFees ??
|
|
228
|
+
((_transactionMeta) => undefined), "f");
|
|
228
229
|
__classPrivateFieldSet(this, _TransactionController_getSimulationConfig, getSimulationConfig ??
|
|
229
230
|
(() => Promise.resolve({})), "f");
|
|
230
231
|
__classPrivateFieldSet(this, _TransactionController_isAutomaticGasFeeUpdateEnabled, isAutomaticGasFeeUpdateEnabled ??
|
|
@@ -305,6 +306,18 @@ class TransactionController extends base_controller_1.BaseController {
|
|
|
305
306
|
destroy() {
|
|
306
307
|
__classPrivateFieldGet(this, _TransactionController_instances, "m", _TransactionController_stopAllTracking).call(this);
|
|
307
308
|
}
|
|
309
|
+
/**
|
|
310
|
+
* @deprecated Incoming transaction support has been removed. This method is retained as a no-op for backwards compatibility.
|
|
311
|
+
*/
|
|
312
|
+
startIncomingTransactionPolling() {
|
|
313
|
+
(0, lodash_1.noop)();
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* @deprecated Incoming transaction support has been removed. This method is retained as a no-op for backwards compatibility.
|
|
317
|
+
*/
|
|
318
|
+
stopIncomingTransactionPolling() {
|
|
319
|
+
(0, lodash_1.noop)();
|
|
320
|
+
}
|
|
308
321
|
/**
|
|
309
322
|
* Handle new method data request.
|
|
310
323
|
*
|