@metamask-previews/network-controller 24.1.0-preview-ea6406b3 → 24.1.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 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
+ ### Added
11
+
12
+ - Add two new controller state metadata properties: `includeInStateLogs` and `usedInUi` ([#6525](https://github.com/MetaMask/core/pull/6525))
13
+
10
14
  ### Changed
11
15
 
12
16
  - Bump `@metamask/base-controller` from `^8.1.0` to `^8.3.0` ([#6355](https://github.com/MetaMask/core/pull/6355), [#6465](https://github.com/MetaMask/core/pull/6465))
@@ -386,16 +386,22 @@ class NetworkController extends base_controller_1.BaseController {
386
386
  name: controllerName,
387
387
  metadata: {
388
388
  selectedNetworkClientId: {
389
+ includeInStateLogs: true,
389
390
  persist: true,
390
391
  anonymous: false,
392
+ usedInUi: true,
391
393
  },
392
394
  networksMetadata: {
395
+ includeInStateLogs: true,
393
396
  persist: true,
394
397
  anonymous: false,
398
+ usedInUi: true,
395
399
  },
396
400
  networkConfigurationsByChainId: {
401
+ includeInStateLogs: true,
397
402
  persist: true,
398
403
  anonymous: false,
404
+ usedInUi: true,
399
405
  },
400
406
  },
401
407
  messenger,