-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
7.95.0
Framework Version
React 18.2.0
Link to Sentry event
No response
SDK Setup
initSentry({
dsn,
integrations: [
replayIntegration({
maskAllText: true,
blockAllMedia: true,
}),
],
});
Steps to Reproduce
Pass a few options to replayIntegration in a TypeScript file.
Expected Result
Successful compilation - the changelog and migration docs make me think that this should work the same as new Replay({ maskAllText: true, blockAllMedia: true }).
Actual Result
Compilation errors - replayIntegration is declared as needing a nearly complete ReplayPluginOptions object, so it complains if any options are missing.
Metadata
Metadata
Assignees
Labels
Projects
Status
Waiting for: Product Owner