This website requires JavaScript.
Explore
Help
Sign In
m
/
metamask-extension
Watch
1
Star
0
Fork
0
You've already forked metamask-extension
mirror of
https://github.com/kremalicious/metamask-extension.git
synced
2024-12-23 09:52:26 +01:00
Code
6e40a0eb7e
metamask-extension
/
app
/
scripts
/
controllers
/
network
/
index.js
2 lines
77 B
JavaScript
Raw
Normal View
History
Unescape
Escape
NetworkController: Use messenger for events (#18041) 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.
2023-03-30 20:39:36 +02:00
export
{
default
,
NetworkControllerEventTypes
}
from
'./network-controller'
;
Copy Permalink