@metamask-previews/transaction-controller 69.6.1-preview-36bc195a7 → 69.7.0-preview-a38f058
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 +8 -1
- package/dist/TransactionController.cjs +7 -0
- package/dist/TransactionController.cjs.map +1 -1
- package/dist/TransactionController.d.cts +2 -0
- package/dist/TransactionController.d.cts.map +1 -1
- package/dist/TransactionController.d.mts +2 -0
- package/dist/TransactionController.d.mts.map +1 -1
- package/dist/TransactionController.mjs +7 -0
- package/dist/TransactionController.mjs.map +1 -1
- package/dist/utils/batch.cjs +50 -14
- package/dist/utils/batch.cjs.map +1 -1
- package/dist/utils/batch.d.cts.map +1 -1
- package/dist/utils/batch.d.mts.map +1 -1
- package/dist/utils/batch.mjs +50 -14
- package/dist/utils/batch.mjs.map +1 -1
- package/package.json +1 -1
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
|
+
## [69.7.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add transient `batchTransactionCounts` state so clients can track how many TransactionController transactions an active batch requires ([#9897](https://github.com/MetaMask/core/pull/9897))
|
|
15
|
+
|
|
10
16
|
### Changed
|
|
11
17
|
|
|
12
18
|
- Bump `@metamask/remote-feature-flag-controller` from `^6.0.0` to `^6.1.0` ([#9980](https://github.com/MetaMask/core/pull/9980))
|
|
@@ -2701,7 +2707,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
2701
2707
|
|
|
2702
2708
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
2703
2709
|
|
|
2704
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@69.
|
|
2710
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@69.7.0...HEAD
|
|
2711
|
+
[69.7.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@69.6.1...@metamask/transaction-controller@69.7.0
|
|
2705
2712
|
[69.6.1]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@69.6.0...@metamask/transaction-controller@69.6.1
|
|
2706
2713
|
[69.6.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@69.5.2...@metamask/transaction-controller@69.6.0
|
|
2707
2714
|
[69.5.2]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@69.5.1...@metamask/transaction-controller@69.5.2
|
|
@@ -63,6 +63,12 @@ const validation_js_1 = require("./utils/validation.cjs");
|
|
|
63
63
|
* the state and which parts should be persisted.
|
|
64
64
|
*/
|
|
65
65
|
const metadata = {
|
|
66
|
+
batchTransactionCounts: {
|
|
67
|
+
includeInStateLogs: true,
|
|
68
|
+
persist: false,
|
|
69
|
+
includeInDebugSnapshot: false,
|
|
70
|
+
usedInUi: true,
|
|
71
|
+
},
|
|
66
72
|
transactions: {
|
|
67
73
|
includeInStateLogs: true,
|
|
68
74
|
persist: true,
|
|
@@ -122,6 +128,7 @@ var ApprovalState;
|
|
|
122
128
|
*/
|
|
123
129
|
function getDefaultTransactionControllerState() {
|
|
124
130
|
return {
|
|
131
|
+
batchTransactionCounts: {},
|
|
125
132
|
methodData: {},
|
|
126
133
|
transactions: [],
|
|
127
134
|
transactionBatches: [],
|