@metamask-previews/assets-controller 20.2.2-preview-46de95678 → 20.2.2-preview-9b251c589
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 +4 -0
- package/dist/AssetsController.js +6 -6
- package/dist/AssetsController.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Include `assetsInfo`, `assetsBalance`, `assetsPrice`, `customAssets`, `assetPreferences` and `selectedCurrency` in state logs (`includeInStateLogs: true`) so support can investigate asset issues ([#11319](https://github.com/MetaMask/core/pull/11319))
|
|
13
|
+
|
|
10
14
|
## [20.2.2]
|
|
11
15
|
|
|
12
16
|
### Changed
|
package/dist/AssetsController.js
CHANGED
|
@@ -131,37 +131,37 @@ export function getDefaultAssetsControllerState() {
|
|
|
131
131
|
const stateMetadata = {
|
|
132
132
|
assetsInfo: {
|
|
133
133
|
persist: true,
|
|
134
|
-
includeInStateLogs:
|
|
134
|
+
includeInStateLogs: true,
|
|
135
135
|
includeInDebugSnapshot: false,
|
|
136
136
|
usedInUi: true,
|
|
137
137
|
},
|
|
138
138
|
assetsBalance: {
|
|
139
139
|
persist: true,
|
|
140
|
-
includeInStateLogs:
|
|
140
|
+
includeInStateLogs: true,
|
|
141
141
|
includeInDebugSnapshot: false,
|
|
142
142
|
usedInUi: true,
|
|
143
143
|
},
|
|
144
144
|
assetsPrice: {
|
|
145
145
|
persist: true,
|
|
146
|
-
includeInStateLogs:
|
|
146
|
+
includeInStateLogs: true,
|
|
147
147
|
includeInDebugSnapshot: false,
|
|
148
148
|
usedInUi: true,
|
|
149
149
|
},
|
|
150
150
|
customAssets: {
|
|
151
151
|
persist: true,
|
|
152
|
-
includeInStateLogs:
|
|
152
|
+
includeInStateLogs: true,
|
|
153
153
|
includeInDebugSnapshot: false,
|
|
154
154
|
usedInUi: true,
|
|
155
155
|
},
|
|
156
156
|
assetPreferences: {
|
|
157
157
|
persist: true,
|
|
158
|
-
includeInStateLogs:
|
|
158
|
+
includeInStateLogs: true,
|
|
159
159
|
includeInDebugSnapshot: false,
|
|
160
160
|
usedInUi: true,
|
|
161
161
|
},
|
|
162
162
|
selectedCurrency: {
|
|
163
163
|
persist: true,
|
|
164
|
-
includeInStateLogs:
|
|
164
|
+
includeInStateLogs: true,
|
|
165
165
|
includeInDebugSnapshot: false,
|
|
166
166
|
usedInUi: true,
|
|
167
167
|
},
|