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.
package/dist/module.d.ts CHANGED
@@ -1034,6 +1034,7 @@ declare class SessionRecording {
1034
1034
  private sessionId;
1035
1035
  private _linkedFlag;
1036
1036
  private _fullSnapshotTimer?;
1037
+ private _removePageViewCaptureHook;
1037
1038
  private _lastHref?;
1038
1039
  _forceAllowLocalhostNetworkCapture: boolean;
1039
1040
  private get rrwebRecord();
@@ -1837,7 +1838,7 @@ declare class PostHog {
1837
1838
  * @param {Date} [config.timestamp] Timestamp is a Date object. If not set, it'll automatically be set to the current time.
1838
1839
  */
1839
1840
  capture(event_name: string, properties?: Properties | null, options?: CaptureOptions): CaptureResult | undefined;
1840
- _addCaptureHook(callback: (eventName: string, eventPayload?: CaptureResult) => void): void;
1841
+ _addCaptureHook(callback: (eventName: string, eventPayload?: CaptureResult) => void): () => void;
1841
1842
  _calculate_event_properties(event_name: string, event_properties: Properties, timestamp?: Date): Properties;
1842
1843
  _calculate_set_once_properties(dataSetOnce?: Properties): Properties | undefined;
1843
1844
  /**