posthog-js 1.161.2 → 1.161.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.
@@ -28,6 +28,7 @@ export declare class SessionRecording {
28
28
  private sessionId;
29
29
  private _linkedFlag;
30
30
  private _fullSnapshotTimer?;
31
+ private _removePageViewCaptureHook;
31
32
  private _lastHref?;
32
33
  _forceAllowLocalhostNetworkCapture: boolean;
33
34
  private get rrwebRecord();
@@ -143,7 +143,7 @@ export declare class PostHog {
143
143
  * @param {Date} [config.timestamp] Timestamp is a Date object. If not set, it'll automatically be set to the current time.
144
144
  */
145
145
  capture(event_name: string, properties?: Properties | null, options?: CaptureOptions): CaptureResult | undefined;
146
- _addCaptureHook(callback: (eventName: string, eventPayload?: CaptureResult) => void): void;
146
+ _addCaptureHook(callback: (eventName: string, eventPayload?: CaptureResult) => void): () => void;
147
147
  _calculate_event_properties(event_name: string, event_properties: Properties, timestamp?: Date): Properties;
148
148
  _calculate_set_once_properties(dataSetOnce?: Properties): Properties | undefined;
149
149
  /**