@firebase/auth 1.10.2-canary.f8334eade → 1.10.2-canary.f92069a21
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-3a7911ff.js → index-294605b2.js} +10 -6
- package/dist/browser-cjs/index-294605b2.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 +6 -3
- package/dist/cordova/internal.js.map +1 -1
- package/dist/cordova/{popup_redirect-74a356e4.js → popup_redirect-49b66796.js} +8 -7
- package/dist/cordova/popup_redirect-49b66796.js.map +1 -0
- package/dist/esm2017/{index-a992d731.js → index-223275f2.js} +11 -7
- package/dist/esm2017/index-223275f2.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/index.webworker.js +7 -6
- 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-43bffa28.js → totp-39e6a8aa.js} +7 -6
- package/dist/node/totp-39e6a8aa.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-93681d1c.js → totp-119a9e59.js} +8 -7
- package/dist/node-esm/totp-119a9e59.js.map +1 -0
- package/dist/rn/{index-7245182c.js → index-156bc938.js} +7 -6
- package/dist/rn/index-156bc938.js.map +1 -0
- package/dist/rn/index.js +1 -1
- package/dist/rn/internal.js +4 -1
- package/dist/rn/internal.js.map +1 -1
- package/dist/web-extension-cjs/index.js +1 -1
- package/dist/web-extension-cjs/internal.js +4 -1
- package/dist/web-extension-cjs/internal.js.map +1 -1
- package/dist/web-extension-cjs/{register-6a74d03d.js → register-4d92f868.js} +7 -6
- package/dist/web-extension-cjs/register-4d92f868.js.map +1 -0
- package/dist/web-extension-esm2017/index.js +2 -2
- package/dist/web-extension-esm2017/internal.js +6 -3
- package/dist/web-extension-esm2017/internal.js.map +1 -1
- package/dist/web-extension-esm2017/{register-6f618819.js → register-1b1dcd92.js} +8 -7
- package/dist/web-extension-esm2017/register-1b1dcd92.js.map +1 -0
- package/package.json +6 -6
- package/dist/browser-cjs/index-3a7911ff.js.map +0 -1
- package/dist/cordova/popup_redirect-74a356e4.js.map +0 -1
- package/dist/esm2017/index-a992d731.js.map +0 -1
- package/dist/node/totp-43bffa28.js.map +0 -1
- package/dist/node-esm/totp-93681d1c.js.map +0 -1
- package/dist/rn/index-7245182c.js.map +0 -1
- package/dist/web-extension-cjs/register-6a74d03d.js.map +0 -1
- package/dist/web-extension-esm2017/register-6f618819.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, pingServer, querystringDecode, extractQuerystring, isEmpty, getExperimentalSetting, getDefaultEmulatorHost } from '@firebase/util';
|
|
2
|
+
import { ErrorFactory, isBrowserExtension, isMobileCordova, isReactNative, FirebaseError, querystring, isCloudflareWorker, isCloudWorkstation, getModularInstance, base64Decode, getUA, isIE, createSubscribe, deepEqual, updateEmulatorBanner, 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,13 +3773,14 @@ 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
|
|
3780
3776
|
if (isCloudWorkstation(host)) {
|
|
3777
|
+
updateEmulatorBanner('Auth', true);
|
|
3778
|
+
// Workaround to get cookies in Firebase Studio
|
|
3781
3779
|
void pingServer(`${protocol}//${host}${portStr}`);
|
|
3782
3780
|
}
|
|
3781
|
+
else if (!disableWarnings) {
|
|
3782
|
+
emitEmulatorWarning();
|
|
3783
|
+
}
|
|
3783
3784
|
}
|
|
3784
3785
|
function extractProtocol(url) {
|
|
3785
3786
|
const protocolEnd = url.indexOf(':');
|
|
@@ -10881,7 +10882,7 @@ function _isEmptyString(input) {
|
|
|
10881
10882
|
}
|
|
10882
10883
|
|
|
10883
10884
|
var name = "@firebase/auth";
|
|
10884
|
-
var version = "1.10.2-canary.
|
|
10885
|
+
var version = "1.10.2-canary.f92069a21";
|
|
10885
10886
|
|
|
10886
10887
|
/**
|
|
10887
10888
|
* @license
|
|
@@ -11106,6 +11107,9 @@ function getAuth(app = getApp()) {
|
|
|
11106
11107
|
if (authEmulatorHost) {
|
|
11107
11108
|
connectAuthEmulator(auth, `http://${authEmulatorHost}`);
|
|
11108
11109
|
}
|
|
11110
|
+
else {
|
|
11111
|
+
updateEmulatorBanner('Auth', false);
|
|
11112
|
+
}
|
|
11109
11113
|
return auth;
|
|
11110
11114
|
}
|
|
11111
11115
|
function getScriptParentElement() {
|
|
@@ -11136,4 +11140,4 @@ _setExternalJSProvider({
|
|
|
11136
11140
|
registerAuth("Browser" /* ClientPlatform.BROWSER */);
|
|
11137
11141
|
|
|
11138
11142
|
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 };
|
|
11139
|
-
//# sourceMappingURL=index-
|
|
11143
|
+
//# sourceMappingURL=index-223275f2.js.map
|