Standalone Feedback CDN bundle doesn't export feedbackIntegration
#13080
Labels
Dev: Build
Feature: User Feedback
Package: browser
Issues related to the Sentry Browser SDK
Type: Bug
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser via CDN + Feedback integration CDN bundle
SDK Version
8.20.0
Framework Version
N/A
Link to Sentry event
N/A
Reproduction Example/SDK Setup
Steps to Reproduce
feedbackIntegration
inSentry.init
as instructed in the docsExpected Result
Feedback integration should work as expected
Actual Result
This was originally reported by @stayallive in Discord but I can reproduce it as well in a simple test app.
It seems like the feedback addon bundle is missing the
feedbackIntegration
export as we only define this export in the browser package to differ between which SDK artifact should get sync (npm) and async (cdn SDK bundle) versions by default.This causes the shim class on
window.Sentry.feedbackIntegration
to not be overwritten by the addon bundle as in the other integrations. Instead, the shim warning is thrown in the console:The text was updated successfully, but these errors were encountered: