1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/store
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
..
actionConstants.js Remove unused network nonce state (#8395) 2020-04-23 13:23:22 -03:00
actions.js Simplify use of promisified background connection (#8396) 2020-04-23 14:10:15 -03:00
store.js Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30