@launchdarkly/session-replay 0.1.14 → 0.1.15
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 +7 -0
- package/dist/session-replay.js +20 -16
- package/dist/session-replay.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/session-replay.js
CHANGED
|
@@ -3854,7 +3854,7 @@ function yh(e) {
|
|
|
3854
3854
|
[t]: ta(e[t].key)
|
|
3855
3855
|
})).reduce((t, i) => M(M({}, t), i), {}) : e.key;
|
|
3856
3856
|
}
|
|
3857
|
-
|
|
3857
|
+
class gh {
|
|
3858
3858
|
constructor(t, i) {
|
|
3859
3859
|
Dt(this, "client"), Dt(this, "metadata"), this.client = t, this.metadata = i;
|
|
3860
3860
|
}
|
|
@@ -3894,7 +3894,8 @@ let gh = class {
|
|
|
3894
3894
|
})
|
|
3895
3895
|
);
|
|
3896
3896
|
}
|
|
3897
|
-
}
|
|
3897
|
+
}
|
|
3898
|
+
let Zh = class extends dr {
|
|
3898
3899
|
constructor(t, i) {
|
|
3899
3900
|
super(), Dt(this, "client"), this.client = new gh(t, i);
|
|
3900
3901
|
}
|
|
@@ -14019,7 +14020,7 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`
|
|
|
14019
14020
|
return Dd;
|
|
14020
14021
|
}
|
|
14021
14022
|
}
|
|
14022
|
-
class
|
|
14023
|
+
class sZ extends Vh {
|
|
14023
14024
|
constructor(t, i) {
|
|
14024
14025
|
var n = (...p) => (super(...p), N(this, "record"), this), s, r, l, o, a, c, u, h;
|
|
14025
14026
|
try {
|
|
@@ -14075,18 +14076,21 @@ class rZ extends Vh {
|
|
|
14075
14076
|
}),
|
|
14076
14077
|
afterIdentify: (i, n, s) => {
|
|
14077
14078
|
var r, l, o, a, c, u, h;
|
|
14078
|
-
for (const
|
|
14079
|
-
(a =
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14083
|
-
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
|
|
14087
|
-
|
|
14088
|
-
|
|
14089
|
-
|
|
14079
|
+
for (const p of (o = (l = (r = this.record) == null ? void 0 : r.getHooks) == null ? void 0 : l.call(r, t)) != null ? o : [])
|
|
14080
|
+
(a = p.afterIdentify) == null || a.call(p, i, n, s);
|
|
14081
|
+
if (s.status === "completed") {
|
|
14082
|
+
const p = fh(i.context), m = yh(i.context);
|
|
14083
|
+
(h = this.record) == null || h.identify(
|
|
14084
|
+
typeof m == "string" ? m : (u = (c = m.user) == null ? void 0 : c.toString()) != null ? u : p,
|
|
14085
|
+
ge(F({
|
|
14086
|
+
key: p
|
|
14087
|
+
}, typeof m == "object" ? m : {}), {
|
|
14088
|
+
timeout: i.timeout
|
|
14089
|
+
}),
|
|
14090
|
+
"LaunchDarkly"
|
|
14091
|
+
);
|
|
14092
|
+
}
|
|
14093
|
+
return n;
|
|
14090
14094
|
},
|
|
14091
14095
|
afterEvaluation: (i, n, s) => {
|
|
14092
14096
|
var r, l, o, a;
|
|
@@ -14109,6 +14113,6 @@ class rZ extends Vh {
|
|
|
14109
14113
|
}
|
|
14110
14114
|
export {
|
|
14111
14115
|
Ft as LDRecord,
|
|
14112
|
-
|
|
14116
|
+
sZ as default
|
|
14113
14117
|
};
|
|
14114
14118
|
//# sourceMappingURL=session-replay.js.map
|