@firebase/auth 1.10.2-canary.f92069a21 → 1.10.2
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/browser-cjs/{index-294605b2.js → index-cdd9f4d9.js} +6 -10
- package/dist/browser-cjs/index-cdd9f4d9.js.map +1 -0
- package/dist/browser-cjs/index.js +1 -1
- package/dist/browser-cjs/internal.js +1 -1
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +3 -6
- package/dist/cordova/internal.js.map +1 -1
- package/dist/cordova/{popup_redirect-49b66796.js → popup_redirect-29a29390.js} +7 -8
- package/dist/cordova/popup_redirect-29a29390.js.map +1 -0
- package/dist/esm2017/{index-223275f2.js → index-68039fd7.js} +7 -11
- package/dist/esm2017/index-68039fd7.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/index.webworker.js +6 -7
- package/dist/index.webworker.js.map +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/internal.js +1 -1
- package/dist/node/{totp-39e6a8aa.js → totp-2100a748.js} +6 -7
- package/dist/node/totp-2100a748.js.map +1 -0
- package/dist/node-esm/index.js +1 -1
- package/dist/node-esm/internal.js +2 -2
- package/dist/node-esm/{totp-119a9e59.js → totp-623ce67b.js} +7 -8
- package/dist/node-esm/totp-623ce67b.js.map +1 -0
- package/dist/rn/{index-156bc938.js → index-25ca5d1a.js} +6 -7
- package/dist/rn/index-25ca5d1a.js.map +1 -0
- package/dist/rn/index.js +1 -1
- package/dist/rn/internal.js +1 -4
- package/dist/rn/internal.js.map +1 -1
- package/dist/web-extension-cjs/index.js +1 -1
- package/dist/web-extension-cjs/internal.js +1 -4
- package/dist/web-extension-cjs/internal.js.map +1 -1
- package/dist/web-extension-cjs/{register-4d92f868.js → register-6f3f23c9.js} +6 -7
- package/dist/web-extension-cjs/register-6f3f23c9.js.map +1 -0
- package/dist/web-extension-esm2017/index.js +2 -2
- package/dist/web-extension-esm2017/internal.js +3 -6
- package/dist/web-extension-esm2017/internal.js.map +1 -1
- package/dist/web-extension-esm2017/{register-1b1dcd92.js → register-df079504.js} +7 -8
- package/dist/web-extension-esm2017/register-df079504.js.map +1 -0
- package/package.json +6 -6
- package/dist/browser-cjs/index-294605b2.js.map +0 -1
- package/dist/cordova/popup_redirect-49b66796.js.map +0 -1
- package/dist/esm2017/index-223275f2.js.map +0 -1
- package/dist/node/totp-39e6a8aa.js.map +0 -1
- package/dist/node-esm/totp-119a9e59.js.map +0 -1
- package/dist/rn/index-156bc938.js.map +0 -1
- package/dist/web-extension-cjs/register-4d92f868.js.map +0 -1
- package/dist/web-extension-esm2017/register-1b1dcd92.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SDK_VERSION, _isFirebaseServerApp, _getProvider, _registerComponent, registerVersion, getApp } from '@firebase/app';
|
|
2
|
-
import { ErrorFactory, isBrowserExtension, isMobileCordova, isReactNative, FirebaseError, querystring, isCloudflareWorker, isCloudWorkstation, getModularInstance, base64Decode, getUA, isIE, createSubscribe, deepEqual,
|
|
2
|
+
import { ErrorFactory, isBrowserExtension, isMobileCordova, isReactNative, FirebaseError, querystring, isCloudflareWorker, isCloudWorkstation, getModularInstance, base64Decode, getUA, isIE, createSubscribe, deepEqual, pingServer, querystringDecode, extractQuerystring, isEmpty, getExperimentalSetting, getDefaultEmulatorHost } from '@firebase/util';
|
|
3
3
|
import { Logger, LogLevel } from '@firebase/logger';
|
|
4
4
|
import { __rest } from 'tslib';
|
|
5
5
|
import { Component } from '@firebase/component';
|
|
@@ -3773,14 +3773,13 @@ function connectAuthEmulator(auth, url, options) {
|
|
|
3773
3773
|
authInternal.config.emulator = emulator;
|
|
3774
3774
|
authInternal.emulatorConfig = emulatorConfig;
|
|
3775
3775
|
authInternal.settings.appVerificationDisabledForTesting = true;
|
|
3776
|
+
if (!disableWarnings) {
|
|
3777
|
+
emitEmulatorWarning();
|
|
3778
|
+
}
|
|
3779
|
+
// Workaround to get cookies in Firebase Studio
|
|
3776
3780
|
if (isCloudWorkstation(host)) {
|
|
3777
|
-
updateEmulatorBanner('Auth', true);
|
|
3778
|
-
// Workaround to get cookies in Firebase Studio
|
|
3779
3781
|
void pingServer(`${protocol}//${host}${portStr}`);
|
|
3780
3782
|
}
|
|
3781
|
-
else if (!disableWarnings) {
|
|
3782
|
-
emitEmulatorWarning();
|
|
3783
|
-
}
|
|
3784
3783
|
}
|
|
3785
3784
|
function extractProtocol(url) {
|
|
3786
3785
|
const protocolEnd = url.indexOf(':');
|
|
@@ -10882,7 +10881,7 @@ function _isEmptyString(input) {
|
|
|
10882
10881
|
}
|
|
10883
10882
|
|
|
10884
10883
|
var name = "@firebase/auth";
|
|
10885
|
-
var version = "1.10.2
|
|
10884
|
+
var version = "1.10.2";
|
|
10886
10885
|
|
|
10887
10886
|
/**
|
|
10888
10887
|
* @license
|
|
@@ -11107,9 +11106,6 @@ function getAuth(app = getApp()) {
|
|
|
11107
11106
|
if (authEmulatorHost) {
|
|
11108
11107
|
connectAuthEmulator(auth, `http://${authEmulatorHost}`);
|
|
11109
11108
|
}
|
|
11110
|
-
else {
|
|
11111
|
-
updateEmulatorBanner('Auth', false);
|
|
11112
|
-
}
|
|
11113
11109
|
return auth;
|
|
11114
11110
|
}
|
|
11115
11111
|
function getScriptParentElement() {
|
|
@@ -11140,4 +11136,4 @@ _setExternalJSProvider({
|
|
|
11140
11136
|
registerAuth("Browser" /* ClientPlatform.BROWSER */);
|
|
11141
11137
|
|
|
11142
11138
|
export { SAMLAuthProvider as $, ActionCodeOperation as A, useDeviceLanguage as B, updateCurrentUser as C, signOut as D, revokeAccessToken as E, FactorId as F, deleteUser as G, debugErrorMap as H, prodErrorMap as I, AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY as J, initializeAuth as K, connectAuthEmulator as L, AuthCredential as M, EmailAuthCredential as N, OperationType as O, PhoneAuthProvider as P, OAuthCredential as Q, RecaptchaVerifier as R, SignInMethod as S, TotpMultiFactorGenerator as T, PhoneAuthCredential as U, inMemoryPersistence as V, EmailAuthProvider as W, FacebookAuthProvider as X, GoogleAuthProvider as Y, GithubAuthProvider as Z, OAuthProvider as _, browserCookiePersistence as a, TwitterAuthProvider as a0, signInAnonymously as a1, signInWithCredential as a2, linkWithCredential as a3, reauthenticateWithCredential as a4, signInWithCustomToken as a5, sendPasswordResetEmail as a6, confirmPasswordReset as a7, applyActionCode as a8, checkActionCode as a9, _getProjectConfig as aA, _isIOS7Or8 as aB, _createError as aC, _assert as aD, AuthEventManager as aE, _getInstance as aF, _persistenceKeyName as aG, _getRedirectResult as aH, _overrideRedirectResult as aI, _clearRedirectOutcomes as aJ, _castAuth as aK, UserImpl as aL, AuthImpl as aM, _getClientVersion as aN, _generateEventId as aO, AuthPopup as aP, FetchProvider as aQ, SAMLAuthCredential as aR, verifyPasswordResetCode as aa, createUserWithEmailAndPassword as ab, signInWithEmailAndPassword as ac, sendSignInLinkToEmail as ad, isSignInWithEmailLink as ae, signInWithEmailLink as af, fetchSignInMethodsForEmail as ag, sendEmailVerification as ah, verifyBeforeUpdateEmail as ai, ActionCodeURL as aj, parseActionCodeURL as ak, updateProfile as al, updateEmail as am, updatePassword as an, getIdToken as ao, getIdTokenResult as ap, unlink as aq, getAdditionalUserInfo as ar, reload as as, getMultiFactorResolver as at, multiFactor as au, debugAssert as av, _isIOS as aw, _isAndroid as ax, _fail as ay, _getRedirectUrl as az, browserLocalPersistence as b, browserSessionPersistence as c, signInWithPopup as d, linkWithPopup as e, reauthenticateWithPopup as f, signInWithRedirect as g, linkWithRedirect as h, indexedDBLocalPersistence as i, reauthenticateWithRedirect as j, getRedirectResult as k, linkWithPhoneNumber as l, browserPopupRedirectResolver as m, PhoneMultiFactorGenerator as n, TotpSecret as o, getAuth as p, ProviderId as q, reauthenticateWithPhoneNumber as r, signInWithPhoneNumber as s, setPersistence as t, updatePhoneNumber as u, initializeRecaptchaConfig as v, validatePassword as w, onIdTokenChanged as x, beforeAuthStateChanged as y, onAuthStateChanged as z };
|
|
11143
|
-
//# sourceMappingURL=index-
|
|
11139
|
+
//# sourceMappingURL=index-68039fd7.js.map
|