Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask-previews/composable-controller

Package Overview
Dependencies
Maintainers
0
Versions
420
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask-previews/composable-controller - npm Package Compare versions

Comparing version 9.0.1-preview-e46fca9e to 9.0.1-preview-e644b4f

10

CHANGELOG.md

@@ -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 @@

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc