1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app
Mark Stacey dbe77289d3
Make initializeProvider and lookupNetwork async (#16881)
* Make `initializeProvider` and `lookupNetwork` async

These two methods were "synchronous" previously, but initiated an
asynchronous operation. They have both been made `async` to bring them
more in-line with the mobile controller API, and to make them easier
to test.

This should include zero functional changes. These methods are still
being invoked without an `await`, to preserve the same behaviour they
had previously.

This relates to https://github.com/MetaMask/controllers/issues/971

* Move 'net_version' query to private function

* Fix error made when resolving conflicts

* Refactor to improve readability
2022-12-16 13:03:22 -03:30
..
_locales onboardingV2: fix privacy policy in spanish (#16918) 2022-12-14 00:16:10 +07:00
build-types BETA - Update to sentence case (#16590) 2022-11-21 08:44:46 -06:00
fonts
images Add Celo to the popular custom network list (#16745) 2022-12-07 14:13:37 -06:00
manifest Revert "Fix permissions in MV3 manifest (#15980)" (#16021) 2022-09-30 20:00:59 +05:30
scripts Make initializeProvider and lookupNetwork async (#16881) 2022-12-16 13:03:22 -03:30
vendor/trezor
background.html Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00
home.html Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00
loading.html
notification.html Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00
popup.html Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00
trezor-usb-permissions.html