Skip to content

applicationKey does not exist in SentryReactRouterBuildOptions #17384

Description

@kenn

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/react-router

SDK Version

10.4.0

Framework Version

React Router v7.8

Link to Sentry event

No response

Reproduction Example/SDK Setup

In vite.config.ts, applicationKey has been used for thirdPartyErrorFilterIntegration, but it's missing now.

constsentryConfig: SentryReactRouterBuildOptions={authToken: process.env.SENTRY_AUTH_TOKEN,applicationKey: 'some-key',// for thirdPartyErrorFilterIntegration}exportdefaultdefineConfig((config)=>{return{plugins: [reactRouter(),tsconfigPaths(),sentryReactRouter(sentryConfig,config),],}})
Objectliteralmayonlyspecifyknownproperties,and'applicationKey'doesnotexistintype'SentryReactRouterBuildOptions'.ts(2353)

Steps to Reproduce

Put the code above

Expected Result

Config should take applicationKey

Actual Result

Config does not accept applicationKey

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions