Skip to content

Commit b579a27

Browse files
authored
Merge branch 'main' into cryptodev-2s/messenger/preferences-controller
2 parents 5130444 + 0bf29e4 commit b579a27

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/base-controller/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- In experimental `next` export, fix the `StatePropertyMetadataConstraint` type ([#6942](https://github.com/MetaMask/core/pull/6942))
13+
- It incorrectly used the old metadata property `anonymous` instead of `includeInDebugSnapshot`
14+
1015
## [8.4.2]
1116

1217
### Fixed

packages/base-controller/src/next/BaseController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export type StateDeriverConstraint = (value: never) => Json;
112112
* This type can be assigned to any `StatePropertyMetadata` type.
113113
*/
114114
export type StatePropertyMetadataConstraint = {
115-
anonymous: boolean | StateDeriverConstraint;
115+
includeInDebugSnapshot: boolean | StateDeriverConstraint;
116116
includeInStateLogs?: boolean | StateDeriverConstraint;
117117
persist: boolean | StateDeriverConstraint;
118118
usedInUi?: boolean;

0 commit comments

Comments
 (0)