1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/controllers/permissions
Erik Marks 2301d9980e
Wait for extension unlock before processing eth_requestAccounts (#8149)
* eth_requestAccounts: wait on unlock

return error on duplicate eth_requestAccounts
add getUnlockPromise mock to permissions unit tests

* only await unlock if already permitted

* add notification badge for wait on unlock

* fixup

* more fixup

* cleanup

* update keyring controller, us its unlock event

* move keyring update unlock logic to unlock event handler

* fix unit tests

* delete onUnlock handler

* fix eth-keyring-controller resolution

* update eth-keyring-controller
2020-03-23 09:25:55 -07:00
..
enums.js Add permissions controller unit tests (#7969) 2020-03-16 10:13:22 -07:00
index.js Wait for extension unlock before processing eth_requestAccounts (#8149) 2020-03-23 09:25:55 -07:00
methodMiddleware.js Wait for extension unlock before processing eth_requestAccounts (#8149) 2020-03-23 09:25:55 -07:00
permissionsLog.js Add permissions controller unit tests (#7969) 2020-03-16 10:13:22 -07:00
restrictedMethods.js Add permissions controller unit tests (#7969) 2020-03-16 10:13:22 -07:00