1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-28 23:06:37 +01:00
metamask-extension/app/scripts/controllers
Elliot Winkler 9b0a6ecc90
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 12:39:36 -06:00
..
ens Fix/use etherjs specific imports (#15461) 2023-01-24 08:10:36 -06:00
network NetworkController: Use messenger for events (#18041) 2023-03-30 12:39:36 -06:00
permissions Revert "Moved subscribe and filter into network controller (#16693)" (#18129) 2023-03-15 12:16:31 -02:30
transactions OpenSea security provider metrics (#17688) 2023-03-23 14:01:51 -03:00
alert.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
app-state.js fix(17855): persist popup when sw is restarted (#17855) 2023-03-02 16:50:00 +00:00
app-state.test.js Adding browser outdated notification (#17027) 2023-02-02 13:56:41 -05:00
backup.js Migrate network configurations (previously frequentRpcListDetail) from PreferencesController to NetworkController (#17421) 2023-03-09 15:00:28 -06:00
backup.test.js Migrate network configurations (previously frequentRpcListDetail) from PreferencesController to NetworkController (#17421) 2023-03-09 15:00:28 -06:00
cached-balances.js remove exclusions for mismatched object jsdoc type casing (#15351) 2022-07-27 08:28:05 -05:00
cached-balances.test.js Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
detect-tokens.js Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
detect-tokens.test.js NetworkController: Use messenger for events (#18041) 2023-03-30 12:39:36 -06:00
incoming-transactions.js Additional incoming transactions support (#14219) 2023-02-14 12:35:42 -06:00
incoming-transactions.test.js Additional incoming transactions support (#14219) 2023-02-14 12:35:42 -06:00
metametrics.js OpenSea security provider metrics (#17688) 2023-03-23 14:01:51 -03:00
metametrics.test.js NetworkController: Use messenger for events (#18041) 2023-03-30 12:39:36 -06:00
onboarding.js Use async/await instead of Promise.resolve (#16221) 2023-01-20 14:20:18 -06:00
preferences.js NetworkController: Use messenger for events (#18041) 2023-03-30 12:39:36 -06:00
preferences.test.js NetworkController: Use messenger for events (#18041) 2023-03-30 12:39:36 -06:00
sign.test.ts Use core message managers and create sign controller (#18163) 2023-03-20 13:19:50 +00:00
sign.ts Use core message managers and create sign controller (#18163) 2023-03-20 13:19:50 +00:00
swaps.js NetworkController: Use messenger for events (#18041) 2023-03-30 12:39:36 -06:00
swaps.test.js NetworkController: Use messenger for events (#18041) 2023-03-30 12:39:36 -06:00