1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00
metamask-extension/app/scripts/lib
Mark Stacey 37dc19a352
Migrate Sentry settings to environment variables (#11085)
Sentry is now configured with environment variables, rather than with
hard-coded values. This makes it easier to test Sentry functionality
using a different Sentry account, as we did recently during QA of
v9.5.1.

The only change for the normal build process is the introduction of the
`SENTRY_DSN_DEV` variable, which can be set via `.metamaskrc` or via an
environment variable. This determines where error reports are sent. It
still defaults to our team Sentry account's `metamask-testing` project.

The `sentry:publish` script now requires SENTRY_ORG and SENTRY_PROJECT
to be set in order to publish release artifacts. The CircleCI
configuration has been updated with these values, so it should act the
same as it did before. Previously we had used a CLI flag to specify the
organization and project, but Sentry already natively supports these
environment variables [1].

[1]: https://docs.sentry.io/product/cli/configuration/#configuration-values
2021-05-18 13:56:22 -02:30
..
ens-ipfs use chain id for enabling ENS IPFS resolution (#10507) 2021-02-25 05:40:57 -06:00
migrator Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
rpc-method-middleware Fix error behavior of addEthereumChain (#11031) 2021-05-11 09:34:52 -07:00
account-tracker.js Setting balance to 0x0 when the original value is undefined (#10634) 2021-03-12 10:20:33 -05:00
buy-eth-url.js prefer chainId over networkId in most cases (#10594) 2021-03-12 16:23:26 -06:00
buy-eth-url.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
cleanErrorStack.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
cleanErrorStack.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
ComposableObservableStore.js Replace uses of hasOwnProperty.call with simpler alternatives (#11009) 2021-05-11 14:09:17 -02:30
ComposableObservableStore.test.js Replace uses of hasOwnProperty.call with simpler alternatives (#11009) 2021-05-11 14:09:17 -02:30
createLoggerMiddleware.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
createMetaRPCHandler.js return early from metaRPCHandler if stream has ended (#11065) 2021-05-12 15:12:46 -07:00
createMetaRPCHandler.test.js return early from metaRPCHandler if stream has ended (#11065) 2021-05-12 15:12:46 -07:00
createOnboardingMiddleware.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
createOriginMiddleware.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
createStreamSink.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
createTabIdMiddleware.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
decrypt-message-manager.js upgrade ethereumjs util (#10886) 2021-04-16 10:05:13 -05:00
encryption-public-key-manager.js fix: replace dnode background with JSON-RPC (#10627) 2021-03-18 11:23:46 -07:00
extractEthjsErrorMessage.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
get-first-preferred-lang-code.js Replace uses of hasOwnProperty.call with simpler alternatives (#11009) 2021-05-11 14:09:17 -02:30
getObjStructure.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
local-store.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
message-manager.js upgrade ethereumjs util (#10886) 2021-04-16 10:05:13 -05:00
message-manager.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
metaRPCClientFactory.js fix metaRPCClientFactory id handling (#11116) 2021-05-17 14:46:00 -07:00
metaRPCClientFactory.test.js fix metaRPCClientFactory id handling (#11116) 2021-05-17 14:46:00 -07:00
network-store.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
nodeify.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
nodeify.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
notification-manager.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
personal-message-manager.js upgrade ethereumjs util (#10886) 2021-04-16 10:05:13 -05:00
personal-message-manager.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
seed-phrase-verifier.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
seed-phrase-verifier.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
segment.js use one segment instance (#10915) 2021-04-26 11:05:43 -05:00
setupSentry.js Migrate Sentry settings to environment variables (#11085) 2021-05-18 13:56:22 -02:30
stream-utils.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
typed-message-manager.js create safer isValidAddress method (#11089) 2021-05-17 14:00:59 -05:00
typed-message-manager.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
util.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
util.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00