@sentry/replay 11.6.0 → 11.7.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/esm/index.js
CHANGED
|
@@ -21,7 +21,7 @@ const MIN_REPLAY_DURATION = 4999;
|
|
|
21
21
|
const MIN_REPLAY_DURATION_LIMIT = 5e4;
|
|
22
22
|
const MAX_REPLAY_DURATION = 36e5;
|
|
23
23
|
|
|
24
|
-
const
|
|
24
|
+
const Nm="sentry.segment.name.source";
|
|
25
25
|
|
|
26
26
|
var __defProp = Object.defineProperty;
|
|
27
27
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -7734,7 +7734,7 @@ class ReplayContainer {
|
|
|
7734
7734
|
return void 0;
|
|
7735
7735
|
}
|
|
7736
7736
|
const spanJson = spanToJSON(lastRootSpan);
|
|
7737
|
-
const source = spanJson.attributes[
|
|
7737
|
+
const source = spanJson.attributes[Nm];
|
|
7738
7738
|
if (!source || !["route", "custom"].includes(source)) {
|
|
7739
7739
|
return void 0;
|
|
7740
7740
|
}
|