From f029cafe9082956462e55498b39f67984e7a6d4c Mon Sep 17 00:00:00 2001 From: Ben White Date: Fri, 24 Nov 2023 13:41:20 +0100 Subject: [PATCH] Add deprecation notice for disable_cookie --- src/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types.ts b/src/types.ts index e682c145e..0339727a1 100644 --- a/src/types.ts +++ b/src/types.ts @@ -83,6 +83,7 @@ export interface PostHogConfig { upgrade: boolean disable_session_recording: boolean disable_persistence: boolean + /** @deprecated - use `disable_persistence` instead */ disable_cookie: boolean enable_recording_console_log?: boolean secure_cookie: boolean