@sentry/replay 11.0.0-beta.2 → 11.0.0-rc.1
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/build/npm/cjs/index.js
CHANGED
|
@@ -23,7 +23,7 @@ const MIN_REPLAY_DURATION = 4999;
|
|
|
23
23
|
const MIN_REPLAY_DURATION_LIMIT = 5e4;
|
|
24
24
|
const MAX_REPLAY_DURATION = 36e5;
|
|
25
25
|
|
|
26
|
-
const
|
|
26
|
+
const wd="sentry.segment.name.source";
|
|
27
27
|
|
|
28
28
|
var __defProp = Object.defineProperty;
|
|
29
29
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -7696,7 +7696,7 @@ class ReplayContainer {
|
|
|
7696
7696
|
return void 0;
|
|
7697
7697
|
}
|
|
7698
7698
|
const spanJson = core.spanToJSON(lastRootSpan);
|
|
7699
|
-
const source = spanJson.attributes[
|
|
7699
|
+
const source = spanJson.attributes[wd];
|
|
7700
7700
|
if (!source || !["route", "custom"].includes(source)) {
|
|
7701
7701
|
return void 0;
|
|
7702
7702
|
}
|