File tree Expand file tree Collapse file tree 3 files changed +143
-98
lines changed Expand file tree Collapse file tree 3 files changed +143
-98
lines changed Original file line number Diff line number Diff line change 11{
22 "private" : true ,
33 "dependencies" : {
4- "@sentry/browser" : " ^7.18 .0" ,
5- "@sentry/core" : " ^7.18 .0" ,
6- "@sentry/hub" : " ^7.18 .0" ,
7- "@sentry/react" : " ^7.18 .0" ,
4+ "@sentry/browser" : " ^7.47 .0" ,
5+ "@sentry/core" : " ^7.47 .0" ,
6+ "@sentry/hub" : " ^7.47 .0" ,
7+ "@sentry/react" : " ^7.47 .0" ,
88 "@sentry/replay" : " ^0.6.14-6" ,
9- "@sentry/tracing" : " ^7.18 .0" ,
10- "@sentry/types" : " ^7.18 .0" ,
11- "@sentry/utils" : " ^7.18 .0" ,
9+ "@sentry/tracing" : " ^7.47 .0" ,
10+ "@sentry/types" : " ^7.47 .0" ,
11+ "@sentry/utils" : " ^7.47 .0" ,
1212 "jest-environment-jsdom-sixteen" : " ^2.0.0" ,
1313 "prop-types" : " ^15.5.10" ,
1414 "react" : " ^15.6.1" ,
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import ReactDOM from 'react-dom' ;
33import * as Sentry from '@sentry/react' ;
4- import { BrowserTracing } from '@sentry/tracing' ;
5- import { Replay } from '@sentry/replay' ;
64
75import './index.css' ;
86import App from './App' ;
@@ -12,15 +10,14 @@ if (process.env.REACT_APP_SENTRY_DSN) {
1210 debug : true ,
1311 dsn : process . env . REACT_APP_SENTRY_DSN ,
1412 release : process . env . REACT_APP_GIT_SHA ,
13+ replaysSessionSampleRate : 1.0 ,
14+ tracesSampleRate : 1.0 ,
1515 integrations : [
16- new BrowserTracing ( {
16+ new Sentry . BrowserTracing ( {
1717 tracingOrigins : [ 'sourcemaps.io' ]
1818 } ) ,
19- new Replay ( {
20- sessionSampleRate : 1.0
21- } )
22- ] ,
23- tracesSampleRate : 1.0
19+ new Sentry . Replay ( )
20+ ]
2421 } ) ;
2522}
2623
You can’t perform that action at this time.
0 commit comments