@sentry/bundler-plugin-core 2.9.0 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +5 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.mjs +5 -2
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/options-mapping.d.ts +1 -0
- package/dist/types/options-mapping.d.ts.map +1 -1
- package/dist/types/types.d.ts +9 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/esm/index.mjs
CHANGED
|
@@ -1350,7 +1350,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
|
|
|
1350
1350
|
dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
|
|
1351
1351
|
tracesSampleRate: 1,
|
|
1352
1352
|
sampleRate: 1,
|
|
1353
|
-
release: "2.
|
|
1353
|
+
release: "2.10.0",
|
|
1354
1354
|
integrations: [],
|
|
1355
1355
|
tracePropagationTargets: ["sentry.io/api"],
|
|
1356
1356
|
stackParser: defaultStackParser,
|
|
@@ -1583,7 +1583,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
1583
1583
|
});
|
|
1584
1584
|
|
|
1585
1585
|
// Set the User-Agent that Sentry CLI will use when interacting with Sentry
|
|
1586
|
-
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.
|
|
1586
|
+
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.10.0");
|
|
1587
1587
|
function handleRecoverableError(unknownError) {
|
|
1588
1588
|
sentrySession.status = "abnormal";
|
|
1589
1589
|
try {
|
|
@@ -1637,6 +1637,9 @@ function sentryUnpluginFactory(_ref) {
|
|
|
1637
1637
|
if (bundleSizeOptimizations.excludeReplayShadowDom) {
|
|
1638
1638
|
replacementValues["__RRWEB_EXCLUDE_SHADOW_DOM__"] = true;
|
|
1639
1639
|
}
|
|
1640
|
+
if (bundleSizeOptimizations.excludeReplayWorker) {
|
|
1641
|
+
replacementValues["__SENTRY_EXCLUDE_REPLAY_WORKER__"] = true;
|
|
1642
|
+
}
|
|
1640
1643
|
if (Object.keys(replacementValues).length > 0) {
|
|
1641
1644
|
plugins.push(bundleSizeOptimizationsPlugin(replacementValues));
|
|
1642
1645
|
}
|