From addc38271d77c5d08b1488f90e8db708f9720a58 Mon Sep 17 00:00:00 2001 From: kailash-b Date: Wed, 5 Feb 2025 14:17:18 +0530 Subject: [PATCH] Change type of authParams to object in PasswordlessWithSMSOptions and PasswordlessWithEmailOptions --- src/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index b5ebdf6c..32efcebc 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; }