@metamask-previews/composable-controller
Advanced tools
Comparing version 9.0.1-preview-e46fca9e to 9.0.1-preview-e644b4f
@@ -10,2 +10,12 @@ # Changelog | ||
### Changed | ||
- **BREAKING:** `ComposableController` constructor option `controllers` and generic type argument `ChildControllers` are re-defined from an array of controller instances to an object that maps controller names to controller instances ([#4968](https://github.com/MetaMask/core/pull/4968)) | ||
- **BREAKING:** `ComposableController` class field objects `state` and `metadata` exclude child controllers that do not extend from `BaseController` or `BaseControllerV1`. Any non-controller entries that are passed into the constructor will be removed automatically ([#4968](https://github.com/MetaMask/core/pull/4968)) | ||
### Fixed | ||
- **BREAKING:** `ComposableController` class field object `metadata` now assigns the `StateMetadataProperty`-type object `{ persist: true, anonymous: true }` to each child controller name ([#4968](https://github.com/MetaMask/core/pull/4968)) | ||
- Previously, V2 child controllers were erroneously assigned their own metadata object. This issue was introduced in `@metamask/base-controller@6.0.0`. | ||
## [9.0.1] | ||
@@ -12,0 +22,0 @@ |
{ | ||
"name": "@metamask-previews/composable-controller", | ||
"version": "9.0.1-preview-e46fca9e", | ||
"version": "9.0.1-preview-e644b4f", | ||
"description": "Consolidates the state from multiple controllers into one", | ||
@@ -50,7 +50,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@metamask/base-controller": "^7.0.1" | ||
"@metamask/base-controller": "^7.0.2" | ||
}, | ||
"devDependencies": { | ||
"@metamask/auto-changelog": "^3.4.4", | ||
"@metamask/json-rpc-engine": "^9.0.3", | ||
"@metamask/json-rpc-engine": "^10.0.1", | ||
"@types/jest": "^27.4.1", | ||
@@ -57,0 +57,0 @@ "deepmerge": "^4.2.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70032
192