Skip to content

Commit

Permalink
Fix the authParams type, it should be an object
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-qiu committed Jan 5, 2024
1 parent 7cc5475 commit a96d320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export interface PasswordlessWithEmailOptions {
/**
* Optional parameters, used when strategy is 'linḱ'
*/
authParams?: string;
authParams?: object;
[key: string]: any;
}

Expand All @@ -368,7 +368,7 @@ export interface PasswordlessWithSMSOptions {
/**
* Optional passwordless parameters
*/
authParams?: string;
authParams?: object;
[key: string]: any;
}

Expand Down

0 comments on commit a96d320

Please sign in to comment.