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
Mark Stacey 507c2cb475
Capture Sentry errors prior to initialization (#20265)
* Capture Sentry errors prior to initialization

Sentry errors captured before/during the wallet initialization are
currently not captured because we don't have the controller state yet
to determine whether the user has consented.

The Sentry setup has been updated to check the persisted state for
whether the user has consented, as a fallback in case the controller
state hasn't been initialized yet. This ensures that we capture errors
during initialization if the user has opted in.

* Always await async check for whether the user has opted in

* Remove unused import

* Update JSDoc return type

* Remove unused driver method

* Fix metametrics controller unit tests

* Fix e2e tests

* Fix e2e test on Firefox

* Start session upon install rather than toggle
2023-07-31 18:49:32 -02:30
..
ens
permissions [FLASK] Add Snaps Keyring (#19710) 2023-06-29 09:24:08 -04:00
transactions feat: implement swap event metric e2e test (#20129) 2023-07-28 19:57:06 +01:00
alert.js
app-state.js Remove unnecessary log from accept approval (#20233) 2023-07-31 11:06:18 +01:00
app-state.test.js Remove unnecessary log from accept approval (#20233) 2023-07-31 11:06:18 +01:00
backup.js Replace NetworkController w/ core version (#19486) 2023-06-22 12:46:09 -06:00
backup.test.js Replace NetworkController w/ core version (#19486) 2023-06-22 12:46:09 -06:00
cached-balances.js
cached-balances.test.js
decrypt-message.test.ts Consume Decrypt Message Manager from @metamask/message-manager (#18379) 2023-04-26 17:02:33 +02:00
decrypt-message.ts Accept SignController approval request from frontend (#19184) 2023-06-20 15:37:09 +02:00
detect-tokens.js Replace NetworkController w/ core version (#19486) 2023-06-22 12:46:09 -06:00
detect-tokens.test.js Replace NetworkController w/ core version (#19486) 2023-06-22 12:46:09 -06:00
encryption-public-key.test.ts Use getKeyringForAccount from core KeyringController (#20202) 2023-07-28 20:09:14 +01:00
encryption-public-key.ts Use getKeyringForAccount from core KeyringController (#20202) 2023-07-28 20:09:14 +01:00
incoming-transactions.js Enforce user preferences in incoming transactions controller (#19982) 2023-07-18 16:21:30 -04:00
incoming-transactions.test.js Enforce user preferences in incoming transactions controller (#19982) 2023-07-18 16:21:30 -04:00
metametrics.js Capture Sentry errors prior to initialization (#20265) 2023-07-31 18:49:32 -02:30
metametrics.test.js Capture Sentry errors prior to initialization (#20265) 2023-07-31 18:49:32 -02:30
mmi-controller.js Use the networkController instead of preferencesController (#20127) 2023-07-24 11:00:57 +02:00
mmi-controller.test.js [MMI] Handle personal sign and sign typed operations (#20087) 2023-07-21 16:52:47 +01:00
onboarding.js
preferences.js Allow user to turn off ENS DNS resolution (#20102) 2023-07-28 11:21:43 -05:00
preferences.test.js
swaps.js Replace NetworkController w/ core version (#19486) 2023-06-22 12:46:09 -06:00
swaps.test.js Replace NetworkController w/ core version (#19486) 2023-06-22 12:46:09 -06:00