File tree 2 files changed +8
-9
lines changed
2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,13 @@ export class RecaptchaVerifier
37
37
appName : app . name
38
38
} ) ;
39
39
this . _delegate = new exp . RecaptchaVerifier (
40
- // TODO: remove ts-ignore when moving types from auth-types to auth-compat
41
- // @ts -ignore
42
- app . auth ! ( ) ,
43
40
container ,
44
41
// eslint-disable-next-line @typescript-eslint/no-explicit-any
45
- parameters as any
42
+ parameters as any ,
43
+
44
+ // TODO: remove ts-ignore when moving types from auth-types to auth-compat
45
+ // @ts -ignore
46
+ app . auth ! ( )
46
47
) ;
47
48
this . type = this . _delegate . type ;
48
49
}
Original file line number Diff line number Diff line change @@ -521,11 +521,9 @@ function onSignInWithGenericIdPCredential() {
521
521
function makeApplicationVerifier ( submitButtonId ) {
522
522
const container =
523
523
recaptchaSize === 'invisible' ? submitButtonId : 'recaptcha-container' ;
524
- applicationVerifier = new RecaptchaVerifier (
525
- container ,
526
- { 'size' : recaptchaSize } ,
527
- auth
528
- ) ;
524
+ applicationVerifier = new RecaptchaVerifier ( auth , container , {
525
+ 'size' : recaptchaSize
526
+ } ) ;
529
527
}
530
528
531
529
/**
You can’t perform that action at this time.
0 commit comments