@firebase/auth 0.19.6 → 0.19.7-202202622812
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/auth-public.d.ts +9 -0
- package/dist/auth.d.ts +9 -0
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +2 -2
- package/dist/cordova/{popup_redirect-0a21dcc2.js → popup_redirect-26eed48e.js} +8 -8
- package/dist/cordova/{popup_redirect-0a21dcc2.js.map → popup_redirect-26eed48e.js.map} +1 -1
- package/dist/cordova/popup_redirect-916ad4e3.js +9846 -0
- package/dist/cordova/popup_redirect-916ad4e3.js.map +1 -0
- package/dist/cordova/src/mfa/mfa_info.d.ts +3 -3
- package/dist/cordova/src/model/public_types.d.ts +8 -0
- package/dist/esm2017/index-137027e2.js +9329 -0
- package/dist/esm2017/index-137027e2.js.map +1 -0
- package/dist/esm2017/{index-bc414788.js → index-c4037ece.js} +4 -4
- package/dist/esm2017/index-c4037ece.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/esm2017/src/mfa/mfa_info.d.ts +3 -3
- package/dist/esm2017/src/model/public_types.d.ts +8 -0
- package/dist/esm5/{index-fb0ec9ba.js → index-3fdcc389.js} +8 -8
- package/dist/esm5/index-3fdcc389.js.map +1 -0
- package/dist/esm5/index-677c4ab3.js +11081 -0
- package/dist/esm5/index-677c4ab3.js.map +1 -0
- package/dist/esm5/index.js +1 -1
- package/dist/esm5/internal.js +2 -2
- package/dist/esm5/src/mfa/mfa_info.d.ts +3 -3
- package/dist/esm5/src/model/public_types.d.ts +8 -0
- package/dist/index.webworker.esm5.js +8 -8
- package/dist/index.webworker.esm5.js.map +1 -1
- package/dist/node/{index-45556172.js → index-600c42fb.js} +8 -8
- package/dist/node/index-600c42fb.js.map +1 -0
- package/dist/node/index-e20c0ffa.js +7238 -0
- package/dist/node/index-e20c0ffa.js.map +1 -0
- package/dist/node/index.js +1 -1
- package/dist/node/internal.js +1 -1
- package/dist/node/src/mfa/mfa_info.d.ts +3 -3
- package/dist/node/src/model/public_types.d.ts +8 -0
- package/dist/node-esm/index-8da78d50.js +6040 -0
- package/dist/node-esm/{index-c4fe16cb.js.map → index-8da78d50.js.map} +1 -1
- package/dist/node-esm/{index-c4fe16cb.js → index-e64e84ee.js} +4 -4
- package/dist/{node/index-45556172.js.map → node-esm/index-e64e84ee.js.map} +1 -1
- package/dist/node-esm/index.js +1 -1
- package/dist/node-esm/internal.js +2 -2
- package/dist/node-esm/src/mfa/mfa_info.d.ts +3 -3
- package/dist/node-esm/src/model/public_types.d.ts +8 -0
- package/dist/rn/index.js +51 -3
- package/dist/rn/index.js.map +1 -1
- package/dist/rn/internal.js +1 -1
- package/dist/rn/phone-2bea12e1.js +8315 -0
- package/dist/rn/{phone-3071a546.js.map → phone-2bea12e1.js.map} +1 -1
- package/dist/rn/{phone-3071a546.js → phone-d30190e8.js} +8 -8
- package/dist/rn/phone-d30190e8.js.map +1 -0
- package/dist/rn/src/mfa/mfa_info.d.ts +3 -3
- package/dist/rn/src/model/public_types.d.ts +8 -0
- package/dist/src/mfa/mfa_info.d.ts +3 -3
- package/dist/src/model/public_types.d.ts +8 -0
- package/package.json +2 -2
- package/dist/esm2017/index-bc414788.js.map +0 -1
- package/dist/esm5/index-fb0ec9ba.js.map +0 -1
|
@@ -4712,18 +4712,18 @@ class MultiFactorInfoImpl {
|
|
|
4712
4712
|
}
|
|
4713
4713
|
static _fromServerResponse(auth, enrollment) {
|
|
4714
4714
|
if ('phoneInfo' in enrollment) {
|
|
4715
|
-
return
|
|
4715
|
+
return PhoneMultiFactorInfoImpl._fromServerResponse(auth, enrollment);
|
|
4716
4716
|
}
|
|
4717
4717
|
return _fail(auth, "internal-error" /* INTERNAL_ERROR */);
|
|
4718
4718
|
}
|
|
4719
4719
|
}
|
|
4720
|
-
class
|
|
4720
|
+
class PhoneMultiFactorInfoImpl extends MultiFactorInfoImpl {
|
|
4721
4721
|
constructor(response) {
|
|
4722
4722
|
super("phone" /* PHONE */, response);
|
|
4723
4723
|
this.phoneNumber = response.phoneInfo;
|
|
4724
4724
|
}
|
|
4725
4725
|
static _fromServerResponse(_auth, enrollment) {
|
|
4726
|
-
return new
|
|
4726
|
+
return new PhoneMultiFactorInfoImpl(enrollment);
|
|
4727
4727
|
}
|
|
4728
4728
|
}
|
|
4729
4729
|
|
|
@@ -6037,4 +6037,4 @@ class PhoneMultiFactorGenerator {
|
|
|
6037
6037
|
AuthImpl.prototype.setPersistence = async () => { };
|
|
6038
6038
|
|
|
6039
6039
|
export { sendPasswordResetEmail as $, ActionCodeOperation as A, prodErrorMap as B, AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY as C, initializeAuth as D, connectAuthEmulator as E, FactorId as F, AuthCredential as G, EmailAuthCredential as H, OAuthCredential as I, PhoneAuthCredential as J, inMemoryPersistence as K, EmailAuthProvider as L, FacebookAuthProvider as M, GoogleAuthProvider as N, OperationType as O, PhoneAuthProvider as P, GithubAuthProvider as Q, RecaptchaVerifier as R, SignInMethod as S, OAuthProvider as T, SAMLAuthProvider as U, TwitterAuthProvider as V, signInAnonymously as W, signInWithCredential as X, linkWithCredential as Y, reauthenticateWithCredential as Z, signInWithCustomToken as _, browserSessionPersistence as a, confirmPasswordReset as a0, applyActionCode as a1, checkActionCode as a2, verifyPasswordResetCode as a3, createUserWithEmailAndPassword as a4, signInWithEmailAndPassword as a5, sendSignInLinkToEmail as a6, isSignInWithEmailLink as a7, signInWithEmailLink as a8, fetchSignInMethodsForEmail as a9, _emulatorUrl as aA, _performApiRequest as aB, _isIOS7Or8 as aC, _isIOS as aD, _isAndroid as aE, _createError as aF, _isSafari as aG, _isIframe as aH, _isMobileBrowser as aI, _isIE10 as aJ, UserImpl as aK, AuthImpl as aL, _getClientVersion as aM, FetchProvider as aN, SAMLAuthCredential as aO, sendEmailVerification as aa, verifyBeforeUpdateEmail as ab, ActionCodeURL as ac, parseActionCodeURL as ad, updateProfile as ae, updateEmail as af, updatePassword as ag, getIdToken as ah, getIdTokenResult as ai, unlink as aj, getAdditionalUserInfo as ak, reload as al, getMultiFactorResolver as am, multiFactor as an, _getInstance as ao, _assert as ap, _signInWithCredential as aq, _reauthenticate as ar, _link as as, signInWithIdp as at, _fail as au, debugAssert as av, _persistenceKeyName as aw, _castAuth as ax, FederatedAuthProvider as ay, BaseOAuthProvider as az, browserLocalPersistence as b, signInWithPopup as c, linkWithPopup as d, reauthenticateWithPopup as e, signInWithRedirect as f, linkWithRedirect as g, reauthenticateWithRedirect as h, indexedDBLocalPersistence as i, getRedirectResult as j, browserPopupRedirectResolver as k, linkWithPhoneNumber as l, PhoneMultiFactorGenerator as m, getAuth as n, ProviderId as o, setPersistence as p, onIdTokenChanged as q, reauthenticateWithPhoneNumber as r, signInWithPhoneNumber as s, onAuthStateChanged as t, updatePhoneNumber as u, useDeviceLanguage as v, updateCurrentUser as w, signOut as x, deleteUser as y, debugErrorMap as z };
|
|
6040
|
-
//# sourceMappingURL=index-
|
|
6040
|
+
//# sourceMappingURL=index-e64e84ee.js.map
|