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