@tracelog/lib 2.0.0 → 2.0.1

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.
@@ -641,7 +641,7 @@ var init_performance_constants = __esm({
641
641
  var version;
642
642
  var init_package = __esm({
643
643
  "package.json"() {
644
- version = "1.8.1";
644
+ version = "2.0.0";
645
645
  }
646
646
  });
647
647
 
@@ -4174,6 +4174,7 @@ var init_session_manager = __esm({
4174
4174
  this.cleanupCrossTabSync();
4175
4175
  this.clearStoredSession();
4176
4176
  this.set("sessionId", null);
4177
+ this.set("hasStartSession", false);
4177
4178
  this.isTracking = false;
4178
4179
  }
4179
4180
  /**
@@ -4188,10 +4189,10 @@ var init_session_manager = __esm({
4188
4189
  * 3. Removes lifecycle listeners (visibilitychange)
4189
4190
  * 4. Closes BroadcastChannel
4190
4191
  * 5. Clears session from localStorage
4191
- * 6. Resets `sessionId` in global state
4192
+ * 6. Resets `sessionId` and `hasStartSession` in global state
4192
4193
  * 7. Sets `isTracking` to false
4193
4194
  *
4194
- * **Called by**: `App.destroy()` during application teardown
4195
+ * **Called by**: `App.destroy()` during application teardown or when session times out
4195
4196
  *
4196
4197
  * **Important**: After calling, session tracking is terminated and cannot be resumed.
4197
4198
  * A new session will be created on next `startTracking()` call.