From 930aae3c7e51f4c5c0b4b8de09abd26652cd9f1d Mon Sep 17 00:00:00 2001 From: Frank Spee Date: Tue, 5 Nov 2024 09:49:57 +0100 Subject: [PATCH] feat: :label: add withSession flag to SecondarySignInOptions interface --- src/runtime/types.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/runtime/types.ts b/src/runtime/types.ts index 17152cec..52362e68 100644 --- a/src/runtime/types.ts +++ b/src/runtime/types.ts @@ -548,6 +548,12 @@ export interface SecondarySignInOptions extends Record { * @default false */ external?: boolean + /** + * Whether `getSession` is called. If set to false, you have to manually call `getSession` to get the session data. + * + * @default true + */ + withSession?: boolean } export interface SignUpOptions extends SecondarySignInOptions {