Skip to content

Commit 396be4e

Browse files
committed
chore: Switch remaining snake case properties to camelCase
1 parent c9b7d77 commit 396be4e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/shared/src/types/signInCommon.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ export type SignInCreateParams = (
169169
transfer?: boolean;
170170
locale?: string;
171171
signUpIfMissing?: boolean;
172-
captcha_token?: string;
173-
captcha_error?: unknown;
174-
captcha_widget_type?: string | null;
172+
captchaToken?: string;
173+
captchaError?: unknown;
174+
captchaWidgetType?: string | null;
175175
};
176176

177177
export type ResetPasswordParams = {

packages/shared/src/types/signInFuture.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,19 @@ export interface SignInFutureCreateParams {
5252
*
5353
* @internal
5454
*/
55-
captcha_token?: string;
55+
captchaToken?: string;
5656
/**
5757
* The captcha error if the captcha challenge failed.
5858
*
5959
* @internal
6060
*/
61-
captcha_error?: unknown;
61+
captchaError?: unknown;
6262
/**
6363
* The type of captcha widget used ('smart', 'invisible', or null).
6464
*
6565
* @internal
6666
*/
67-
captcha_widget_type?: string | null;
67+
captchaWidgetType?: string | null;
6868
}
6969

7070
export type SignInFuturePasswordParams = {

0 commit comments

Comments
 (0)