@launchdarkly/session-replay 1.1.20 → 1.1.21
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/CHANGELOG.md +9 -0
- package/dist/{LDObserve-CnlAsVy4.js → LDObserve-DpKUFHva.js} +2 -2
- package/dist/{LDObserve-CnlAsVy4.js.map → LDObserve-DpKUFHva.js.map} +1 -1
- package/dist/{index-A2mSQOkq.js → index-C7WwChqb.js} +13 -12
- package/dist/{index-A2mSQOkq.js.map → index-C7WwChqb.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @launchdarkly/session-replay
|
|
2
2
|
|
|
3
|
+
## [1.1.21](https://github.com/launchdarkly/observability-sdk/compare/session-replay-1.1.20...session-replay-1.1.21) (2026-09-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* highlight.run bumped to 10.7.3
|
|
11
|
+
|
|
3
12
|
## [1.1.20](https://github.com/launchdarkly/observability-sdk/compare/session-replay-1.1.19...session-replay-1.1.20) (2026-09-03)
|
|
4
13
|
|
|
5
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as a } from "./index-
|
|
1
|
+
import { x as a } from "./index-C7WwChqb.js";
|
|
2
2
|
class u extends a {
|
|
3
3
|
start() {
|
|
4
4
|
return this._sdk.start();
|
|
@@ -56,4 +56,4 @@ typeof globalThis < "u" ? globalThis.LDObserve ? o = globalThis.LDObserve : (o =
|
|
|
56
56
|
export {
|
|
57
57
|
o as LDObserve
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=LDObserve-
|
|
59
|
+
//# sourceMappingURL=LDObserve-DpKUFHva.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LDObserve-
|
|
1
|
+
{"version":3,"file":"LDObserve-DpKUFHva.js","sources":["../../../highlight-run/dist/LDObserve.js"],"sourcesContent":["import { B as a } from \"./buffer-DIFxvF2Q.js\";\nclass u extends a {\n start() {\n return this._sdk.start();\n }\n stop() {\n return this._sdk.stop();\n }\n recordGauge(r) {\n return this._bufferCall(\"recordGauge\", [r]);\n }\n recordCount(r) {\n return this._bufferCall(\"recordCount\", [r]);\n }\n recordIncr(r) {\n return this._bufferCall(\"recordIncr\", [r]);\n }\n recordHistogram(r) {\n return this._bufferCall(\"recordHistogram\", [r]);\n }\n recordUpDownCounter(r) {\n return this._bufferCall(\"recordUpDownCounter\", [r]);\n }\n // TODO: Ask @vkorolik about using this method before initialization. Doesn't\n // this cause problems if someone tries to work with the returned span?\n startSpan(r, e, t, s) {\n return this._bufferCall(\"startSpan\", [r, e, t, s]);\n }\n startManualSpan(r, e, t, s) {\n return this._bufferCall(\"startManualSpan\", [r, e, t, s]);\n }\n register(r, e) {\n return this._bufferCall(\"register\", [r, e]);\n }\n recordLog(r, e, t) {\n return this._bufferCall(\"recordLog\", [r, e, t]);\n }\n recordError(r, e, t, s, l) {\n return this._bufferCall(\"recordError\", [\n r,\n e,\n t,\n s,\n l\n ]);\n }\n setLDContextKeyAttributes(r) {\n return this._bufferCall(\"setLDContextKeyAttributes\", [r]);\n }\n getLDContextKeyAttributes() {\n return this._bufferCall(\"getLDContextKeyAttributes\", []);\n }\n}\nlet o;\ntypeof globalThis != \"undefined\" ? globalThis.LDObserve ? o = globalThis.LDObserve : (o = new u(), globalThis.LDObserve = o) : o = new u();\nexport {\n o as LDObserve\n};\n//# sourceMappingURL=LDObserve.js.map\n"],"names":["a","l"],"mappings":";AACA,MAAM,UAAUA,EAAE;AAAA,EAChB,QAAQ;AACN,WAAO,KAAK,KAAK,MAAK;AAAA,EACxB;AAAA,EACA,OAAO;AACL,WAAO,KAAK,KAAK,KAAI;AAAA,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ACJ,OAAO,aAAc,MAAc,WAAW,YAAY,IAAI,WAAW,aAAa,IAAI,IAAI,EAAC,GAAI,WAAW,YAAY,KAAK,IAAI,IAAI,EAAC;"}
|
|
@@ -21,7 +21,7 @@ const $i = /* @__PURE__ */ Object.create(null), ke = (e, t, ...s) => {
|
|
|
21
21
|
$i[`${e}-${t}`] || ($i[`${e}-${t}`] = !0, ke(e, s, ...n));
|
|
22
22
|
}, za = (e, ...t) => Ea(void 0, null, function* () {
|
|
23
23
|
try {
|
|
24
|
-
const { LDObserve: s } = yield import("./LDObserve-
|
|
24
|
+
const { LDObserve: s } = yield import("./LDObserve-DpKUFHva.js");
|
|
25
25
|
s.recordLog(`${e}${t}`, "warn");
|
|
26
26
|
} catch {
|
|
27
27
|
}
|
|
@@ -4029,7 +4029,7 @@ const Qu = (e) => {
|
|
|
4029
4029
|
return window.addEventListener("locationchange", r), () => {
|
|
4030
4030
|
window.removeEventListener("popstate", n), window.removeEventListener("locationchange", r), history.pushState = t, history.replaceState = s;
|
|
4031
4031
|
};
|
|
4032
|
-
}, ju = "10.7.
|
|
4032
|
+
}, ju = "10.7.3", Au = {
|
|
4033
4033
|
version: ju
|
|
4034
4034
|
}, _u = Au.version;
|
|
4035
4035
|
function kl(e, t) {
|
|
@@ -14637,7 +14637,7 @@ const Zm = ({
|
|
|
14637
14637
|
var ds;
|
|
14638
14638
|
class Xm {
|
|
14639
14639
|
constructor(t) {
|
|
14640
|
-
Q(this, "options"), Q(this, "isRunningOnHighlight"), Q(this, "organizationID"), ud(this, ds), Q(this, "events"), Q(this, "sessionData"), Q(this, "ready"), Q(this, "manualStopped"), Q(this, "state"), Q(this, "logger"), Q(this, "enableSegmentIntegration"), Q(this, "privacySetting"), Q(this, "enableCanvasRecording"), Q(this, "samplingStrategy"), Q(this, "inlineImages"), Q(this, "inlineVideos"), Q(this, "inlineStylesheet"), Q(this, "debugOptions"), Q(this, "listeners"), Q(this, "firstloadVersion"), Q(this, "environment"), Q(this, "sessionShortcut"), Q(this, "appVersion"), Q(this, "serviceName"), Q(this, "_worker"), Q(this, "_optionsInternal"), Q(this, "_backendUrl"), Q(this, "_recordingStartTime"), Q(this, "_isOnLocalHost"), Q(this, "_onToggleFeedbackFormVisibility"), Q(this, "_isCrossOriginIframe"), Q(this, "_eventBytesSinceSnapshot"), Q(this, "_lastSnapshotTime"), Q(this, "_lastVisibilityChangeTime"), Q(this, "pushPayloadTimerId"), Q(this, "hasSessionUnloaded"), Q(this, "hasPushedData"), Q(this, "reloaded"), Q(this, "_hasPreviouslyInitialized"), Q(this, "_recordStop"), Q(this, "_integrations", []);
|
|
14640
|
+
Q(this, "options"), Q(this, "isRunningOnHighlight"), Q(this, "organizationID"), ud(this, ds), Q(this, "events"), Q(this, "sessionData"), Q(this, "ready"), Q(this, "manualStopped"), Q(this, "state"), Q(this, "logger"), Q(this, "enableSegmentIntegration"), Q(this, "privacySetting"), Q(this, "enableCanvasRecording"), Q(this, "samplingStrategy"), Q(this, "inlineImages"), Q(this, "inlineVideos"), Q(this, "inlineStylesheet"), Q(this, "styleSheetResyncInterval"), Q(this, "debugOptions"), Q(this, "listeners"), Q(this, "firstloadVersion"), Q(this, "environment"), Q(this, "sessionShortcut"), Q(this, "appVersion"), Q(this, "serviceName"), Q(this, "_worker"), Q(this, "_optionsInternal"), Q(this, "_backendUrl"), Q(this, "_recordingStartTime"), Q(this, "_isOnLocalHost"), Q(this, "_onToggleFeedbackFormVisibility"), Q(this, "_isCrossOriginIframe"), Q(this, "_eventBytesSinceSnapshot"), Q(this, "_lastSnapshotTime"), Q(this, "_lastVisibilityChangeTime"), Q(this, "pushPayloadTimerId"), Q(this, "hasSessionUnloaded"), Q(this, "hasPushedData"), Q(this, "reloaded"), Q(this, "_hasPreviouslyInitialized"), Q(this, "_recordStop"), Q(this, "_integrations", []);
|
|
14641
14641
|
var s, n, r, a, d;
|
|
14642
14642
|
this.options = t, typeof ((s = this.options) == null ? void 0 : s.debug) == "boolean" ? this.debugOptions = this.options.debug ? { clientInteractions: !0 } : {} : this.debugOptions = (r = (n = this.options) == null ? void 0 : n.debug) != null ? r : {}, this.logger = new nl(this.debugOptions.clientInteractions), this._worker = new gm(), this._worker.onmessage = (h) => {
|
|
14643
14643
|
var m, p, o;
|
|
@@ -14699,22 +14699,22 @@ class Xm {
|
|
|
14699
14699
|
});
|
|
14700
14700
|
}
|
|
14701
14701
|
_initMembers(t) {
|
|
14702
|
-
var s, n, r, a, d, f, h, m, p;
|
|
14703
|
-
this.sessionShortcut = !1, this._recordingStartTime = 0, this._isOnLocalHost = window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1" || window.location.hostname === "", this.ready = !1, this.state = "NotRecording", this.manualStopped = !1, this.enableSegmentIntegration = !!t.enableSegmentIntegration, this.privacySetting = (s = t.privacySetting) != null ? s : "default", this.enableCanvasRecording = (n = t.enableCanvasRecording) != null ? n : !1, this.inlineImages = (r = t.inlineImages) != null ? r : this._isOnLocalHost, this.inlineVideos = (a = t.inlineVideos) != null ? a : this._isOnLocalHost, this.inlineStylesheet = (d = t.inlineStylesheet) != null ? d : this._isOnLocalHost, this.samplingStrategy = z({
|
|
14702
|
+
var s, n, r, a, d, f, h, m, p, o;
|
|
14703
|
+
this.sessionShortcut = !1, this._recordingStartTime = 0, this._isOnLocalHost = window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1" || window.location.hostname === "", this.ready = !1, this.state = "NotRecording", this.manualStopped = !1, this.enableSegmentIntegration = !!t.enableSegmentIntegration, this.privacySetting = (s = t.privacySetting) != null ? s : "default", this.enableCanvasRecording = (n = t.enableCanvasRecording) != null ? n : !1, this.inlineImages = (r = t.inlineImages) != null ? r : this._isOnLocalHost, this.inlineVideos = (a = t.inlineVideos) != null ? a : this._isOnLocalHost, this.inlineStylesheet = (d = t.inlineStylesheet) != null ? d : this._isOnLocalHost, this.styleSheetResyncInterval = (f = t.styleSheetResyncInterval) != null ? f : 2e3, this.samplingStrategy = z({
|
|
14704
14704
|
canvasFactor: 0.5,
|
|
14705
14705
|
canvasMaxSnapshotDimension: 360,
|
|
14706
14706
|
canvasClearWebGLBuffer: !0,
|
|
14707
14707
|
dataUrlOptions: mu()
|
|
14708
|
-
}, (
|
|
14708
|
+
}, (h = t.samplingStrategy) != null ? h : {
|
|
14709
14709
|
canvas: 2
|
|
14710
|
-
}), this._backendUrl = (
|
|
14711
|
-
const
|
|
14710
|
+
}), this._backendUrl = (m = t?.backendUrl) != null ? m : "https://pub.observability.app.launchdarkly.com", this._backendUrl[0] === "/" && (this._backendUrl = new URL(this._backendUrl, document.baseURI).href);
|
|
14711
|
+
const l = new Hc(`${this._backendUrl}`, {
|
|
14712
14712
|
headers: {}
|
|
14713
14713
|
});
|
|
14714
|
-
dd(this, ds, hu(
|
|
14714
|
+
dd(this, ds, hu(l, Mu())), this.environment = (p = t.environment) != null ? p : "production", this.appVersion = t.appVersion, this.serviceName = (o = t.serviceName) != null ? o : "browser", typeof t.organizationID == "string" ? this.organizationID = t.organizationID : this.organizationID = t.organizationID.toString(), this.isRunningOnHighlight = this.organizationID === "1" || this.organizationID === "1jdkoe52", this.firstloadVersion = t.firstloadVersion || "unknown", this.sessionShortcut = t.sessionShortcut || !1, this._onToggleFeedbackFormVisibility = () => {
|
|
14715
14715
|
};
|
|
14716
|
-
const
|
|
14717
|
-
this._optionsInternal =
|
|
14716
|
+
const i = t, c = xs(i, ["firstloadVersion"]);
|
|
14717
|
+
this._optionsInternal = c, this.listeners = [], this.events = [], this.hasSessionUnloaded = !1, this.hasPushedData = !1, window.Intercom && window.Intercom("onShow", () => {
|
|
14718
14718
|
window.Intercom("update", {
|
|
14719
14719
|
highlightSessionURL: this.getCurrentSessionURLWithTimestamp()
|
|
14720
14720
|
}), this.addProperties({ event: "Intercom onShow" });
|
|
@@ -14892,6 +14892,7 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`
|
|
|
14892
14892
|
inlineVideos: this.inlineVideos,
|
|
14893
14893
|
collectFonts: this.inlineImages,
|
|
14894
14894
|
inlineStylesheet: this.inlineStylesheet,
|
|
14895
|
+
styleSheetResyncInterval: this.styleSheetResyncInterval,
|
|
14895
14896
|
plugins: [md()],
|
|
14896
14897
|
logger: typeof this.options.debug == "boolean" && this.options.debug || typeof this.options.debug == "object" && this.options.debug.domRecording ? {
|
|
14897
14898
|
debug: this.logger.log,
|
|
@@ -15364,4 +15365,4 @@ export {
|
|
|
15364
15365
|
vt as t,
|
|
15365
15366
|
il as x
|
|
15366
15367
|
};
|
|
15367
|
-
//# sourceMappingURL=index-
|
|
15368
|
+
//# sourceMappingURL=index-C7WwChqb.js.map
|