mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 15:50:28 +01:00
80746e67b5
* Improve Sentry state pre-initialization Previously the masked state snapshot sent to Sentry would be blank for errors that occured during initialization. Instead we'll now include some basic information in all cases, and a masked copy of the persisted state if it happens after the first time the persisted state is read. * Add test * Fix crash when persisted state not yet fetched * Add descriptions for initial state hooks * Update comments to reflect recent changes * Re-order imports to follow conventions * Move initial state hooks back to module-level The initial state hooks are now setup at the top-level of their module. This ensures that they're setup prior to later imports. Calling a function to setup these hooks in the entrypoint module wouldn't accomplish this even if it was run "before" the imports because ES6 imports always get hoisted to the top of the file. The `localStore` instance wasn't available statically, so a new state hook was introduced for retrieving the most recent retrieved persisted state. * Fix error e2e tests |
||
---|---|---|
.. | ||
ens-ipfs | ||
middleware | ||
migrator | ||
rpc-method-middleware | ||
segment | ||
account-tracker.js | ||
account-tracker.test.js | ||
cleanErrorStack.js | ||
cleanErrorStack.test.js | ||
ComposableObservableStore.js | ||
ComposableObservableStore.test.js | ||
createDupeReqFilterMiddleware.js | ||
createDupeReqFilterMiddleware.test.js | ||
createLoggerMiddleware.js | ||
createMetamaskMiddleware.js | ||
createMetaRPCHandler.js | ||
createMetaRPCHandler.test.js | ||
createOnboardingMiddleware.js | ||
createOriginMiddleware.js | ||
createRPCMethodTrackingMiddleware.js | ||
createRPCMethodTrackingMiddleware.test.js | ||
createStreamSink.js | ||
createTabIdMiddleware.js | ||
extractEthjsErrorMessage.js | ||
get-first-preferred-lang-code.js | ||
getObjStructure.js | ||
local-store.js | ||
local-store.test.js | ||
metaRPCClientFactory.js | ||
metaRPCClientFactory.test.js | ||
network-store.js | ||
notification-manager.js | ||
notification-manager.test.ts | ||
security-provider-helpers.test.ts | ||
security-provider-helpers.ts | ||
seed-phrase-verifier.js | ||
seed-phrase-verifier.test.js | ||
sentry-filter-events.ts | ||
setup-initial-state-hooks.js | ||
setupSentry.js | ||
setupSentry.test.js | ||
stream-utils.js | ||
util.test.js | ||
util.ts |