posthog-js 1.311.0 → 1.312.0
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.es5.js +1 -1
- package/dist/array.full.es5.js.map +1 -1
- package/dist/array.full.js +1 -1
- package/dist/array.full.js.map +1 -1
- package/dist/array.full.no-external.js +1 -1
- package/dist/array.full.no-external.js.map +1 -1
- package/dist/array.js +1 -1
- package/dist/array.js.map +1 -1
- package/dist/array.no-external.js +1 -1
- package/dist/array.no-external.js.map +1 -1
- package/dist/customizations.full.js +1 -1
- package/dist/lazy-recorder.js +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/module.d.ts +4 -0
- package/dist/module.full.d.ts +4 -0
- package/dist/module.full.js +1 -1
- package/dist/module.full.js.map +1 -1
- package/dist/module.full.no-external.d.ts +4 -0
- package/dist/module.full.no-external.js +1 -1
- package/dist/module.full.no-external.js.map +1 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/dist/module.no-external.d.ts +4 -0
- package/dist/module.no-external.js +1 -1
- package/dist/module.no-external.js.map +1 -1
- package/dist/posthog-recorder.js +1 -1
- package/dist/src/page-view.d.ts +4 -0
- package/dist/surveys-preview.d.ts +4 -0
- package/lib/package.json +1 -1
- package/lib/src/page-view.d.ts +4 -0
- package/lib/src/page-view.js +29 -0
- package/lib/src/page-view.js.map +1 -1
- package/lib/src/posthog-core.js +8 -5
- package/lib/src/posthog-core.js.map +1 -1
- package/package.json +1 -1
package/dist/module.d.ts
CHANGED
|
@@ -2838,7 +2838,11 @@ declare class PageViewManager {
|
|
|
2838
2838
|
pathname: string | undefined;
|
|
2839
2839
|
};
|
|
2840
2840
|
_instance: PostHog;
|
|
2841
|
+
private _unsubscribeSessionId?;
|
|
2841
2842
|
constructor(instance: PostHog);
|
|
2843
|
+
private _setupSessionRotationHandler;
|
|
2844
|
+
private _onSessionIdChange;
|
|
2845
|
+
destroy(): void;
|
|
2842
2846
|
doPageView(timestamp: Date, pageViewId?: string): PageViewEventProperties;
|
|
2843
2847
|
doPageLeave(timestamp: Date): PageViewEventProperties;
|
|
2844
2848
|
doEvent(): PageViewEventProperties;
|
package/dist/module.full.d.ts
CHANGED
|
@@ -2838,7 +2838,11 @@ declare class PageViewManager {
|
|
|
2838
2838
|
pathname: string | undefined;
|
|
2839
2839
|
};
|
|
2840
2840
|
_instance: PostHog;
|
|
2841
|
+
private _unsubscribeSessionId?;
|
|
2841
2842
|
constructor(instance: PostHog);
|
|
2843
|
+
private _setupSessionRotationHandler;
|
|
2844
|
+
private _onSessionIdChange;
|
|
2845
|
+
destroy(): void;
|
|
2842
2846
|
doPageView(timestamp: Date, pageViewId?: string): PageViewEventProperties;
|
|
2843
2847
|
doPageLeave(timestamp: Date): PageViewEventProperties;
|
|
2844
2848
|
doEvent(): PageViewEventProperties;
|