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.esm.js
CHANGED
|
@@ -20710,9 +20710,7 @@ _SessionRecorder_trackEventsThrottled = new WeakMap(), _SessionRecorder_handleVi
|
|
|
20710
20710
|
}
|
|
20711
20711
|
}, _SessionRecorder_resetSession = function _SessionRecorder_resetSession() {
|
|
20712
20712
|
__classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_removeLocalSessionData).call(this);
|
|
20713
|
-
__classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_clearEvents).call(this);
|
|
20714
20713
|
__classPrivateFieldGet(this, _SessionRecorder_instances, "m", _SessionRecorder_createSession).call(this);
|
|
20715
|
-
takeFullSnapshot();
|
|
20716
20714
|
}, _SessionRecorder_createSession = function _SessionRecorder_createSession() {
|
|
20717
20715
|
const lastActive = Number(localStorage.getItem("userlensSessionLastActive"));
|
|
20718
20716
|
const storedUuid = localStorage.getItem("userlensSessionUuid");
|
|
@@ -20746,7 +20744,7 @@ _SessionRecorder_trackEventsThrottled = new WeakMap(), _SessionRecorder_handleVi
|
|
|
20746
20744
|
await uploadSessionEvents(this.userId, this.sessionUuid, events, chunkTimestamp);
|
|
20747
20745
|
}
|
|
20748
20746
|
catch (_) {
|
|
20749
|
-
|
|
20747
|
+
this.stop();
|
|
20750
20748
|
}
|
|
20751
20749
|
}, _SessionRecorder_clearEvents = function _SessionRecorder_clearEvents() {
|
|
20752
20750
|
this.sessionEvents = [];
|