@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/cjs/index.js
CHANGED
|
@@ -1384,7 +1384,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
|
|
|
1384
1384
|
dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
|
|
1385
1385
|
tracesSampleRate: 1,
|
|
1386
1386
|
sampleRate: 1,
|
|
1387
|
-
release: "2.
|
|
1387
|
+
release: "2.10.0",
|
|
1388
1388
|
integrations: [],
|
|
1389
1389
|
tracePropagationTargets: ["sentry.io/api"],
|
|
1390
1390
|
stackParser: node.defaultStackParser,
|
|
@@ -1617,7 +1617,7 @@ function sentryUnpluginFactory(_ref) {
|
|
|
1617
1617
|
});
|
|
1618
1618
|
|
|
1619
1619
|
// Set the User-Agent that Sentry CLI will use when interacting with Sentry
|
|
1620
|
-
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.
|
|
1620
|
+
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.10.0");
|
|
1621
1621
|
function handleRecoverableError(unknownError) {
|
|
1622
1622
|
sentrySession.status = "abnormal";
|
|
1623
1623
|
try {
|
|
@@ -1671,6 +1671,9 @@ function sentryUnpluginFactory(_ref) {
|
|
|
1671
1671
|
if (bundleSizeOptimizations.excludeReplayShadowDom) {
|
|
1672
1672
|
replacementValues["__RRWEB_EXCLUDE_SHADOW_DOM__"] = true;
|
|
1673
1673
|
}
|
|
1674
|
+
if (bundleSizeOptimizations.excludeReplayWorker) {
|
|
1675
|
+
replacementValues["__SENTRY_EXCLUDE_REPLAY_WORKER__"] = true;
|
|
1676
|
+
}
|
|
1674
1677
|
if (Object.keys(replacementValues).length > 0) {
|
|
1675
1678
|
plugins.push(bundleSizeOptimizationsPlugin(replacementValues));
|
|
1676
1679
|
}
|