Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/base-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- In experimental `next` export, fix the `StatePropertyMetadataConstraint` type ([#6942](https://github.com/MetaMask/core/pull/6942))
- It incorrectly used the old metadata property `anonymous` instead of `includeInDebugSnapshot`

## [8.4.2]

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion packages/base-controller/src/next/BaseController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export type StateDeriverConstraint = (value: never) => Json;
* This type can be assigned to any `StatePropertyMetadata` type.
*/
export type StatePropertyMetadataConstraint = {
anonymous: boolean | StateDeriverConstraint;
includeInDebugSnapshot: boolean | StateDeriverConstraint;
includeInStateLogs?: boolean | StateDeriverConstraint;
persist: boolean | StateDeriverConstraint;
usedInUi?: boolean;
Expand Down
Loading