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
5 years ago
Whymarrh Whitby
a78cf0ef3a
Enable arrow-parens ESLint rule
5 years ago
Erik Marks
b095dc0347
Change "Log In/Out" terminology to "Unlock/Lock" ( #7853 )
...
* log out/in -> lock/unlock
5 years ago
Whymarrh Whitby
25fe4adaa7
Remove usages of xtend from the background scripts ( #7796 )
5 years ago
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
5 years ago
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
5 years ago
Whymarrh Whitby
274a9ecf53
yarn lint --fix
5 years ago
Whymarrh Whitby
c044400a7e
Don't overwrite state when setting inactive timeout
...
Using `#putState` here was clearing the other fields in the store.
5 years ago
Whymarrh Whitby
ab0600ef0b
Add Remind Me Later to SAI migration notification
5 years ago
Whymarrh Whitby
28c4001f52
Update auto-logout to recognize idle time in background ( #6593 )
...
* Fix wording of autoLogoutTimeLimitDescription
* AppStateController and update auto-logout functionality
6 years ago