posthog-js 1.275.1 → 1.275.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.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 +6 -1
- package/dist/module.full.d.ts +6 -1
- package/dist/module.full.js +1 -1
- package/dist/module.full.js.map +1 -1
- package/dist/module.full.no-external.d.ts +6 -1
- 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 +6 -1
- 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/posthog-core.d.ts +1 -0
- package/dist/src/posthog-persistence.d.ts +5 -1
- package/dist/surveys-preview.d.ts +6 -1
- package/lib/package.json +1 -1
- package/lib/src/extensions/sentry-integration.js +0 -1
- package/lib/src/extensions/sentry-integration.js.map +1 -1
- package/lib/src/posthog-core.d.ts +1 -0
- package/lib/src/posthog-core.js +26 -12
- package/lib/src/posthog-core.js.map +1 -1
- package/lib/src/posthog-persistence.d.ts +5 -1
- package/lib/src/posthog-persistence.js +4 -0
- package/lib/src/posthog-persistence.js.map +1 -1
- package/package.json +2 -2
|
@@ -2241,7 +2241,11 @@ declare class PostHogPersistence {
|
|
|
2241
2241
|
* @param {boolean=} isDisabled should persistence be disabled (e.g. because of consent management)
|
|
2242
2242
|
*/
|
|
2243
2243
|
constructor(config: PostHogConfig, isDisabled?: boolean);
|
|
2244
|
-
|
|
2244
|
+
/**
|
|
2245
|
+
* Returns whether persistence is disabled. Only available in SDKs > 1.257.1. Do not use on extensions, otherwise
|
|
2246
|
+
* it'll break backwards compatibility for any version before 1.257.1.
|
|
2247
|
+
*/
|
|
2248
|
+
isDisabled?(): boolean;
|
|
2245
2249
|
private _buildStorage;
|
|
2246
2250
|
properties(): Properties;
|
|
2247
2251
|
load(): void;
|
|
@@ -4273,6 +4277,7 @@ declare class PostHog {
|
|
|
4273
4277
|
* @param metricValue The value of the metric to capture.
|
|
4274
4278
|
*/
|
|
4275
4279
|
captureTraceMetric(traceId: string | number, metricName: string, metricValue: string | number | boolean): void;
|
|
4280
|
+
private _checkLocalStorageForDebug;
|
|
4276
4281
|
}
|
|
4277
4282
|
|
|
4278
4283
|
declare const posthog: PostHog;
|