posthog-js 1.275.1 → 1.275.2

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.
@@ -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
- isDisabled(): boolean;
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;