mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
b87c1b8526
The network controller method `setProviderType` is now async, and the async operation `_setProviderConfig` called at the end of the method is now awaited. Because the only async operation was the last step, this should have no impact upon the flow of execution. The only functional change is that now any callers have the option of waiting until the network switch operation has completed. One such change was made, in the `switch-ethereum-chain` middleware. As a result, an error thrown while the network is switching will now be thrown in this middleware and returned to the dapp as an internal error. Relates to https://github.com/MetaMask/metamask-extension/issues/18587 |
||
---|---|---|
.. | ||
_locales | ||
build-types | ||
fonts | ||
images | ||
manifest | ||
scripts | ||
vendor/trezor | ||
background.html | ||
home.html | ||
loading.html | ||
notification.html | ||
popup.html | ||
trezor-usb-permissions.html |