posthog-js 1.158.0 → 1.158.1
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 +4 -0
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/module.d.ts +4 -0
- 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 +4 -0
- package/lib/src/extensions/replay/sessionrecording.js +21 -13
- package/lib/src/extensions/replay/sessionrecording.js.map +1 -1
- package/package.json +1 -1
package/dist/module.d.ts
CHANGED
|
@@ -1046,6 +1046,10 @@ declare class SessionRecording {
|
|
|
1046
1046
|
*/
|
|
1047
1047
|
private get status();
|
|
1048
1048
|
constructor(instance: PostHog);
|
|
1049
|
+
private _onBeforeUnload;
|
|
1050
|
+
private _onOffline;
|
|
1051
|
+
private _onOnline;
|
|
1052
|
+
private _onVisibilityChange;
|
|
1049
1053
|
startIfEnabledOrStop(): void;
|
|
1050
1054
|
stopRecording(): void;
|
|
1051
1055
|
private makeSamplingDecision;
|