From a96d320ae2e5e437c57c7f1e26caf611d62a387c Mon Sep 17 00:00:00 2001 From: Ben Qiu Date: Fri, 5 Jan 2024 18:07:32 +1100 Subject: [PATCH] Fix the authParams type, it should be an object --- src/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index 73213d05..5509e68f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -349,7 +349,7 @@ export interface PasswordlessWithEmailOptions { /** * Optional parameters, used when strategy is 'linkĖ' */ - authParams?: string; + authParams?: object; [key: string]: any; } @@ -368,7 +368,7 @@ export interface PasswordlessWithSMSOptions { /** * Optional passwordless parameters */ - authParams?: string; + authParams?: object; [key: string]: any; }