@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 +4 -0
- package/dist/PermissionController.cjs +8 -1
- package/dist/PermissionController.cjs.map +1 -1
- package/dist/PermissionController.d.cts.map +1 -1
- package/dist/PermissionController.d.mts.map +1 -1
- package/dist/PermissionController.mjs +8 -1
- package/dist/PermissionController.mjs.map +1 -1
- package/dist/SubjectMetadataController.cjs +6 -1
- package/dist/SubjectMetadataController.cjs.map +1 -1
- package/dist/SubjectMetadataController.d.cts.map +1 -1
- package/dist/SubjectMetadataController.d.mts.map +1 -1
- package/dist/SubjectMetadataController.mjs +6 -1
- package/dist/SubjectMetadataController.mjs.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
|
+
### 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 {
|
|
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}.
|