@metamask-previews/permission-controller 11.0.6-preview-ea6406b3 → 11.0.6-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.0.0` to `^8.3.0` ([#5722](https://github.com/MetaMask/core/pull/5722), [#6284](https://github.com/MetaMask/core/pull/6284), [#6355](https://github.com/MetaMask/core/pull/6355), [#6465](https://github.com/MetaMask/core/pull/6465))
@@ -33,7 +33,14 @@ const controllerName = 'PermissionController';
33
33
  * @returns The state metadata
34
34
  */
35
35
  function getStateMetadata() {
36
- return { subjects: { anonymous: true, persist: true } };
36
+ return {
37
+ subjects: {
38
+ includeInStateLogs: true,
39
+ anonymous: true,
40
+ persist: true,
41
+ usedInUi: true,
42
+ },
43
+ };
37
44
  }
38
45
  /**
39
46
  * Get the default state of the {@link PermissionController}.