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.
|
@@ -20716,9 +20716,7 @@
|
|
|
20716
20716
|
}
|
|
20717
20717
|
}, _SessionRecorder_resetSession = function _SessionRecorder_resetSession() {
|
|
20718
20718
|
__classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_removeLocalSessionData).call(this);
|
|
20719
|
-
__classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_clearEvents).call(this);
|
|
20720
20719
|
__classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_createSession).call(this);
|
|
20721
|
-
takeFullSnapshot();
|
|
20722
20720
|
}, _SessionRecorder_createSession = function _SessionRecorder_createSession() {
|
|
20723
20721
|
const lastActive = Number(localStorage.getItem("userlensSessionLastActive"));
|
|
20724
20722
|
const storedUuid = localStorage.getItem("userlensSessionUuid");
|
|
@@ -20752,7 +20750,7 @@
|
|
|
20752
20750
|
await uploadSessionEvents(this.userId, this.sessionUuid, events, chunkTimestamp);
|
|
20753
20751
|
}
|
|
20754
20752
|
catch (_) {
|
|
20755
|
-
|
|
20753
|
+
this.stop();
|
|
20756
20754
|
}
|
|
20757
20755
|
}, _SessionRecorder_clearEvents = function _SessionRecorder_clearEvents() {
|
|
20758
20756
|
this.sessionEvents = [];
|