@metamask-previews/transaction-controller 69.6.1-preview-878689a26 → 69.7.0-preview-64bce4b11
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 +5 -2
- 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/index.cjs +1 -2
- 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/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/dist/utils/recipient.cjs +1 -71
- package/dist/utils/recipient.cjs.map +1 -1
- package/dist/utils/recipient.d.cts +0 -22
- package/dist/utils/recipient.d.cts.map +1 -1
- package/dist/utils/recipient.d.mts +0 -22
- package/dist/utils/recipient.d.mts.map +1 -1
- package/dist/utils/recipient.mjs +0 -69
- package/dist/utils/recipient.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,9 +7,11 @@ 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
|
+
|
|
10
12
|
### Added
|
|
11
13
|
|
|
12
|
-
-
|
|
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))
|
|
13
15
|
|
|
14
16
|
### Changed
|
|
15
17
|
|
|
@@ -2705,7 +2707,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
2705
2707
|
|
|
2706
2708
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
2707
2709
|
|
|
2708
|
-
[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
|
|
2709
2712
|
[69.6.1]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@69.6.0...@metamask/transaction-controller@69.6.1
|
|
2710
2713
|
[69.6.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@69.5.2...@metamask/transaction-controller@69.6.0
|
|
2711
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: [],
|