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
2
Versions
386
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 5.0.1-preview.d392f46 to 5.0.1-preview.dad68d4

8

dist/ComposableController.d.ts

@@ -34,12 +34,4 @@ import { BaseController, BaseControllerV1 } from '@metamask/base-controller';

});
/**
* Flat state representation, one that isn't keyed
* of controller name. Instead, all child controller state is merged
* together into a single, flat object.
*
* @returns Merged state representation of all child controllers.
*/
get flatState(): {};
}
export default ComposableController;
//# sourceMappingURL=ComposableController.d.ts.map

@@ -54,16 +54,2 @@ "use strict";

}
/**
* Flat state representation, one that isn't keyed
* of controller name. Instead, all child controller state is merged
* together into a single, flat object.
*
* @returns Merged state representation of all child controllers.
*/
get flatState() {
let flatState = {};
for (const controller of __classPrivateFieldGet(this, _ComposableController_controllers, "f")) {
flatState = Object.assign(Object.assign({}, flatState), controller.state);
}
return flatState;
}
}

@@ -70,0 +56,0 @@ exports.ComposableController = ComposableController;

2

package.json
{
"name": "@metamask-previews/composable-controller",
"version": "5.0.1-preview.d392f46",
"version": "5.0.1-preview.dad68d4",
"description": "Consolidates the state from multiple controllers into one",

@@ -5,0 +5,0 @@ "keywords": [

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