Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@
"extends": "../../package.json"
},
"resolutions": {
"@types/react": "npm:[email protected]",
"@types/react-dom": "npm:[email protected]",
"@sentry/core": "9.27.0",
"@sentry/types": "9.27.0"
"@sentry/types": "9.27.0",
"@sentry/nextjs": "9.27.0",
"@sentry/node": "9.27.0"
}
}
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,12 @@
"ws": "^8.17.1"
},
"resolutions": {
"dompurify": "3.2.4",
"@types/dompurify": "3.0.5",
"@sentry/core": "9.27.0",
"@sentry/types": "9.27.0"
"@sentry/types": "9.27.0",
"@sentry/nextjs": "9.27.0",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hrm why wasnt nextjs already in here? i think this package.json is actually for the main docs site?

"@sentry/node": "9.27.0",
"dompurify": "3.2.4",
"@types/dompurify": "3.0.5"
},
"volta": {
"node": "20.11.0",
Expand Down
9 changes: 8 additions & 1 deletion src/instrumentation-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,20 @@ Sentry.init({
// in development and sample at a lower rate in production
replaysSessionSampleRate: 0.1,

// Simplified integrations to avoid type conflicts
// You can remove this option if you're not planning to use the Sentry Session Replay feature:
integrations: [
Sentry.replayIntegration({
// Additional Replay configuration goes in here, for example:
maskAllText: false,
blockAllMedia: false,
}),
Sentry.thirdPartyErrorFilterIntegration({
filterKeys: ['sentry-docs'],
behaviour: 'apply-tag-if-contains-third-party-frames',
}),
Sentry.browserTracingIntegration({
linkPreviousTrace: 'session-storage',
}),
],
});

Expand Down
Loading
Loading