@firebase/auth 0.20.1-canary.aa44d529e → 0.20.1-canary.dbf623ffe
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/dist/auth-public.d.ts +20 -10
- package/dist/auth.d.ts +20 -10
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +2 -2
- package/dist/cordova/{popup_redirect-971dbf22.js → popup_redirect-d472aefd.js} +14 -8
- package/dist/cordova/{popup_redirect-971dbf22.js.map → popup_redirect-d472aefd.js.map} +1 -1
- package/dist/cordova/src/core/index.d.ts +12 -6
- package/dist/cordova/src/model/public_types.d.ts +8 -4
- package/dist/esm2017/{index-15f1ac82.js → index-8cadb0d7.js} +14 -8
- package/dist/esm2017/index-8cadb0d7.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/esm2017/src/core/index.d.ts +12 -6
- package/dist/esm2017/src/model/public_types.d.ts +8 -4
- package/dist/esm5/{index-a727a04b.js → index-74fca52e.js} +14 -8
- package/dist/esm5/index-74fca52e.js.map +1 -0
- package/dist/esm5/index.js +1 -1
- package/dist/esm5/internal.js +2 -2
- package/dist/esm5/src/core/index.d.ts +12 -6
- package/dist/esm5/src/model/public_types.d.ts +8 -4
- package/dist/index.webworker.esm5.js +13 -7
- package/dist/index.webworker.esm5.js.map +1 -1
- package/dist/node/{index-d86c9467.js → index-f60a6c47.js} +14 -8
- package/dist/node/{index-d86c9467.js.map → index-f60a6c47.js.map} +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/internal.js +1 -1
- package/dist/node/src/core/index.d.ts +12 -6
- package/dist/node/src/model/public_types.d.ts +8 -4
- package/dist/node-esm/{index-3ace1623.js → index-4937be25.js} +14 -8
- package/dist/node-esm/{index-3ace1623.js.map → index-4937be25.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/core/index.d.ts +12 -6
- package/dist/node-esm/src/model/public_types.d.ts +8 -4
- package/dist/rn/index.js +1 -1
- package/dist/rn/internal.js +1 -1
- package/dist/rn/{phone-da189f67.js → phone-a24beeb0.js} +14 -8
- package/dist/rn/{phone-da189f67.js.map → phone-a24beeb0.js.map} +1 -1
- package/dist/rn/src/core/index.d.ts +12 -6
- package/dist/rn/src/model/public_types.d.ts +8 -4
- package/dist/src/core/index.d.ts +12 -6
- package/dist/src/model/public_types.d.ts +8 -4
- package/package.json +6 -6
- package/dist/esm2017/index-15f1ac82.js.map +0 -1
- package/dist/esm5/index-a727a04b.js.map +0 -1
package/dist/node-esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ActionCodeOperation, ad as ActionCodeURL, H as AuthCredential, D as AuthErrorCodes, I as EmailAuthCredential, M as EmailAuthProvider, N as FacebookAuthProvider, F as FactorId, T as GithubAuthProvider, Q as GoogleAuthProvider, J as OAuthCredential, U as OAuthProvider, O as OperationType, K as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, V as SAMLAuthProvider, S as SignInMethod, W as TwitterAuthProvider, a2 as applyActionCode, t as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a3 as checkActionCode, a1 as confirmPasswordReset, G as connectAuthEmulator, a5 as createUserWithEmailAndPassword, B as debugErrorMap, z as deleteUser, aa as fetchSignInMethodsForEmail, al as getAdditionalUserInfo, n as getAuth, ai as getIdToken, aj as getIdTokenResult, an as getMultiFactorResolver, j as getRedirectResult, L as inMemoryPersistence, i as indexedDBLocalPersistence, E as initializeAuth, a8 as isSignInWithEmailLink, Z as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, ao as multiFactor, v as onAuthStateChanged, q as onIdTokenChanged, ae as parseActionCodeURL, C as prodErrorMap, _ as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, am as reload, ab as sendEmailVerification, a0 as sendPasswordResetEmail, a7 as sendSignInLinkToEmail, p as setPersistence, X as signInAnonymously, Y as signInWithCredential, $ as signInWithCustomToken, a6 as signInWithEmailAndPassword, a9 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, y as signOut, ak as unlink, x as updateCurrentUser, ag as updateEmail, ah as updatePassword, u as updatePhoneNumber, af as updateProfile, w as useDeviceLanguage, ac as verifyBeforeUpdateEmail, a4 as verifyPasswordResetCode } from './index-
|
|
1
|
+
export { A as ActionCodeOperation, ad as ActionCodeURL, H as AuthCredential, D as AuthErrorCodes, I as EmailAuthCredential, M as EmailAuthProvider, N as FacebookAuthProvider, F as FactorId, T as GithubAuthProvider, Q as GoogleAuthProvider, J as OAuthCredential, U as OAuthProvider, O as OperationType, K as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, V as SAMLAuthProvider, S as SignInMethod, W as TwitterAuthProvider, a2 as applyActionCode, t as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a3 as checkActionCode, a1 as confirmPasswordReset, G as connectAuthEmulator, a5 as createUserWithEmailAndPassword, B as debugErrorMap, z as deleteUser, aa as fetchSignInMethodsForEmail, al as getAdditionalUserInfo, n as getAuth, ai as getIdToken, aj as getIdTokenResult, an as getMultiFactorResolver, j as getRedirectResult, L as inMemoryPersistence, i as indexedDBLocalPersistence, E as initializeAuth, a8 as isSignInWithEmailLink, Z as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, ao as multiFactor, v as onAuthStateChanged, q as onIdTokenChanged, ae as parseActionCodeURL, C as prodErrorMap, _ as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, am as reload, ab as sendEmailVerification, a0 as sendPasswordResetEmail, a7 as sendSignInLinkToEmail, p as setPersistence, X as signInAnonymously, Y as signInWithCredential, $ as signInWithCustomToken, a6 as signInWithEmailAndPassword, a9 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, y as signOut, ak as unlink, x as updateCurrentUser, ag as updateEmail, ah as updatePassword, u as updatePhoneNumber, af as updateProfile, w as useDeviceLanguage, ac as verifyBeforeUpdateEmail, a4 as verifyPasswordResetCode } from './index-4937be25.js';
|
|
2
2
|
import '@firebase/util';
|
|
3
3
|
import '@firebase/app';
|
|
4
4
|
import 'tslib';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ap as _getInstance, aq as _assert, ar as _signInWithCredential, as as _reauthenticate, at as _link$1, H as AuthCredential, au as signInWithIdp, av as _fail, aw as debugAssert, ax as _persistenceKeyName, ay as _castAuth, az as FederatedAuthProvider, aA as BaseOAuthProvider, aB as _emulatorUrl, aC as _performApiRequest, aD as _isIOS7Or8, aE as _isIOS, aF as _isAndroid, aG as _createError, aH as _isSafari, aI as _isIframe, aJ as _isMobileBrowser, aK as _isIE10 } from './index-
|
|
2
|
-
export { A as ActionCodeOperation, ad as ActionCodeURL, H as AuthCredential, D as AuthErrorCodes, aM as AuthImpl, I as EmailAuthCredential, M as EmailAuthProvider, N as FacebookAuthProvider, F as FactorId, aO as FetchProvider, T as GithubAuthProvider, Q as GoogleAuthProvider, J as OAuthCredential, U as OAuthProvider, O as OperationType, K as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, aP as SAMLAuthCredential, V as SAMLAuthProvider, S as SignInMethod, W as TwitterAuthProvider, aL as UserImpl, aq as _assert, ay as _castAuth, av as _fail, aN as _getClientVersion, ap as _getInstance, ax as _persistenceKeyName, a2 as applyActionCode, t as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a3 as checkActionCode, a1 as confirmPasswordReset, G as connectAuthEmulator, a5 as createUserWithEmailAndPassword, B as debugErrorMap, z as deleteUser, aa as fetchSignInMethodsForEmail, al as getAdditionalUserInfo, n as getAuth, ai as getIdToken, aj as getIdTokenResult, an as getMultiFactorResolver, j as getRedirectResult, L as inMemoryPersistence, i as indexedDBLocalPersistence, E as initializeAuth, a8 as isSignInWithEmailLink, Z as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, ao as multiFactor, v as onAuthStateChanged, q as onIdTokenChanged, ae as parseActionCodeURL, C as prodErrorMap, _ as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, am as reload, ab as sendEmailVerification, a0 as sendPasswordResetEmail, a7 as sendSignInLinkToEmail, p as setPersistence, X as signInAnonymously, Y as signInWithCredential, $ as signInWithCustomToken, a6 as signInWithEmailAndPassword, a9 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, y as signOut, ak as unlink, x as updateCurrentUser, ag as updateEmail, ah as updatePassword, u as updatePhoneNumber, af as updateProfile, w as useDeviceLanguage, ac as verifyBeforeUpdateEmail, a4 as verifyPasswordResetCode } from './index-
|
|
1
|
+
import { ap as _getInstance, aq as _assert, ar as _signInWithCredential, as as _reauthenticate, at as _link$1, H as AuthCredential, au as signInWithIdp, av as _fail, aw as debugAssert, ax as _persistenceKeyName, ay as _castAuth, az as FederatedAuthProvider, aA as BaseOAuthProvider, aB as _emulatorUrl, aC as _performApiRequest, aD as _isIOS7Or8, aE as _isIOS, aF as _isAndroid, aG as _createError, aH as _isSafari, aI as _isIframe, aJ as _isMobileBrowser, aK as _isIE10 } from './index-4937be25.js';
|
|
2
|
+
export { A as ActionCodeOperation, ad as ActionCodeURL, H as AuthCredential, D as AuthErrorCodes, aM as AuthImpl, I as EmailAuthCredential, M as EmailAuthProvider, N as FacebookAuthProvider, F as FactorId, aO as FetchProvider, T as GithubAuthProvider, Q as GoogleAuthProvider, J as OAuthCredential, U as OAuthProvider, O as OperationType, K as PhoneAuthCredential, P as PhoneAuthProvider, m as PhoneMultiFactorGenerator, o as ProviderId, R as RecaptchaVerifier, aP as SAMLAuthCredential, V as SAMLAuthProvider, S as SignInMethod, W as TwitterAuthProvider, aL as UserImpl, aq as _assert, ay as _castAuth, av as _fail, aN as _getClientVersion, ap as _getInstance, ax as _persistenceKeyName, a2 as applyActionCode, t as beforeAuthStateChanged, b as browserLocalPersistence, k as browserPopupRedirectResolver, a as browserSessionPersistence, a3 as checkActionCode, a1 as confirmPasswordReset, G as connectAuthEmulator, a5 as createUserWithEmailAndPassword, B as debugErrorMap, z as deleteUser, aa as fetchSignInMethodsForEmail, al as getAdditionalUserInfo, n as getAuth, ai as getIdToken, aj as getIdTokenResult, an as getMultiFactorResolver, j as getRedirectResult, L as inMemoryPersistence, i as indexedDBLocalPersistence, E as initializeAuth, a8 as isSignInWithEmailLink, Z as linkWithCredential, l as linkWithPhoneNumber, d as linkWithPopup, g as linkWithRedirect, ao as multiFactor, v as onAuthStateChanged, q as onIdTokenChanged, ae as parseActionCodeURL, C as prodErrorMap, _ as reauthenticateWithCredential, r as reauthenticateWithPhoneNumber, e as reauthenticateWithPopup, h as reauthenticateWithRedirect, am as reload, ab as sendEmailVerification, a0 as sendPasswordResetEmail, a7 as sendSignInLinkToEmail, p as setPersistence, X as signInAnonymously, Y as signInWithCredential, $ as signInWithCustomToken, a6 as signInWithEmailAndPassword, a9 as signInWithEmailLink, s as signInWithPhoneNumber, c as signInWithPopup, f as signInWithRedirect, y as signOut, ak as unlink, x as updateCurrentUser, ag as updateEmail, ah as updatePassword, u as updatePhoneNumber, af as updateProfile, w as useDeviceLanguage, ac as verifyBeforeUpdateEmail, a4 as verifyPasswordResetCode } from './index-4937be25.js';
|
|
3
3
|
import { querystring, isEmpty, getUA, querystringDecode } from '@firebase/util';
|
|
4
4
|
import 'tslib';
|
|
5
5
|
import { SDK_VERSION } from '@firebase/app';
|
|
@@ -39,13 +39,17 @@ export { debugErrorMap, prodErrorMap, AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY
|
|
|
39
39
|
*/
|
|
40
40
|
export declare function setPersistence(auth: Auth, persistence: Persistence): Promise<void>;
|
|
41
41
|
/**
|
|
42
|
-
* Adds an observer for changes to the signed-in user's ID token
|
|
43
|
-
*
|
|
42
|
+
* Adds an observer for changes to the signed-in user's ID token.
|
|
43
|
+
*
|
|
44
|
+
* @remarks
|
|
45
|
+
* This includes sign-in, sign-out, and token refresh events.
|
|
44
46
|
*
|
|
45
47
|
* @param auth - The {@link Auth} instance.
|
|
46
48
|
* @param nextOrObserver - callback triggered on change.
|
|
47
|
-
* @param error - callback
|
|
48
|
-
*
|
|
49
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
50
|
+
* on signing in/out can be caught in promises returned from
|
|
51
|
+
* sign-in/sign-out functions.
|
|
52
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
49
53
|
*
|
|
50
54
|
* @public
|
|
51
55
|
*/
|
|
@@ -69,8 +73,10 @@ export declare function beforeAuthStateChanged(auth: Auth, callback: (user: User
|
|
|
69
73
|
*
|
|
70
74
|
* @param auth - The {@link Auth} instance.
|
|
71
75
|
* @param nextOrObserver - callback triggered on change.
|
|
72
|
-
* @param error - callback
|
|
73
|
-
*
|
|
76
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
77
|
+
* on signing in/out can be caught in promises returned from
|
|
78
|
+
* sign-in/sign-out functions.
|
|
79
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
74
80
|
*
|
|
75
81
|
* @public
|
|
76
82
|
*/
|
|
@@ -225,8 +225,10 @@ export interface Auth {
|
|
|
225
225
|
* To keep the old behavior, see {@link Auth.onIdTokenChanged}.
|
|
226
226
|
*
|
|
227
227
|
* @param nextOrObserver - callback triggered on change.
|
|
228
|
-
* @param error - callback
|
|
229
|
-
*
|
|
228
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
229
|
+
* on signing in/out can be caught in promises returned from
|
|
230
|
+
* sign-in/sign-out functions.
|
|
231
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
230
232
|
*/
|
|
231
233
|
onAuthStateChanged(nextOrObserver: NextOrObserver<User | null>, error?: ErrorFn, completed?: CompleteFn): Unsubscribe;
|
|
232
234
|
/**
|
|
@@ -246,8 +248,10 @@ export interface Auth {
|
|
|
246
248
|
* This includes sign-in, sign-out, and token refresh events.
|
|
247
249
|
*
|
|
248
250
|
* @param nextOrObserver - callback triggered on change.
|
|
249
|
-
* @param error - callback
|
|
250
|
-
*
|
|
251
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
252
|
+
* on signing in/out can be caught in promises returned from
|
|
253
|
+
* sign-in/sign-out functions.
|
|
254
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
251
255
|
*/
|
|
252
256
|
onIdTokenChanged(nextOrObserver: NextOrObserver<User | null>, error?: ErrorFn, completed?: CompleteFn): Unsubscribe;
|
|
253
257
|
/** The currently signed-in user (or null). */
|
package/dist/rn/index.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var ReactNative = require('react-native');
|
|
6
6
|
var app = require('@firebase/app');
|
|
7
|
-
var phone = require('./phone-
|
|
7
|
+
var phone = require('./phone-a24beeb0.js');
|
|
8
8
|
var tslib = require('tslib');
|
|
9
9
|
require('@firebase/util');
|
|
10
10
|
require('@firebase/component');
|
package/dist/rn/internal.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var phone = require('./phone-
|
|
5
|
+
var phone = require('./phone-a24beeb0.js');
|
|
6
6
|
var tslib = require('tslib');
|
|
7
7
|
var util = require('@firebase/util');
|
|
8
8
|
var app = require('@firebase/app');
|
|
@@ -6563,13 +6563,17 @@ function setPersistence(auth, persistence) {
|
|
|
6563
6563
|
return util.getModularInstance(auth).setPersistence(persistence);
|
|
6564
6564
|
}
|
|
6565
6565
|
/**
|
|
6566
|
-
* Adds an observer for changes to the signed-in user's ID token
|
|
6567
|
-
*
|
|
6566
|
+
* Adds an observer for changes to the signed-in user's ID token.
|
|
6567
|
+
*
|
|
6568
|
+
* @remarks
|
|
6569
|
+
* This includes sign-in, sign-out, and token refresh events.
|
|
6568
6570
|
*
|
|
6569
6571
|
* @param auth - The {@link Auth} instance.
|
|
6570
6572
|
* @param nextOrObserver - callback triggered on change.
|
|
6571
|
-
* @param error - callback
|
|
6572
|
-
*
|
|
6573
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
6574
|
+
* on signing in/out can be caught in promises returned from
|
|
6575
|
+
* sign-in/sign-out functions.
|
|
6576
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
6573
6577
|
*
|
|
6574
6578
|
* @public
|
|
6575
6579
|
*/
|
|
@@ -6597,8 +6601,10 @@ function beforeAuthStateChanged(auth, callback, onAbort) {
|
|
|
6597
6601
|
*
|
|
6598
6602
|
* @param auth - The {@link Auth} instance.
|
|
6599
6603
|
* @param nextOrObserver - callback triggered on change.
|
|
6600
|
-
* @param error - callback
|
|
6601
|
-
*
|
|
6604
|
+
* @param error - Deprecated. This callback is never triggered. Errors
|
|
6605
|
+
* on signing in/out can be caught in promises returned from
|
|
6606
|
+
* sign-in/sign-out functions.
|
|
6607
|
+
* @param completed - Deprecated. This callback is never triggered.
|
|
6602
6608
|
*
|
|
6603
6609
|
* @public
|
|
6604
6610
|
*/
|
|
@@ -6955,7 +6961,7 @@ function multiFactor(user) {
|
|
|
6955
6961
|
}
|
|
6956
6962
|
|
|
6957
6963
|
var name = "@firebase/auth";
|
|
6958
|
-
var version = "0.20.1-canary.
|
|
6964
|
+
var version = "0.20.1-canary.dbf623ffe";
|
|
6959
6965
|
|
|
6960
6966
|
/**
|
|
6961
6967
|
* @license
|
|
@@ -8480,4 +8486,4 @@ exports.updateProfile = updateProfile;
|
|
|
8480
8486
|
exports.useDeviceLanguage = useDeviceLanguage;
|
|
8481
8487
|
exports.verifyBeforeUpdateEmail = verifyBeforeUpdateEmail;
|
|
8482
8488
|
exports.verifyPasswordResetCode = verifyPasswordResetCode;
|
|
8483
|
-
//# sourceMappingURL=phone-
|
|
8489
|
+
//# sourceMappingURL=phone-a24beeb0.js.map
|