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