userlens-session-recorder 1.0.1 → 1.0.3

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/dist/index.cjs.js CHANGED
@@ -20714,9 +20714,7 @@ _SessionRecorder_trackEventsThrottled = new WeakMap(), _SessionRecorder_handleVi
20714
20714
  }
20715
20715
  }, _SessionRecorder_resetSession = function _SessionRecorder_resetSession() {
20716
20716
  __classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_removeLocalSessionData).call(this);
20717
- __classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_clearEvents).call(this);
20718
20717
  __classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_createSession).call(this);
20719
- takeFullSnapshot();
20720
20718
  }, _SessionRecorder_createSession = function _SessionRecorder_createSession() {
20721
20719
  const lastActive = Number(localStorage.getItem("userlensSessionLastActive"));
20722
20720
  const storedUuid = localStorage.getItem("userlensSessionUuid");
@@ -20750,7 +20748,7 @@ _SessionRecorder_trackEventsThrottled = new WeakMap(), _SessionRecorder_handleVi
20750
20748
  await uploadSessionEvents(this.userId, this.sessionUuid, events, chunkTimestamp);
20751
20749
  }
20752
20750
  catch (_) {
20753
- __classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_resetSession).call(this);
20751
+ this.stop();
20754
20752
  }
20755
20753
  }, _SessionRecorder_clearEvents = function _SessionRecorder_clearEvents() {
20756
20754
  this.sessionEvents = [];