From 6bda4e2b54be63117fefa63ce458c45d453afc42 Mon Sep 17 00:00:00 2001 From: Daniel La Rocque Date: Fri, 18 Oct 2024 12:21:56 -0400 Subject: [PATCH] Make Auth Recaptcha request extend object --- .../platform_browser/recaptcha/recaptcha_enterprise_verifier.ts | 2 +- packages/auth/src/platform_browser/strategies/phone.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/auth/src/platform_browser/recaptcha/recaptcha_enterprise_verifier.ts b/packages/auth/src/platform_browser/recaptcha/recaptcha_enterprise_verifier.ts index 0543c030682..53796664de6 100644 --- a/packages/auth/src/platform_browser/recaptcha/recaptcha_enterprise_verifier.ts +++ b/packages/auth/src/platform_browser/recaptcha/recaptcha_enterprise_verifier.ts @@ -238,7 +238,7 @@ type ActionMethod = ( request: TRequest ) => Promise; -export async function handleRecaptchaFlow( +export async function handleRecaptchaFlow( authInstance: AuthInternal, request: TRequest, actionName: RecaptchaActionName, diff --git a/packages/auth/src/platform_browser/strategies/phone.ts b/packages/auth/src/platform_browser/strategies/phone.ts index dc6bf1ff788..ebbad499add 100644 --- a/packages/auth/src/platform_browser/strategies/phone.ts +++ b/packages/auth/src/platform_browser/strategies/phone.ts @@ -462,7 +462,7 @@ export async function updatePhoneNumber( } // Helper function that fetches and injects a reCAPTCHA v2 token into the request. -export async function injectRecaptchaV2Token( +export async function injectRecaptchaV2Token( auth: AuthInternal, request: T, recaptchaV2Verifier: ApplicationVerifierInternal