@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/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 Nm="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;
|
|
@@ -7736,7 +7736,7 @@ class ReplayContainer {
|
|
|
7736
7736
|
return void 0;
|
|
7737
7737
|
}
|
|
7738
7738
|
const spanJson = core.spanToJSON(lastRootSpan);
|
|
7739
|
-
const source = spanJson.attributes[
|
|
7739
|
+
const source = spanJson.attributes[Nm];
|
|
7740
7740
|
if (!source || !["route", "custom"].includes(source)) {
|
|
7741
7741
|
return void 0;
|
|
7742
7742
|
}
|