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
Whymarrh Whitby
a78cf0ef3a
Enable arrow-parens ESLint rule
2020-02-15 17:04:21 -03:30
Erik Marks
b095dc0347
Change "Log In/Out" terminology to "Unlock/Lock" ( #7853 )
...
* log out/in -> lock/unlock
2020-01-21 14:09:53 -08:00
Whymarrh Whitby
25fe4adaa7
Remove usages of xtend from the background scripts ( #7796 )
2020-01-13 08:59:36 -10:00
Mark Stacey
ac01c5c89a
Consistent jsdoc syntax ( #7755 )
...
* Specify type before parameter name
Various JSDoc `@param` entries were specified as `name {type}` rather
than `{type} name`.
A couple of `@return` entries have been given types as well.
* Use JSDoc optional syntax rather than Closure syntax
* Use @returns rather than @return
* Use consistent built-in type capitalization
Primitive types are lower-case, and Object is upper-case.
* Separate param/return description with a dash
2020-01-13 14:36:36 -04:00
Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ( #7730 )
...
* Update eslint-plugin-import version
* Convert JS files to use ESM
* Update ESLint rules to check imports
* Fix test:unit:global command env
* Cleanup mock-dev script
2020-01-09 00:04:58 -03:30
Whymarrh Whitby
274a9ecf53
yarn lint --fix
2019-12-03 17:20:55 -03:30
Whymarrh Whitby
c044400a7e
Don't overwrite state when setting inactive timeout
...
Using `#putState` here was clearing the other fields in the store.
2019-11-26 17:25:01 -03:30
Whymarrh Whitby
ab0600ef0b
Add Remind Me Later to SAI migration notification
2019-11-19 16:40:00 -03:30
Whymarrh Whitby
28c4001f52
Update auto-logout to recognize idle time in background ( #6593 )
...
* Fix wording of autoLogoutTimeLimitDescription
* AppStateController and update auto-logout functionality
2019-05-13 13:46:09 -02:30