userlens-session-recorder 1.0.1 → 1.0.2

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.
@@ -20715,10 +20715,13 @@
20715
20715
  __classPrivateFieldGet(this, _SessionRecorder_trackEventsThrottled, "f").call(this);
20716
20716
  }
20717
20717
  }, _SessionRecorder_resetSession = function _SessionRecorder_resetSession() {
20718
- __classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_removeLocalSessionData).call(this);
20718
+ if (this.rrwebStop) {
20719
+ this.rrwebStop();
20720
+ this.rrwebStop = null;
20721
+ }
20719
20722
  __classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_clearEvents).call(this);
20720
- __classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_createSession).call(this);
20721
- takeFullSnapshot();
20723
+ __classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_removeLocalSessionData).call(this);
20724
+ __classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_initRecorder).call(this);
20722
20725
  }, _SessionRecorder_createSession = function _SessionRecorder_createSession() {
20723
20726
  const lastActive = Number(localStorage.getItem("userlensSessionLastActive"));
20724
20727
  const storedUuid = localStorage.getItem("userlensSessionUuid");