@launchdarkly/session-replay 1.1.22 → 1.1.24

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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @launchdarkly/session-replay
2
2
 
3
+ ## [1.1.24](https://github.com/launchdarkly/observability-sdk/compare/session-replay-1.1.23...session-replay-1.1.24) (2026-10-06)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * The following workspace dependencies were updated
9
+ * dependencies
10
+ * highlight.run bumped to 10.7.6
11
+
12
+ ## [1.1.23](https://github.com/launchdarkly/observability-sdk/compare/session-replay-1.1.22...session-replay-1.1.23) (2026-09-15)
13
+
14
+
15
+ ### Dependencies
16
+
17
+ * The following workspace dependencies were updated
18
+ * dependencies
19
+ * highlight.run bumped to 10.7.5
20
+
3
21
  ## [1.1.22](https://github.com/launchdarkly/observability-sdk/compare/session-replay-1.1.21...session-replay-1.1.22) (2026-09-09)
4
22
 
5
23
 
@@ -0,0 +1,91 @@
1
+ import { x as f } from "./index-Bn7xA1Hl.js";
2
+ const a = () => {
3
+ const e = {
4
+ end: () => {
5
+ },
6
+ spanContext: () => ({
7
+ traceId: "",
8
+ spanId: "",
9
+ traceFlags: 0
10
+ }),
11
+ setAttribute: (r, t) => e,
12
+ setAttributes: (r) => e,
13
+ addEvent: (r, t, n) => e,
14
+ addLinks: (r) => e,
15
+ setStatus: (r) => e,
16
+ recordException: () => {
17
+ },
18
+ addLink: () => e,
19
+ updateName: () => e,
20
+ isRecording: () => !1
21
+ };
22
+ return e;
23
+ };
24
+ function i(e, r, t) {
25
+ if (typeof t == "function")
26
+ return t;
27
+ if (typeof r == "function")
28
+ return r;
29
+ if (typeof e == "function")
30
+ return e;
31
+ }
32
+ class l extends f {
33
+ start() {
34
+ return this._sdk.start();
35
+ }
36
+ stop() {
37
+ return this._sdk.stop();
38
+ }
39
+ recordGauge(r) {
40
+ return this._bufferCall("recordGauge", [r]);
41
+ }
42
+ recordCount(r) {
43
+ return this._bufferCall("recordCount", [r]);
44
+ }
45
+ recordIncr(r) {
46
+ return this._bufferCall("recordIncr", [r]);
47
+ }
48
+ recordHistogram(r) {
49
+ return this._bufferCall("recordHistogram", [r]);
50
+ }
51
+ recordUpDownCounter(r) {
52
+ return this._bufferCall("recordUpDownCounter", [r]);
53
+ }
54
+ // The callback holds the caller's own work, so it must never be buffered:
55
+ // deferring it would replay that work at an arbitrary later time, or drop it.
56
+ startSpan(r, t, n, s) {
57
+ var o;
58
+ return this._isLoaded ? this._bufferCall("startSpan", [r, t, n, s]) : (o = i(t, n, s)) == null ? void 0 : o(a());
59
+ }
60
+ startManualSpan(r, t, n, s) {
61
+ var o;
62
+ return this._isLoaded ? this._bufferCall("startManualSpan", [r, t, n, s]) : (o = i(t, n, s)) == null ? void 0 : o(a());
63
+ }
64
+ register(r, t) {
65
+ return this._bufferCall("register", [r, t]);
66
+ }
67
+ recordLog(r, t, n) {
68
+ return this._bufferCall("recordLog", [r, t, n]);
69
+ }
70
+ recordError(r, t, n, s, o) {
71
+ return this._bufferCall("recordError", [
72
+ r,
73
+ t,
74
+ n,
75
+ s,
76
+ o
77
+ ]);
78
+ }
79
+ setLDContextKeyAttributes(r) {
80
+ return this._bufferCall("setLDContextKeyAttributes", [r]);
81
+ }
82
+ getLDContextKeyAttributes() {
83
+ return this._bufferCall("getLDContextKeyAttributes", []);
84
+ }
85
+ }
86
+ let u;
87
+ typeof globalThis < "u" ? globalThis.LDObserve ? u = globalThis.LDObserve : (u = new l(), globalThis.LDObserve = u) : u = new l();
88
+ export {
89
+ u as LDObserve
90
+ };
91
+ //# sourceMappingURL=LDObserve-B3dg9XjR.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LDObserve-B3dg9XjR.js","sources":["../../../highlight-run/dist/LDObserve-CHIjcqIn.js"],"sourcesContent":["import { B as f } from \"./buffer-DIFxvF2Q.js\";\nconst i = () => {\n const t = {\n end: () => {\n },\n spanContext: () => ({\n traceId: \"\",\n spanId: \"\",\n traceFlags: 0\n }),\n setAttribute: (r, e) => t,\n setAttributes: (r) => t,\n addEvent: (r, e, s) => t,\n addLinks: (r) => t,\n setStatus: (r) => t,\n recordException: () => {\n },\n addLink: () => t,\n updateName: () => t,\n isRecording: () => !1\n };\n return t;\n};\nfunction o(t, r, e) {\n if (typeof e == \"function\")\n return e;\n if (typeof r == \"function\")\n return r;\n if (typeof t == \"function\")\n return t;\n}\nclass l extends f {\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 // The callback holds the caller's own work, so it must never be buffered:\n // deferring it would replay that work at an arbitrary later time, or drop it.\n startSpan(r, e, s, a) {\n var n;\n return this._isLoaded ? this._bufferCall(\"startSpan\", [r, e, s, a]) : (n = o(e, s, a)) == null ? void 0 : n(i());\n }\n startManualSpan(r, e, s, a) {\n var n;\n return this._isLoaded ? this._bufferCall(\"startManualSpan\", [r, e, s, a]) : (n = o(e, s, a)) == null ? void 0 : n(i());\n }\n register(r, e) {\n return this._bufferCall(\"register\", [r, e]);\n }\n recordLog(r, e, s) {\n return this._bufferCall(\"recordLog\", [r, e, s]);\n }\n recordError(r, e, s, a, n) {\n return this._bufferCall(\"recordError\", [\n r,\n e,\n s,\n a,\n n\n ]);\n }\n setLDContextKeyAttributes(r) {\n return this._bufferCall(\"setLDContextKeyAttributes\", [r]);\n }\n getLDContextKeyAttributes() {\n return this._bufferCall(\"getLDContextKeyAttributes\", []);\n }\n}\nlet u;\ntypeof globalThis != \"undefined\" ? globalThis.LDObserve ? u = globalThis.LDObserve : (u = new l(), globalThis.LDObserve = u) : u = new l();\nexport {\n u as L,\n i as g\n};\n//# sourceMappingURL=LDObserve-CHIjcqIn.js.map\n"],"names":["i","t","e","s","o","f","a","n"],"mappings":";AACA,MAAMA,IAAI,MAAM;AACd,QAAMC,IAAI;AAAA,IACR,KAAK,MAAM;AAAA,IACX;AAAA,IACA,aAAa,OAAO;AAAA,MAClB,SAAS;AAAA,MACT,QAAQ;AAAA,MACR,YAAY;AAAA,IAClB;AAAA,IACI,cAAc,CAAC,GAAGC,MAAMD;AAAA,IACxB,eAAe,CAAC,MAAMA;AAAA,IACtB,UAAU,CAAC,GAAGC,GAAGC,MAAMF;AAAA,IACvB,UAAU,CAAC,MAAMA;AAAA,IACjB,WAAW,CAAC,MAAMA;AAAA,IAClB,iBAAiB,MAAM;AAAA,IACvB;AAAA,IACA,SAAS,MAAMA;AAAA,IACf,YAAY,MAAMA;AAAA,IAClB,aAAa,MAAM;AAAA,EACvB;AACE,SAAOA;AACT;AACA,SAASG,EAAEH,GAAG,GAAGC,GAAG;AAClB,MAAI,OAAOA,KAAK;AACd,WAAOA;AACT,MAAI,OAAO,KAAK;AACd,WAAO;AACT,MAAI,OAAOD,KAAK;AACd,WAAOA;AACX;AACA,MAAM,UAAUI,EAAE;AAAA,EAChB,QAAQ;AACN,WAAO,KAAK,KAAK,MAAK;AAAA,EACxB;AAAA,EACA,OAAO;AACL,WAAO,KAAK,KAAK,KAAI;AAAA,EACvB;AAAA,EACA,YAAY,GAAG;AACb,WAAO,KAAK,YAAY,eAAe,CAAC,CAAC,CAAC;AAAA,EAC5C;AAAA,EACA,YAAY,GAAG;AACb,WAAO,KAAK,YAAY,eAAe,CAAC,CAAC,CAAC;AAAA,EAC5C;AAAA,EACA,WAAW,GAAG;AACZ,WAAO,KAAK,YAAY,cAAc,CAAC,CAAC,CAAC;AAAA,EAC3C;AAAA,EACA,gBAAgB,GAAG;AACjB,WAAO,KAAK,YAAY,mBAAmB,CAAC,CAAC,CAAC;AAAA,EAChD;AAAA,EACA,o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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-CycijY4M.js");
24
+ const { LDObserve: s } = yield import("./LDObserve-B3dg9XjR.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.4", Au = {
4032
+ }, ju = "10.7.6", Au = {
4033
4033
  version: ju
4034
4034
  }, _u = Au.version;
4035
4035
  function kl(e, t) {
@@ -15365,4 +15365,4 @@ export {
15365
15365
  vt as t,
15366
15366
  il as x
15367
15367
  };
15368
- //# sourceMappingURL=index-Czbg41eX.js.map
15368
+ //# sourceMappingURL=index-Bn7xA1Hl.js.map