We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c694433 commit cbc5618Copy full SHA for cbc5618
.changeset/forty-lamps-yawn.md
@@ -0,0 +1,5 @@
1
+---
2
+'@clerk/shared': patch
3
4
+
5
+Fix issue where an argument to `signIn.emailCode.send()` was marked as required.
packages/shared/src/types/signInFuture.ts
@@ -398,7 +398,7 @@ export interface SignInFutureResource {
398
/**
399
* Used to send an email code to sign-in
400
*/
401
- sendCode: (params: SignInFutureEmailCodeSendParams) => Promise<{ error: ClerkError | null }>;
+ sendCode: (params?: SignInFutureEmailCodeSendParams) => Promise<{ error: ClerkError | null }>;
402
403
404
* Used to verify a code sent via email to sign-in
0 commit comments