Skip to content

Commit 0aa17b2

Browse files
committed
feat: Upgrade sentry-replay to 0.6.0
1 parent 4ecfb64 commit 0aa17b2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

client/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"dependencies": {
44
"@sentry/browser": "^7.7.0",
55
"@sentry/react": "^7.7.0",
6-
"@sentry/replay": "^0.5.23",
6+
"@sentry/replay": "^0.6.0",
77
"@sentry/tracing": "^7.7.0",
88
"prop-types": "^15.5.10",
99
"react": "^15.6.1",

client/src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import ReactDOM from 'react-dom';
33
import * as Sentry from '@sentry/react';
44
import { BrowserTracing } from '@sentry/tracing';
5-
import { SentryReplay } from '@sentry/replay';
5+
import { Replay } from '@sentry/replay';
66

77
import './index.css';
88
import App from './App';
@@ -12,7 +12,7 @@ if (process.env.REACT_APP_SENTRY_DSN) {
1212
debug: true,
1313
dsn: process.env.REACT_APP_SENTRY_DSN,
1414
release: process.env.REACT_APP_GIT_SHA,
15-
integrations: [new BrowserTracing(), new SentryReplay({stickySession: true})],
15+
integrations: [new BrowserTracing(), new Replay()],
1616
tracesSampleRate: 1.0
1717
});
1818
}

0 commit comments

Comments
 (0)