Brad Decker
e28db07a1b
Set sentry autoTrackSessions default ( #20132 )
...
* Set sentry autoTrackSessions default
* endSession....
* fixup
* updated comment
* prevent breaking devmode
* remove changes to beforeSend
* remove additional usage of sinon
2023-07-26 07:13:28 -05:00
Peter Yinusa
6cca9892b2
refactor sentryHooks object ( #16435 )
2022-11-09 19:28:32 +00:00
Mark Stacey
35dbdbc438
Replace lavamoat-runtime.js
patch ( #15682 )
...
A patch made in #15672 was found to be unnecessary. Instead of setting
a `rootGlobals` object upon construction of the root compartment, we
are now creating a `sentryHooks` object in the initial top-level
compartment. I hadn't realized at the time that the root compartment
would inherit all properties of the initial compartment `globalThis`.
This accomplishes the same goals as #15672 except without needing a
patch.
2022-08-24 09:50:45 -02:30
Mark Stacey
d55507615c
Fix Sentry in LavaMoat contexts ( #15672 )
...
Our Sentry setup relies upon application state, but it wasn't able to
access it in LavaMoat builds because it's running in a separate
Compartment.
A patch has been introduced to the LavaMoat runtime to allow the root
Compartment to mutate the `rootGlobals` object, which is accessible
from outside the compartment as well. This lets us expose application
state to our Sentry integration.
2022-08-23 11:12:50 -02:30
kumavis
9f4820ee98
Build - refactor for bundle factoring and swappable runtime ( #11080 )
...
* wip
* build - breakout sentry-install bundle
* deps - move new build sys deps to published versions
* chore: lint fix
* clean - remove unused file
* clean - remove unsused package script
* lavamoat - update build system policy
* build - render html to all platforms
* development - improve sourcemap debugger output
* deps - update lavapack
* lint - fix
* deps - update lavapack for bugfix
* deps - update lavapack for bugfix
* deps - bump lavapack for line ending normalization
* sourcemap explorer - disable boundary validation
* ci - reset normal ci flow
* build - re-enable minification on prod
* build - remove noisy log about html dest
* build - update terser and remove gulp wrapper for sourcemap fix
* Revert "sourcemap explorer - disable boundary validation"
This reverts commit 94112209ed880a6ebf4ee2ded411e59db6908162.
* build - reenable react-devtools in dev mode
* wip
* build - breakout sentry-install bundle
* deps - move new build sys deps to published versions
* chore: lint fix
* clean - remove unused file
* clean - remove unsused package script
* lavamoat - update build system policy
* build - render html to all platforms
* development - improve sourcemap debugger output
* deps - update lavapack
* lint - fix
* deps - update lavapack for bugfix
* deps - update lavapack for bugfix
* deps - bump lavapack for line ending normalization
* sourcemap explorer - disable boundary validation
* ci - reset normal ci flow
* build - re-enable minification on prod
* build - remove noisy log about html dest
* build - update terser and remove gulp wrapper for sourcemap fix
* Revert "sourcemap explorer - disable boundary validation"
This reverts commit 94112209ed880a6ebf4ee2ded411e59db6908162.
* build - reenable react-devtools in dev mode
* Updating lockfile
* lint fix
* build/dev - patch watchifys incompatible binary stats output
* ui - add comment about conditional import
* build - improve comment
* Update development/stream-flat-map.js
Co-authored-by: Brad Decker <git@braddecker.dev>
* Outputting all bundle file links (metamaskbot)
Co-authored-by: ryanml <ryanlanese@gmail.com>
Co-authored-by: Brad Decker <git@braddecker.dev>
2021-07-15 10:59:34 -07:00