1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00
metamask-extension/app/scripts
Mark Stacey 8d97bdc5c9
Fix error handling when checking for 3Box backup (#7232)
The 3Box SDK throws an HTTP 404 error when attempting to get the config
for an account that doesn't yet exist in 3Box. The regex we were using
to differentiate this error from others was broken. This ended up
preventing the user from logging in if they had 3Box enabled but hadn't
yet synced.

The regex has been corrected to catch this case, while allowing other
errors to propogate upward. Other 3Box errors will now be caught and
reported rather than interrupting login completely.

At some point in the future, we should expose these errors to the user
in some way, and allow them to retry in case 3Box was just temporarily
offline.
2019-10-01 10:01:57 -03:00
..
account-import-strategies account-import-strategies - ensure privateKey is prefixed before converting to buffer 2018-06-13 21:06:33 -07:00
controllers Fix error handling when checking for 3Box backup (#7232) 2019-10-01 10:01:57 -03:00
lib Add a/b test for full screen transaction confirmations (#7162) 2019-09-24 17:08:38 -04:00
migrations Add a/b test for full screen transaction confirmations (#7162) 2019-09-24 17:08:38 -04:00
platforms Close window after opening fullscreen (#6966) 2019-08-08 11:50:32 -03:00
background.js Add a/b test for full screen transaction confirmations (#7162) 2019-09-24 17:08:38 -04:00
chromereload.js Fix console.error references 2016-08-29 17:32:39 -07:00
contentscript.js Remove reload from Share Address button (#6991) 2019-08-09 15:00:59 -02:30
createStandardProvider.js Refactor ProviderApprovalController to use rpc and publicConfigStore (#6410) 2019-05-03 13:32:05 -04:00
edge-encryptor.js Enable indent linting via ESLint (#6936) 2019-07-31 10:17:11 -10:00
first-time-state.js controllers - network - move default config out of first-time-state 2018-05-02 18:03:59 -07:00
inpage.js Add warning about reload on network change 2019-08-21 14:14:35 -03:00
metamask-controller.js Fix error handling when checking for 3Box backup (#7232) 2019-10-01 10:01:57 -03:00
phishing-detect.js Rename accountManager usages (#6790) 2019-07-10 16:31:48 -02:30
README.md add READMEs to folders, re #3427 2018-03-14 15:33:22 +02:00
ui.js Add polyfill for AbortController (#7157) 2019-09-12 17:07:27 -03:00

Main MetaMask Code

This folder contains the core-code.

Currently, it is organized mostly based on file category, like:

controllers, migrations, lib

Ongoing Task

Refactor code-structure, thus the subsystems are reflected on the filesystem.

Examples