@metamask-previews/composable-controller
Advanced tools
Comparing version 9.0.1-preview-9c79590a to 9.0.1-preview-9d476a5
@@ -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. | ||
- **BREAKING:** `ComposableController` `state` field and `metadata` objects exclude child controllers that do not extend from `BaseController` or `BaseControllerV1`. | ||
## Fixed | ||
- **BREAKING:** `ComposableController` `metadata` field object now correctly populates `BaseControllerV1` controller properties with a metadata object that maps state property names to `StateMetadataProperty` type objects. | ||
- Previously, during `metadata` object instantiation, `BaseControllerV1` controllers were assigned the object `{ persist: true, anonymous: true }`, and their state properties were overwritten. | ||
## [9.0.1] | ||
@@ -12,0 +22,0 @@ |
{ | ||
"name": "@metamask-previews/composable-controller", | ||
"version": "9.0.1-preview-9c79590a", | ||
"version": "9.0.1-preview-9d476a5", | ||
"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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
70418
188
0