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.
package/dist/index.cjs.js
CHANGED
|
@@ -20713,10 +20713,13 @@ _SessionRecorder_trackEventsThrottled = new WeakMap(), _SessionRecorder_handleVi
|
|
|
20713
20713
|
__classPrivateFieldGet(this, _SessionRecorder_trackEventsThrottled, "f").call(this);
|
|
20714
20714
|
}
|
|
20715
20715
|
}, _SessionRecorder_resetSession = function _SessionRecorder_resetSession() {
|
|
20716
|
-
|
|
20716
|
+
if (this.rrwebStop) {
|
|
20717
|
+
this.rrwebStop();
|
|
20718
|
+
this.rrwebStop = null;
|
|
20719
|
+
}
|
|
20717
20720
|
__classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_clearEvents).call(this);
|
|
20718
|
-
__classPrivateFieldGet(this, _SessionRecorder_instances, "m",
|
|
20719
|
-
|
|
20721
|
+
__classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_removeLocalSessionData).call(this);
|
|
20722
|
+
__classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_initRecorder).call(this);
|
|
20720
20723
|
}, _SessionRecorder_createSession = function _SessionRecorder_createSession() {
|
|
20721
20724
|
const lastActive = Number(localStorage.getItem("userlensSessionLastActive"));
|
|
20722
20725
|
const storedUuid = localStorage.getItem("userlensSessionUuid");
|