Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only inject fetch proxy script if SvelteKit<2.16.0 is used #15007

Open
Lms24 opened this issue Jan 14, 2025 · 1 comment
Open

Only inject fetch proxy script if SvelteKit<2.16.0 is used #15007

Lms24 opened this issue Jan 14, 2025 · 1 comment
Assignees
Labels
Package: sveltekit Issues related to the Sentry SvelteKit SDK

Comments

@Lms24
Copy link
Member

Lms24 commented Jan 14, 2025

Description

We should find a way to only inject the fetch proxy script if the SDK is used in a SvelteKit version older than 2.16.0. With this version, the proxy script no longer is necessary.

@AbhiPrasad AbhiPrasad added the Package: sveltekit Issues related to the Sentry SvelteKit SDK label Jan 14, 2025
@Lms24 Lms24 self-assigned this Jan 14, 2025
@Lms24 Lms24 changed the title Remove SvelteKit fetch proxy script Only inject fetch proxy script if SvelteKit<2.16.0 is used Jan 22, 2025
@Lms24
Copy link
Member Author

Lms24 commented Jan 22, 2025

I re-purposed this issue because it turned out that we can't remove the script, as it's still necessary in Kit versions between 2.0.0 and 2.16.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: sveltekit Issues related to the Sentry SvelteKit SDK
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants