@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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @launchdarkly/session-replay
2
2
 
3
+ ## 0.1.15
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [24ff099]
8
+ - highlight.run@9.18.11
9
+
3
10
  ## 0.1.14
4
11
 
5
12
  ### Patch Changes
@@ -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
- let gh = class {
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
- }, Zh = class extends dr {
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 rZ extends Vh {
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 b of (o = (l = (r = this.record) == null ? void 0 : r.getHooks) == null ? void 0 : l.call(r, t)) != null ? o : [])
14079
- (a = b.afterIdentify) == null || a.call(b, i, n, s);
14080
- const p = fh(i.context), m = yh(i.context);
14081
- return (h = this.record) == null || h.identify(
14082
- typeof m == "string" ? m : (u = (c = m.user) == null ? void 0 : c.toString()) != null ? u : p,
14083
- ge(F({
14084
- key: p
14085
- }, typeof m == "object" ? m : {}), {
14086
- timeout: i.timeout
14087
- }),
14088
- "LaunchDarkly"
14089
- ), n;
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
- rZ as default
14116
+ sZ as default
14113
14117
  };
14114
14118
  //# sourceMappingURL=session-replay.js.map