@@ -340,9 +340,9 @@ export interface AuthBlockingEvent extends AuthEventContext {
340
340
}
341
341
342
342
/**
343
- * The reCACPTCHA action options.
343
+ * The reCAPTCHA action options.
344
344
*/
345
- export type RecatpchaActionOptions = "ALLOW" | "BLOCK" ;
345
+ export type RecaptchaActionOptions = "ALLOW" | "BLOCK" ;
346
346
347
347
/** The handler response type for beforeCreate blocking events */
348
348
export interface BeforeCreateResponse {
@@ -351,7 +351,7 @@ export interface BeforeCreateResponse {
351
351
emailVerified ?: boolean ;
352
352
photoURL ?: string ;
353
353
customClaims ?: object ;
354
- recaptchaActionOverride ?: RecatpchaActionOptions ;
354
+ recaptchaActionOverride ?: RecaptchaActionOptions ;
355
355
}
356
356
357
357
/** The handler response type for beforeSignIn blocking events */
@@ -441,7 +441,7 @@ export interface DecodedPayload {
441
441
* @internal */
442
442
export interface ResponsePayload {
443
443
userRecord ?: UserRecordResponsePayload ;
444
- recaptchaActionOverride ?: RecatpchaActionOptions ;
444
+ recaptchaActionOverride ?: RecaptchaActionOptions ;
445
445
}
446
446
447
447
/** @internal */
@@ -679,7 +679,7 @@ export function generateResponsePayload(
679
679
return { } ;
680
680
}
681
681
682
- const { recaptchaActionOverride : recaptchaActionOverride , ...formattedAuthResponse } =
682
+ const { recaptchaActionOverride, ...formattedAuthResponse } =
683
683
authResponse ;
684
684
const result = { } as ResponsePayload ;
685
685
const updateMask = getUpdateMask ( formattedAuthResponse ) ;
0 commit comments