posthog-js 1.131.2 → 1.131.4
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/es.js +1 -1
- package/dist/es.js.map +1 -1
- package/dist/lib/src/constants.d.ts +1 -0
- package/dist/lib/src/extensions/toolbar.d.ts +2 -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/constants.d.ts +1 -0
- package/lib/src/constants.js +1 -0
- package/lib/src/constants.js.map +1 -1
- package/lib/src/extensions/toolbar.d.ts +2 -1
- package/lib/src/extensions/toolbar.js +23 -7
- package/lib/src/extensions/toolbar.js.map +1 -1
- package/lib/src/heatmaps.js +1 -2
- package/lib/src/heatmaps.js.map +1 -1
- package/lib/src/posthog-core.js +1 -1
- package/lib/src/posthog-core.js.map +1 -1
- package/lib/src/utils/request-router.js +5 -1
- package/lib/src/utils/request-router.js.map +1 -1
- package/package.json +1 -1
|
@@ -25,4 +25,5 @@ export declare const CAPTURE_RATE_LIMIT = "$capture_rate_limit";
|
|
|
25
25
|
export declare const INITIAL_CAMPAIGN_PARAMS = "$initial_campaign_params";
|
|
26
26
|
export declare const INITIAL_REFERRER_INFO = "$initial_referrer_info";
|
|
27
27
|
export declare const ENABLE_PERSON_PROCESSING = "$epp";
|
|
28
|
+
export declare const TOOLBAR_ID = "__POSTHOG_TOOLBAR__";
|
|
28
29
|
export declare const PERSISTENCE_RESERVED_PROPERTIES: string[];
|
|
@@ -2,8 +2,9 @@ import { PostHog } from '../posthog-core';
|
|
|
2
2
|
import { ToolbarParams } from '../types';
|
|
3
3
|
export declare class Toolbar {
|
|
4
4
|
instance: PostHog;
|
|
5
|
-
private _toolbarScriptLoaded;
|
|
6
5
|
constructor(instance: PostHog);
|
|
6
|
+
private setToolbarState;
|
|
7
|
+
private getToolbarState;
|
|
7
8
|
/**
|
|
8
9
|
* To load the toolbar, we need an access token and other state. That state comes from one of three places:
|
|
9
10
|
* 1. In the URL hash params
|
package/dist/module.d.ts
CHANGED
|
@@ -997,8 +997,9 @@ declare class SessionRecording {
|
|
|
997
997
|
|
|
998
998
|
declare class Toolbar {
|
|
999
999
|
instance: PostHog;
|
|
1000
|
-
private _toolbarScriptLoaded;
|
|
1001
1000
|
constructor(instance: PostHog);
|
|
1001
|
+
private setToolbarState;
|
|
1002
|
+
private getToolbarState;
|
|
1002
1003
|
/**
|
|
1003
1004
|
* To load the toolbar, we need an access token and other state. That state comes from one of three places:
|
|
1004
1005
|
* 1. In the URL hash params
|