Skip to content

Commit a836dba

Browse files
authored
fix(firebase_auth): Update the position of the auth parameter for RecaptchaVerifier in the interop code to reflect changes in firebase-js-sdk (#11514)
1 parent 3ed5347 commit a836dba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/firebase_auth/firebase_auth_web/lib/src/interop/auth.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,9 +1077,9 @@ class RecaptchaVerifier
10771077
container, Map<String, dynamic> parameters, Auth auth) {
10781078
return RecaptchaVerifier.fromJsObject(
10791079
auth_interop.RecaptchaVerifierJsImpl(
1080+
auth.jsObject,
10801081
container,
10811082
jsify(parameters),
1082-
auth.jsObject,
10831083
),
10841084
);
10851085
}

packages/firebase_auth/firebase_auth_web/lib/src/interop/auth_interop.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,9 +488,9 @@ abstract class ApplicationVerifierJsImpl {
488488
@JS('RecaptchaVerifier')
489489
class RecaptchaVerifierJsImpl extends ApplicationVerifierJsImpl {
490490
external factory RecaptchaVerifierJsImpl(
491+
AuthJsImpl authExtern,
491492
containerOrId,
492493
Object parameters,
493-
AuthJsImpl authExtern,
494494
);
495495
external void clear();
496496
external PromiseJsImpl<num> render();

0 commit comments

Comments
 (0)