@firebase/auth 1.10.1-firebase-studio-sdk-integration.fe1264c00 → 1.10.1-firebase-studio-sdk-integration.a528caf5f
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-b9c2b181.js → index-21d131ac.js} +11 -10
- package/dist/browser-cjs/index-21d131ac.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-d23ae330.js → popup_redirect-ec07771b.js} +9 -11
- package/dist/cordova/popup_redirect-ec07771b.js.map +1 -0
- package/dist/esm2017/{index-09d92e08.js → index-17228823.js} +12 -11
- package/dist/esm2017/index-17228823.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/index.webworker.js +8 -10
- 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-d056e33b.js → totp-9e48763f.js} +8 -10
- package/dist/node/totp-9e48763f.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-b6b04dcb.js → totp-0804e25c.js} +9 -11
- package/dist/node-esm/totp-0804e25c.js.map +1 -0
- package/dist/rn/{index-2e4bb7b9.js → index-3a4f32e2.js} +8 -10
- package/dist/rn/index-3a4f32e2.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-277c7ef1.js → register-9b621f06.js} +8 -10
- package/dist/web-extension-cjs/register-9b621f06.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-72f033a6.js → register-f7fb1ac1.js} +9 -11
- package/dist/web-extension-esm2017/register-f7fb1ac1.js.map +1 -0
- package/package.json +6 -6
- package/dist/browser-cjs/index-b9c2b181.js.map +0 -1
- package/dist/cordova/popup_redirect-d23ae330.js.map +0 -1
- package/dist/esm2017/index-09d92e08.js.map +0 -1
- package/dist/node/totp-d056e33b.js.map +0 -1
- package/dist/node-esm/totp-b6b04dcb.js.map +0 -1
- package/dist/rn/index-2e4bb7b9.js.map +0 -1
- package/dist/web-extension-cjs/register-277c7ef1.js.map +0 -1
- package/dist/web-extension-esm2017/register-72f033a6.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,
|
|
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';
|
|
@@ -920,9 +920,7 @@ async function _performApiRequest(auth, method, path, request, customErrorMap =
|
|
|
920
920
|
});
|
|
921
921
|
}
|
|
922
922
|
async function _performFetchWithErrorHandling(auth, customErrorMap, fetchFn) {
|
|
923
|
-
|
|
924
|
-
updateEmulatorBanner('Auth', authInternal.emulatorConfig !== null);
|
|
925
|
-
authInternal._canInitEmulator = false;
|
|
923
|
+
auth._canInitEmulator = false;
|
|
926
924
|
const errorMap = Object.assign(Object.assign({}, SERVER_ERROR_MAP), customErrorMap);
|
|
927
925
|
try {
|
|
928
926
|
const networkTimeout = new NetworkTimeout(auth);
|
|
@@ -3775,13 +3773,13 @@ function connectAuthEmulator(auth, url, options) {
|
|
|
3775
3773
|
authInternal.config.emulator = emulator;
|
|
3776
3774
|
authInternal.emulatorConfig = emulatorConfig;
|
|
3777
3775
|
authInternal.settings.appVerificationDisabledForTesting = true;
|
|
3778
|
-
if (!disableWarnings && !isCloudWorkstation(host)) {
|
|
3779
|
-
emitEmulatorWarning();
|
|
3780
|
-
}
|
|
3781
|
-
// Workaround to get cookies in Firebase Studio
|
|
3782
3776
|
if (isCloudWorkstation(host)) {
|
|
3783
|
-
void pingServer(`${protocol}//${host}${portStr}`);
|
|
3784
3777
|
updateEmulatorBanner('Auth', true);
|
|
3778
|
+
// Workaround to get cookies in Firebase Studio
|
|
3779
|
+
void pingServer(`${protocol}//${host}${portStr}`);
|
|
3780
|
+
}
|
|
3781
|
+
else if (!disableWarnings) {
|
|
3782
|
+
emitEmulatorWarning();
|
|
3785
3783
|
}
|
|
3786
3784
|
}
|
|
3787
3785
|
function extractProtocol(url) {
|
|
@@ -10884,7 +10882,7 @@ function _isEmptyString(input) {
|
|
|
10884
10882
|
}
|
|
10885
10883
|
|
|
10886
10884
|
var name = "@firebase/auth";
|
|
10887
|
-
var version = "1.10.1-firebase-studio-sdk-integration.
|
|
10885
|
+
var version = "1.10.1-firebase-studio-sdk-integration.a528caf5f";
|
|
10888
10886
|
|
|
10889
10887
|
/**
|
|
10890
10888
|
* @license
|
|
@@ -11109,6 +11107,9 @@ function getAuth(app = getApp()) {
|
|
|
11109
11107
|
if (authEmulatorHost) {
|
|
11110
11108
|
connectAuthEmulator(auth, `http://${authEmulatorHost}`);
|
|
11111
11109
|
}
|
|
11110
|
+
else {
|
|
11111
|
+
updateEmulatorBanner('Auth', false);
|
|
11112
|
+
}
|
|
11112
11113
|
return auth;
|
|
11113
11114
|
}
|
|
11114
11115
|
function getScriptParentElement() {
|
|
@@ -11139,4 +11140,4 @@ _setExternalJSProvider({
|
|
|
11139
11140
|
registerAuth("Browser" /* ClientPlatform.BROWSER */);
|
|
11140
11141
|
|
|
11141
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 };
|
|
11142
|
-
//# sourceMappingURL=index-
|
|
11143
|
+
//# sourceMappingURL=index-17228823.js.map
|