Skip to content

Commit 6c7d079

Browse files
author
renkelvin
authored
Raise error if calling initializeRecaptchaConfig in node env (#7284)
1 parent 43e402f commit 6c7d079

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/short-dogs-smell.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@firebase/auth': patch
3+
---
4+
5+
Raise error if calling initializeRecaptchaConfig in node env

packages/auth/src/platform_node/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export const linkWithRedirect = fail;
101101
export const reauthenticateWithRedirect = fail;
102102
export const getRedirectResult = fail;
103103
export const RecaptchaVerifier = FailClass;
104+
export const initializeRecaptchaConfig = fail;
104105
export class PhoneMultiFactorGenerator {
105106
static assertion(): unknown {
106107
throw NOT_AVAILABLE_ERROR;

0 commit comments

Comments
 (0)