Skip to content

Commit d2a9f6e

Browse files
committed
Update Sentry configuration and dependencies to resolve type conflicts
1 parent 69fdff2 commit d2a9f6e

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

apps/changelog/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"resolutions": {
6969
"@types/react": "npm:[email protected]",
7070
"@types/react-dom": "npm:[email protected]",
71-
"@sentry/core": "9.27.0"
71+
"@sentry/core": "9.27.0",
72+
"@sentry/types": "9.27.0"
7273
}
7374
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@
138138
"resolutions": {
139139
"dompurify": "3.2.4",
140140
"@types/dompurify": "3.0.5",
141-
"@sentry/core": "9.27.0"
141+
"@sentry/core": "9.27.0",
142+
"@sentry/types": "9.27.0"
142143
},
143144
"volta": {
144145
"node": "20.11.0",

src/instrumentation-client.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,13 @@ Sentry.init({
1616
// in development and sample at a lower rate in production
1717
replaysSessionSampleRate: 0.1,
1818

19-
// You can remove this option if you're not planning to use the Sentry Session Replay feature:
19+
// Simplified integrations to avoid type conflicts
2020
integrations: [
2121
Sentry.replayIntegration({
2222
// Additional Replay configuration goes in here, for example:
2323
maskAllText: false,
2424
blockAllMedia: false,
2525
}),
26-
Sentry.thirdPartyErrorFilterIntegration({
27-
filterKeys: ['sentry-docs'],
28-
behaviour: 'apply-tag-if-contains-third-party-frames',
29-
}),
30-
// Use the correct integration function for v9.27.0
31-
Sentry.browserTracingIntegration(),
3226
],
3327
});
3428

0 commit comments

Comments
 (0)