mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
9b0a6ecc90
Currently, the network controller notifies consumers about events by emitting them directly from the controller. In order to migrate the controller to the core repo, where controllers use the BaseControllerV2 interface, events should be emitted via a messenger object. This commit updates the network controller to use a messenger, and then updates all of the controllers that listen for network events to use the messenger as well.
2 lines
77 B
JavaScript
2 lines
77 B
JavaScript
export { default, NetworkControllerEventTypes } from './network-controller';
|