From 938f9a064e00632cf53a16c6f140a7a30cae0d4b Mon Sep 17 00:00:00 2001 From: Liubin Jiang Date: Thu, 6 Apr 2023 09:44:34 -0700 Subject: [PATCH] update recaptcha key type --- etc/firebase-admin.auth.api.md | 2 +- src/auth/auth-config.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/firebase-admin.auth.api.md b/etc/firebase-admin.auth.api.md index 731deb28b6..7a1df820d6 100644 --- a/etc/firebase-admin.auth.api.md +++ b/etc/firebase-admin.auth.api.md @@ -381,7 +381,7 @@ export interface RecaptchaKey { } // @public -export type RecaptchaKeyClientType = 'WEB'; +export type RecaptchaKeyClientType = 'WEB' | 'IOS' | 'ANDROID'; // @public export interface RecaptchaManagedRule { diff --git a/src/auth/auth-config.ts b/src/auth/auth-config.ts index 0ab9f6308a..5ca4ed0b96 100644 --- a/src/auth/auth-config.ts +++ b/src/auth/auth-config.ts @@ -1751,9 +1751,9 @@ export interface RecaptchaManagedRule { } /** - * The key's platform type: only web is currently supported. + * The key's platform type. */ -export type RecaptchaKeyClientType = 'WEB'; +export type RecaptchaKeyClientType = 'WEB' | 'IOS' | 'ANDROID'; /** * The reCAPTCHA key config.