1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts
Elliot Winkler b106bbf1d9
Remove extraneous methods from NetworkController (#17522)
The network controller has a variety of methods that just retrieve
controller state. These methods are not necessary because controller
state is already part of the public API of the controller and can be
accessed directly.

These methods are:

- getCurrentChainId
- getCurrentRpcUrl
- getNetworkIdentifier
- getNetworkState
- getProviderConfig
- isNetworkLoading

This is part of a larger effort to normalize the API of both network
controllers, to make them easier to merge.
2023-02-22 10:43:37 -07:00
..
account-import-strategies Use async/await instead of Promise.resolve (#16221) 2023-01-20 14:20:18 -06:00
constants Convert app/scripts/constants -> Typescript (#17327) 2023-01-20 13:33:01 -07:00
controllers Remove extraneous methods from NetworkController (#17522) 2023-02-22 10:43:37 -07:00
lib Add desktop support (#17683) 2023-02-20 17:13:12 +00:00
migrations UX: Move Portfolio link to its own button (#17722) 2023-02-21 09:32:08 -06:00
platforms Add desktop support (#17683) 2023-02-20 17:13:12 +00:00
app-init.js Keep memstore contents after service worker restarts (#15913) 2022-11-22 20:56:26 +04:00
background.js Remove extraneous methods from NetworkController (#17522) 2023-02-22 10:43:37 -07:00
contentscript.js Handle extension unloaded and reloaded error: "Extension context invalidated" during dapp use for chromium browsers (#16306) 2022-12-12 19:24:12 +07:00
detect-multiple-instances.js
detect-multiple-instances.test.js
disable-console.js
first-time-state.js
init-globals.js
inpage.js MV3: contentscript.js - re-activate streams when Service Worker terminates and then resets (#15494) 2022-09-13 14:20:08 -07:00
lockdown-more.js Activate LavaMoat scuttling security feature (#17276) 2023-01-24 19:00:35 +02:00
lockdown-run.js
metamask-controller.actions.test.js Security provider check (OpenSea) (#16584) 2023-01-23 20:02:01 +05:30
metamask-controller.js Remove extraneous methods from NetworkController (#17522) 2023-02-22 10:43:37 -07:00
metamask-controller.test.js Disable eth_sign by default, allow users to toggle it back on (#17308) 2023-02-06 13:17:50 -03:30
sentry-install.js refactor sentryHooks object (#16435) 2022-11-09 19:28:32 +00:00
ui.js scripts/ui: add tabs.query promise error handler (#16915) 2022-12-14 01:21:32 +07:00
use-snow.js Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00