@sentry/replay 11.1.0 → 11.3.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/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 Hd="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;
|
|
@@ -7713,7 +7713,7 @@ class ReplayContainer {
|
|
|
7713
7713
|
return void 0;
|
|
7714
7714
|
}
|
|
7715
7715
|
const spanJson = core.spanToJSON(lastRootSpan);
|
|
7716
|
-
const source = spanJson.attributes[
|
|
7716
|
+
const source = spanJson.attributes[Hd];
|
|
7717
7717
|
if (!source || !["route", "custom"].includes(source)) {
|
|
7718
7718
|
return void 0;
|
|
7719
7719
|
}
|