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/array.full.js +2 -2
- package/dist/array.full.js.map +1 -1
- package/dist/array.js +1 -1
- package/dist/array.js.map +1 -1
- package/dist/lib/src/extensions/replay/sessionrecording.d.ts +1 -0
- package/dist/lib/src/posthog-core.d.ts +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/module.d.ts +2 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/src/extensions/replay/sessionrecording.d.ts +1 -0
- package/lib/src/extensions/replay/sessionrecording.js +28 -20
- package/lib/src/extensions/replay/sessionrecording.js.map +1 -1
- package/lib/src/posthog-core.d.ts +1 -1
- package/lib/src/posthog-core.js +1 -1
- package/lib/src/posthog-core.js.map +1 -1
- package/package.json +1 -1
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
|
/**
|