@metamask-previews/transaction-controller 60.2.0-preview-ea6406b3 → 60.3.0-preview-1f2cfed
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 +10 -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 +10 -0
- package/dist/TransactionController.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
|
+
## [60.3.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add two new controller state metadata properties: `includeInStateLogs` and `usedInUi` ([#6473](https://github.com/MetaMask/core/pull/6473))
|
|
15
|
+
|
|
10
16
|
### Changed
|
|
11
17
|
|
|
12
18
|
- Update nonce of existing transaction if converted to batch via `batchTransactions` but not first transaction ([#6528](https://github.com/MetaMask/core/pull/6528))
|
|
@@ -1794,7 +1800,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1794
1800
|
|
|
1795
1801
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
1796
1802
|
|
|
1797
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.
|
|
1803
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.3.0...HEAD
|
|
1804
|
+
[60.3.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.2.0...@metamask/transaction-controller@60.3.0
|
|
1798
1805
|
[60.2.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.1.0...@metamask/transaction-controller@60.2.0
|
|
1799
1806
|
[60.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@60.0.0...@metamask/transaction-controller@60.1.0
|
|
1800
1807
|
[60.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@59.2.0...@metamask/transaction-controller@60.0.0
|
|
@@ -68,24 +68,34 @@ const validation_1 = require("./utils/validation.cjs");
|
|
|
68
68
|
*/
|
|
69
69
|
const metadata = {
|
|
70
70
|
transactions: {
|
|
71
|
+
includeInStateLogs: true,
|
|
71
72
|
persist: true,
|
|
72
73
|
anonymous: false,
|
|
74
|
+
usedInUi: true,
|
|
73
75
|
},
|
|
74
76
|
transactionBatches: {
|
|
77
|
+
includeInStateLogs: true,
|
|
75
78
|
persist: true,
|
|
76
79
|
anonymous: false,
|
|
80
|
+
usedInUi: true,
|
|
77
81
|
},
|
|
78
82
|
methodData: {
|
|
83
|
+
includeInStateLogs: true,
|
|
79
84
|
persist: true,
|
|
80
85
|
anonymous: false,
|
|
86
|
+
usedInUi: true,
|
|
81
87
|
},
|
|
82
88
|
lastFetchedBlockNumbers: {
|
|
89
|
+
includeInStateLogs: true,
|
|
83
90
|
persist: true,
|
|
84
91
|
anonymous: false,
|
|
92
|
+
usedInUi: false,
|
|
85
93
|
},
|
|
86
94
|
submitHistory: {
|
|
95
|
+
includeInStateLogs: true,
|
|
87
96
|
persist: true,
|
|
88
97
|
anonymous: false,
|
|
98
|
+
usedInUi: false,
|
|
89
99
|
},
|
|
90
100
|
};
|
|
91
101
|
const SUBMIT_HISTORY_LIMIT = 100;
|