1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/app
Mark Stacey 0d6dc380b4
Simplify use of promisified background connection (#8396)
The background connection used in `actions.js` was being promisified
in specific actions. Instead it's now promisified once. This was made
possible by changes in `pify` v5.0.0 that ensure the binding works
correctly when passing in an object to `pify` (e.g. the `this` value
is correctly set to the wrapped background connection).

This async background connection has been temporarily assigned to a
separate variable, until we can transition all of our actions to using
this. This was done to reduce the size of this PR. There are a lot of
actions.
2020-04-23 14:10:15 -03:00
..
components Remove unused network nonce state (#8395) 2020-04-23 13:23:22 -03:00
contexts Migrate "i18n-provider" to new context API (#8213) 2020-03-23 14:07:05 -03:00
css Rewrite checkbox component (#8305) 2020-04-09 18:51:12 -03:00
ducks Remove unused network nonce state (#8395) 2020-04-23 13:23:22 -03:00
helpers Prevent accidental use of globals (#8340) 2020-04-15 14:23:27 -03:00
pages Await completion of markPasswordForgotten (#8381) 2020-04-22 16:15:22 -03:00
selectors Close notification UI if no unapproved confirmations (#8358) 2020-04-20 10:21:57 -07:00
store Simplify use of promisified background connection (#8396) 2020-04-23 14:10:15 -03:00