@sentry/replay 11.0.0-beta.2 → 11.0.0-rc.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 wd="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;
|
|
@@ -7694,7 +7694,7 @@ class ReplayContainer {
|
|
|
7694
7694
|
return void 0;
|
|
7695
7695
|
}
|
|
7696
7696
|
const spanJson = spanToJSON(lastRootSpan);
|
|
7697
|
-
const source = spanJson.attributes[
|
|
7697
|
+
const source = spanJson.attributes[wd];
|
|
7698
7698
|
if (!source || !["route", "custom"].includes(source)) {
|
|
7699
7699
|
return void 0;
|
|
7700
7700
|
}
|