humanbehavior-js 0.5.61 → 0.5.62

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.
@@ -142,7 +142,7 @@ export declare class HumanBehaviorTracker {
142
142
  /**
143
143
  * Setup rage click detection
144
144
  * Detects when user clicks the same area 3+ times within 1 second (within 30px radius)
145
- * Similar to PostHog's $rageclick event
145
+ * Similar to rage click detection
146
146
  */
147
147
  private setupRageClickDetection;
148
148
  /**
@@ -153,7 +153,7 @@ export declare class HumanBehaviorTracker {
153
153
  /**
154
154
  * Setup dead click detection
155
155
  * Detects when user clicks on interactive elements that don't trigger any action
156
- * Uses PostHog's approach: observe entire document for mutations, accept false negatives on animated pages
156
+ * Observes entire document for mutations, accepts false negatives on animated pages
157
157
  */
158
158
  /**
159
159
  * Check if an element is interactive (should respond to clicks)
@@ -304,25 +304,25 @@ export declare class HumanBehaviorTracker {
304
304
  clearUnredactedFields(): void;
305
305
  /**
306
306
  * Check and refresh session if expired (called before adding events)
307
- * PostHog-style: uses in-memory state as source of truth
307
+ * Uses in-memory state as source of truth
308
308
  */
309
309
  private checkAndRefreshSession;
310
310
  /**
311
- * Get or create session ID with timeout checking (PostHog-style)
311
+ * Get or create session ID with timeout checking
312
312
  * Called once during initialization
313
313
  * Uses in-memory state as source of truth
314
314
  */
315
315
  private getOrCreateSessionId;
316
316
  /**
317
- * Get session data (PostHog-style: check memory first, then localStorage)
317
+ * Get session data (check memory first, then localStorage)
318
318
  */
319
319
  private getStoredSession;
320
320
  /**
321
- * Create a new session (PostHog-style: update memory first, then persistence)
321
+ * Create a new session (update memory first, then persistence)
322
322
  */
323
323
  private createNewSession;
324
324
  /**
325
- * Update session activity timestamp (PostHog-style: update memory first, then persistence)
325
+ * Update session activity timestamp (update memory first, then persistence)
326
326
  */
327
327
  private updateSessionActivity;
328
328
  /**