@firebase/auth 0.19.7 → 0.19.8-canary.50de44c2e
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 +6 -0
- package/dist/auth-public.d.ts +3 -2
- package/dist/auth.d.ts +3 -2
- package/dist/cordova/index.doc.d.ts +1 -1
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +2 -2
- package/dist/cordova/{popup_redirect-58dc2c45.js → popup_redirect-194657e6.js} +3 -6
- package/dist/cordova/popup_redirect-194657e6.js.map +1 -0
- package/dist/cordova/src/model/public_types.d.ts +3 -2
- package/dist/cordova/src/model/user.d.ts +1 -0
- package/dist/cordova/src/platform_react_native/persistence/react_native.d.ts +1 -1
- package/dist/esm2017/{index-cff4f2fd.js → index-bf1f8433.js} +3 -6
- package/dist/esm2017/index-bf1f8433.js.map +1 -0
- package/dist/esm2017/index.doc.d.ts +1 -1
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/esm2017/src/model/public_types.d.ts +3 -2
- package/dist/esm2017/src/model/user.d.ts +1 -0
- package/dist/esm2017/src/platform_react_native/persistence/react_native.d.ts +1 -1
- package/dist/esm5/{index-22e07d1b.js → index-8a81cbfc.js} +3 -6
- package/dist/esm5/index-8a81cbfc.js.map +1 -0
- package/dist/esm5/index.doc.d.ts +1 -1
- package/dist/esm5/index.js +1 -1
- package/dist/esm5/internal.js +2 -2
- package/dist/esm5/src/model/public_types.d.ts +3 -2
- package/dist/esm5/src/model/user.d.ts +1 -0
- package/dist/esm5/src/platform_react_native/persistence/react_native.d.ts +1 -1
- package/dist/index.doc.d.ts +1 -1
- package/dist/index.webworker.esm5.js +2 -5
- package/dist/index.webworker.esm5.js.map +1 -1
- package/dist/node/{index-2e359668.js → index-fe37936f.js} +3 -6
- package/dist/node/index-fe37936f.js.map +1 -0
- package/dist/node/index.doc.d.ts +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/internal.js +1 -1
- package/dist/node/src/model/public_types.d.ts +3 -2
- package/dist/node/src/model/user.d.ts +1 -0
- package/dist/node/src/platform_react_native/persistence/react_native.d.ts +1 -1
- package/dist/node-esm/{index-1011747c.js → index-041a60d6.js} +3 -6
- package/dist/node-esm/index-041a60d6.js.map +1 -0
- package/dist/node-esm/index.doc.d.ts +1 -1
- package/dist/node-esm/index.js +1 -1
- package/dist/node-esm/internal.js +2 -2
- package/dist/node-esm/src/model/public_types.d.ts +3 -2
- package/dist/node-esm/src/model/user.d.ts +1 -0
- package/dist/node-esm/src/platform_react_native/persistence/react_native.d.ts +1 -1
- package/dist/rn/index.doc.d.ts +1 -1
- package/dist/rn/index.js +2 -2
- package/dist/rn/index.js.map +1 -1
- package/dist/rn/internal.js +1 -1
- package/dist/rn/{phone-49cc5af7.js → phone-83d15b50.js} +3 -6
- package/dist/rn/phone-83d15b50.js.map +1 -0
- package/dist/rn/src/model/public_types.d.ts +3 -2
- package/dist/rn/src/model/user.d.ts +1 -0
- package/dist/rn/src/platform_react_native/persistence/react_native.d.ts +1 -1
- package/dist/src/model/public_types.d.ts +3 -2
- package/dist/src/model/user.d.ts +1 -0
- package/dist/src/platform_react_native/persistence/react_native.d.ts +1 -1
- package/package.json +6 -6
- package/dist/cordova/popup_redirect-58dc2c45.js.map +0 -1
- package/dist/esm2017/index-cff4f2fd.js.map +0 -1
- package/dist/esm5/index-22e07d1b.js.map +0 -1
- package/dist/node/index-2e359668.js.map +0 -1
- package/dist/node-esm/index-1011747c.js.map +0 -1
- package/dist/rn/phone-49cc5af7.js.map +0 -1
package/dist/esm2017/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, Q as GithubAuthProvider, N as GoogleAuthProvider, I as OAuthCredential, T as OAuthProvider, O as OperationType, J as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, a1 as applyActionCode, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a2 as checkActionCode, a0 as confirmPasswordReset, E as connectAuthEmulator, a4 as createUserWithEmailAndPassword, z as debugErrorMap, y as deleteUser, a9 as fetchSignInMethodsForEmail, ak as getAdditionalUserInfo, n as getAuth, ah as getIdToken, ai as getIdTokenResult, am as getMultiFactorResolver, j as getRedirectResult, K as inMemoryPersistence, i as indexedDBLocalPersistence, D as initializeAuth, a7 as isSignInWithEmailLink, Y as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, an as multiFactor, t as onAuthStateChanged, q as onIdTokenChanged, ad as parseActionCodeURL, B as prodErrorMap, Z as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, al as reload, aa as sendEmailVerification, $ as sendPasswordResetEmail, a6 as sendSignInLinkToEmail, p as setPersistence, W as signInAnonymously, X as signInWithCredential, _ as signInWithCustomToken, a5 as signInWithEmailAndPassword, a8 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, x as signOut, aj as unlink, w as updateCurrentUser, af as updateEmail, ag as updatePassword, u as updatePhoneNumber, ae as updateProfile, v as useDeviceLanguage, ab as verifyBeforeUpdateEmail, a3 as verifyPasswordResetCode } from './index-
|
|
1
|
+
export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, Q as GithubAuthProvider, N as GoogleAuthProvider, I as OAuthCredential, T as OAuthProvider, O as OperationType, J as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, a1 as applyActionCode, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a2 as checkActionCode, a0 as confirmPasswordReset, E as connectAuthEmulator, a4 as createUserWithEmailAndPassword, z as debugErrorMap, y as deleteUser, a9 as fetchSignInMethodsForEmail, ak as getAdditionalUserInfo, n as getAuth, ah as getIdToken, ai as getIdTokenResult, am as getMultiFactorResolver, j as getRedirectResult, K as inMemoryPersistence, i as indexedDBLocalPersistence, D as initializeAuth, a7 as isSignInWithEmailLink, Y as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, an as multiFactor, t as onAuthStateChanged, q as onIdTokenChanged, ad as parseActionCodeURL, B as prodErrorMap, Z as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, al as reload, aa as sendEmailVerification, $ as sendPasswordResetEmail, a6 as sendSignInLinkToEmail, p as setPersistence, W as signInAnonymously, X as signInWithCredential, _ as signInWithCustomToken, a5 as signInWithEmailAndPassword, a8 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, x as signOut, aj as unlink, w as updateCurrentUser, af as updateEmail, ag as updatePassword, u as updatePhoneNumber, ae as updateProfile, v as useDeviceLanguage, ab as verifyBeforeUpdateEmail, a3 as verifyPasswordResetCode } from './index-bf1f8433.js';
|
|
2
2
|
import '@firebase/util';
|
|
3
3
|
import '@firebase/app';
|
|
4
4
|
import 'tslib';
|
package/dist/esm2017/internal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ao as _isIOS7Or8, ap as debugAssert, aq as _isIOS, ar as _isAndroid, as as _fail, at as _getRedirectUrl, au as _getProjectConfig, av as _createError, aw as _assert, ax as _getInstance, b as browserLocalPersistence, ay as _persistenceKeyName, az as AuthEventManager, a as browserSessionPersistence, aA as _getRedirectResult, aB as _clearRedirectOutcomes, aC as _castAuth } from './index-
|
|
2
|
-
export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, aE as AuthImpl, aH as AuthPopup, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, aI as FetchProvider, Q as GithubAuthProvider, N as GoogleAuthProvider, I as OAuthCredential, T as OAuthProvider, O as OperationType, J as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, aJ as SAMLAuthCredential, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, aD as UserImpl, aw as _assert, aC as _castAuth, as as _fail, aG as _generateEventId, aF as _getClientVersion, ax as _getInstance, aA as _getRedirectResult, ay as _persistenceKeyName, a1 as applyActionCode, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a2 as checkActionCode, a0 as confirmPasswordReset, E as connectAuthEmulator, a4 as createUserWithEmailAndPassword, z as debugErrorMap, y as deleteUser, a9 as fetchSignInMethodsForEmail, ak as getAdditionalUserInfo, n as getAuth, ah as getIdToken, ai as getIdTokenResult, am as getMultiFactorResolver, j as getRedirectResult, K as inMemoryPersistence, i as indexedDBLocalPersistence, D as initializeAuth, a7 as isSignInWithEmailLink, Y as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, an as multiFactor, t as onAuthStateChanged, q as onIdTokenChanged, ad as parseActionCodeURL, B as prodErrorMap, Z as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, al as reload, aa as sendEmailVerification, $ as sendPasswordResetEmail, a6 as sendSignInLinkToEmail, p as setPersistence, W as signInAnonymously, X as signInWithCredential, _ as signInWithCustomToken, a5 as signInWithEmailAndPassword, a8 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, x as signOut, aj as unlink, w as updateCurrentUser, af as updateEmail, ag as updatePassword, u as updatePhoneNumber, ae as updateProfile, v as useDeviceLanguage, ab as verifyBeforeUpdateEmail, a3 as verifyPasswordResetCode } from './index-
|
|
1
|
+
import { ao as _isIOS7Or8, ap as debugAssert, aq as _isIOS, ar as _isAndroid, as as _fail, at as _getRedirectUrl, au as _getProjectConfig, av as _createError, aw as _assert, ax as _getInstance, b as browserLocalPersistence, ay as _persistenceKeyName, az as AuthEventManager, a as browserSessionPersistence, aA as _getRedirectResult, aB as _clearRedirectOutcomes, aC as _castAuth } from './index-bf1f8433.js';
|
|
2
|
+
export { A as ActionCodeOperation, ac as ActionCodeURL, G as AuthCredential, C as AuthErrorCodes, aE as AuthImpl, aH as AuthPopup, H as EmailAuthCredential, L as EmailAuthProvider, M as FacebookAuthProvider, F as FactorId, aI as FetchProvider, Q as GithubAuthProvider, N as GoogleAuthProvider, I as OAuthCredential, T as OAuthProvider, O as OperationType, J as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, aJ as SAMLAuthCredential, U as SAMLAuthProvider, S as SignInMethod, V as TwitterAuthProvider, aD as UserImpl, aw as _assert, aC as _castAuth, as as _fail, aG as _generateEventId, aF as _getClientVersion, ax as _getInstance, aA as _getRedirectResult, ay as _persistenceKeyName, a1 as applyActionCode, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a2 as checkActionCode, a0 as confirmPasswordReset, E as connectAuthEmulator, a4 as createUserWithEmailAndPassword, z as debugErrorMap, y as deleteUser, a9 as fetchSignInMethodsForEmail, ak as getAdditionalUserInfo, n as getAuth, ah as getIdToken, ai as getIdTokenResult, am as getMultiFactorResolver, j as getRedirectResult, K as inMemoryPersistence, i as indexedDBLocalPersistence, D as initializeAuth, a7 as isSignInWithEmailLink, Y as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, an as multiFactor, t as onAuthStateChanged, q as onIdTokenChanged, ad as parseActionCodeURL, B as prodErrorMap, Z as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, al as reload, aa as sendEmailVerification, $ as sendPasswordResetEmail, a6 as sendSignInLinkToEmail, p as setPersistence, W as signInAnonymously, X as signInWithCredential, _ as signInWithCustomToken, a5 as signInWithEmailAndPassword, a8 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, x as signOut, aj as unlink, w as updateCurrentUser, af as updateEmail, ag as updatePassword, u as updatePhoneNumber, ae as updateProfile, v as useDeviceLanguage, ab as verifyBeforeUpdateEmail, a3 as verifyPasswordResetCode } from './index-bf1f8433.js';
|
|
3
3
|
import { querystringDecode } from '@firebase/util';
|
|
4
4
|
import '@firebase/app';
|
|
5
5
|
import 'tslib';
|
|
@@ -587,7 +587,8 @@ export interface MultiFactorInfo {
|
|
|
587
587
|
}
|
|
588
588
|
/**
|
|
589
589
|
* The subclass of the {@link MultiFactorInfo} interface for phone number
|
|
590
|
-
* second factors. The factorId of this second factor is {@link FactorId.PHONE
|
|
590
|
+
* second factors. The `factorId` of this second factor is {@link FactorId}.PHONE.
|
|
591
|
+
* @public
|
|
591
592
|
*/
|
|
592
593
|
export interface PhoneMultiFactorInfo extends MultiFactorInfo {
|
|
593
594
|
/** The phone number associated with the current second factor. */
|
|
@@ -808,7 +809,7 @@ export interface PhoneMultiFactorEnrollInfoOptions {
|
|
|
808
809
|
session: MultiFactorSession;
|
|
809
810
|
}
|
|
810
811
|
/**
|
|
811
|
-
* Options used for signing
|
|
812
|
+
* Options used for signing in with a second factor.
|
|
812
813
|
*
|
|
813
814
|
* @public
|
|
814
815
|
*/
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { Persistence, ReactNativeAsyncStorage } from '../../model/public_types';
|
|
18
18
|
/**
|
|
19
|
-
* Returns a persistence object that wraps AsyncStorage imported from
|
|
19
|
+
* Returns a persistence object that wraps `AsyncStorage` imported from
|
|
20
20
|
* `react-native` or `@react-native-community/async-storage`, and can
|
|
21
21
|
* be used in the persistence dependency field in {@link initializeAuth}.
|
|
22
22
|
*
|
|
@@ -1797,10 +1797,6 @@ var UserImpl = /** @class */ (function () {
|
|
|
1797
1797
|
var uid = _a.uid, auth = _a.auth, stsTokenManager = _a.stsTokenManager, opt = __rest(_a, ["uid", "auth", "stsTokenManager"]);
|
|
1798
1798
|
// For the user object, provider is always Firebase.
|
|
1799
1799
|
this.providerId = "firebase" /* FIREBASE */;
|
|
1800
|
-
this.emailVerified = false;
|
|
1801
|
-
this.isAnonymous = false;
|
|
1802
|
-
this.tenantId = null;
|
|
1803
|
-
this.providerData = [];
|
|
1804
1800
|
this.proactiveRefresh = new ProactiveRefresh(this);
|
|
1805
1801
|
this.reloadUserInfo = null;
|
|
1806
1802
|
this.reloadListener = null;
|
|
@@ -1815,6 +1811,7 @@ var UserImpl = /** @class */ (function () {
|
|
|
1815
1811
|
this.photoURL = opt.photoURL || null;
|
|
1816
1812
|
this.isAnonymous = opt.isAnonymous || false;
|
|
1817
1813
|
this.tenantId = opt.tenantId || null;
|
|
1814
|
+
this.providerData = opt.providerData ? __spreadArray([], opt.providerData) : [];
|
|
1818
1815
|
this.metadata = new UserMetadata(opt.createdAt || undefined, opt.lastLoginAt || undefined);
|
|
1819
1816
|
}
|
|
1820
1817
|
UserImpl.prototype.getIdToken = function (forceRefresh) {
|
|
@@ -10873,7 +10870,7 @@ var PhoneMultiFactorGenerator = /** @class */ (function () {
|
|
|
10873
10870
|
}());
|
|
10874
10871
|
|
|
10875
10872
|
var name = "@firebase/auth";
|
|
10876
|
-
var version = "0.19.
|
|
10873
|
+
var version = "0.19.8-canary.50de44c2e";
|
|
10877
10874
|
|
|
10878
10875
|
/**
|
|
10879
10876
|
* @license
|
|
@@ -11078,4 +11075,4 @@ function getAuth(app) {
|
|
|
11078
11075
|
registerAuth("Browser" /* BROWSER */);
|
|
11079
11076
|
|
|
11080
11077
|
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, _clearRedirectOutcomes as aA, _getRedirectResult as aB, _castAuth as aC, UserImpl as aD, AuthImpl as aE, _getClientVersion as aF, _generateEventId as aG, AuthPopup as aH, FetchProvider as aI, SAMLAuthCredential as aJ, 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, _isAndroid as ao, _isIOS7Or8 as ap, _isIOS as aq, _fail as ar, _getRedirectUrl as as, debugAssert as at, _getProjectConfig as au, _createError as av, _assert as aw, AuthEventManager as ax, _getInstance as ay, _persistenceKeyName 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 };
|
|
11081
|
-
//# sourceMappingURL=index-
|
|
11078
|
+
//# sourceMappingURL=index-8a81cbfc.js.map
|