@firebase/auth 1.10.1-firebase-studio-sdk-integration.fe1264c00 → 1.10.1-firebase-studio-sdk-integration.dbac496fa
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-16cff4d2.js} +11 -10
- package/dist/browser-cjs/index-16cff4d2.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-3476f70e.js} +9 -11
- package/dist/cordova/popup_redirect-3476f70e.js.map +1 -0
- package/dist/esm2017/{index-09d92e08.js → index-2b6f2a6f.js} +12 -11
- package/dist/esm2017/index-2b6f2a6f.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-3d195ab4.js} +8 -10
- package/dist/node/totp-3d195ab4.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-16af4eb0.js} +9 -11
- package/dist/node-esm/totp-16af4eb0.js.map +1 -0
- package/dist/rn/{index-2e4bb7b9.js → index-29dd2b3a.js} +8 -10
- package/dist/rn/index-29dd2b3a.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-966d6184.js} +8 -10
- package/dist/web-extension-cjs/register-966d6184.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-98d6b767.js} +9 -11
- package/dist/web-extension-esm2017/register-98d6b767.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,4 +1,4 @@
|
|
|
1
|
-
import { ErrorFactory, isBrowserExtension, isMobileCordova, isReactNative,
|
|
1
|
+
import { ErrorFactory, isBrowserExtension, isMobileCordova, isReactNative, FirebaseError, querystring, isCloudflareWorker, isCloudWorkstation, getModularInstance, base64Decode, getUA, isIE, createSubscribe, deepEqual, updateEmulatorBanner, pingServer, querystringDecode, extractQuerystring } from '@firebase/util';
|
|
2
2
|
import { SDK_VERSION, _isFirebaseServerApp, _getProvider, _registerComponent, registerVersion } from '@firebase/app';
|
|
3
3
|
import { __rest } from 'tslib';
|
|
4
4
|
import { Component } from '@firebase/component';
|
|
@@ -821,9 +821,7 @@ async function _performApiRequest(auth, method, path, request, customErrorMap =
|
|
|
821
821
|
});
|
|
822
822
|
}
|
|
823
823
|
async function _performFetchWithErrorHandling(auth, customErrorMap, fetchFn) {
|
|
824
|
-
|
|
825
|
-
updateEmulatorBanner('Auth', authInternal.emulatorConfig !== null);
|
|
826
|
-
authInternal._canInitEmulator = false;
|
|
824
|
+
auth._canInitEmulator = false;
|
|
827
825
|
const errorMap = Object.assign(Object.assign({}, SERVER_ERROR_MAP), customErrorMap);
|
|
828
826
|
try {
|
|
829
827
|
const networkTimeout = new NetworkTimeout(auth);
|
|
@@ -3676,13 +3674,13 @@ function connectAuthEmulator(auth, url, options) {
|
|
|
3676
3674
|
authInternal.config.emulator = emulator;
|
|
3677
3675
|
authInternal.emulatorConfig = emulatorConfig;
|
|
3678
3676
|
authInternal.settings.appVerificationDisabledForTesting = true;
|
|
3679
|
-
if (!disableWarnings && !isCloudWorkstation(host)) {
|
|
3680
|
-
emitEmulatorWarning();
|
|
3681
|
-
}
|
|
3682
|
-
// Workaround to get cookies in Firebase Studio
|
|
3683
3677
|
if (isCloudWorkstation(host)) {
|
|
3684
|
-
void pingServer(`${protocol}//${host}${portStr}`);
|
|
3685
3678
|
updateEmulatorBanner('Auth', true);
|
|
3679
|
+
// Workaround to get cookies in Firebase Studio
|
|
3680
|
+
void pingServer(`${protocol}//${host}${portStr}`);
|
|
3681
|
+
}
|
|
3682
|
+
else if (!disableWarnings) {
|
|
3683
|
+
emitEmulatorWarning();
|
|
3686
3684
|
}
|
|
3687
3685
|
}
|
|
3688
3686
|
function extractProtocol(url) {
|
|
@@ -8086,7 +8084,7 @@ function _isEmptyString(input) {
|
|
|
8086
8084
|
}
|
|
8087
8085
|
|
|
8088
8086
|
var name = "@firebase/auth";
|
|
8089
|
-
var version = "1.10.1-firebase-studio-sdk-integration.
|
|
8087
|
+
var version = "1.10.1-firebase-studio-sdk-integration.dbac496fa";
|
|
8090
8088
|
|
|
8091
8089
|
/**
|
|
8092
8090
|
* @license
|
|
@@ -8233,4 +8231,4 @@ function registerAuth(clientPlatform) {
|
|
|
8233
8231
|
}
|
|
8234
8232
|
|
|
8235
8233
|
export { updateEmail as $, AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY as A, linkWithCredential as B, reauthenticateWithCredential as C, signInWithCustomToken as D, EmailAuthCredential as E, FacebookAuthProvider as F, GoogleAuthProvider as G, sendPasswordResetEmail as H, confirmPasswordReset as I, applyActionCode as J, checkActionCode as K, verifyPasswordResetCode as L, createUserWithEmailAndPassword as M, signInWithEmailAndPassword as N, OAuthCredential as O, PhoneAuthCredential as P, sendSignInLinkToEmail as Q, isSignInWithEmailLink as R, SAMLAuthProvider as S, TotpMultiFactorGenerator as T, signInWithEmailLink as U, fetchSignInMethodsForEmail as V, sendEmailVerification as W, verifyBeforeUpdateEmail as X, ActionCodeURL as Y, parseActionCodeURL as Z, updateProfile as _, indexedDBLocalPersistence as a, FetchProvider as a$, updatePassword as a0, getIdToken as a1, getIdTokenResult as a2, unlink as a3, getAdditionalUserInfo as a4, reload as a5, getMultiFactorResolver as a6, multiFactor as a7, STORAGE_AVAILABLE_KEY as a8, _isMobileBrowser as a9, signInWithIdp as aA, _fail as aB, debugAssert as aC, _assertInstanceOf as aD, _generateEventId as aE, FederatedAuthProvider as aF, _persistenceKeyName as aG, _performApiRequest as aH, _getCurrentUrl as aI, _gapiScriptUrl as aJ, _emulatorUrl as aK, _isChromeIOS as aL, _isFirefox as aM, _isIOSStandalone as aN, BaseOAuthProvider as aO, _setWindowLocation as aP, _isSafari as aQ, _isIOS as aR, MultiFactorAssertionImpl as aS, finalizeEnrollPhoneMfa as aT, finalizeSignInPhoneMfa as aU, _setExternalJSProvider as aV, _isAndroid as aW, _isIOS7Or8 as aX, UserImpl as aY, AuthImpl as aZ, _getClientVersion as a_, _isIE10 as aa, Delay as ab, _window as ac, _assert as ad, isV2 as ae, _createError as af, _recaptchaV2ScriptUrl as ag, _loadJS as ah, MockReCaptcha as ai, _generateCallbackName as aj, _castAuth as ak, _isHttpOrHttps as al, _isWorker as am, getRecaptchaParams as an, _serverAppCurrentUserOperationNotSupportedError as ao, _assertLinkedStatus as ap, _initializeRecaptchaConfig as aq, FAKE_TOKEN as ar, startEnrollPhoneMfa as as, handleRecaptchaFlow as at, startSignInPhoneMfa as au, sendPhoneVerificationCode as av, _link as aw, _getInstance as ax, _signInWithCredential as ay, _reauthenticate as az, TotpSecret as b, SAMLAuthCredential as b0, connectAuthEmulator as c, initializeRecaptchaConfig as d, beforeAuthStateChanged as e, onAuthStateChanged as f, updateCurrentUser as g, signOut as h, initializeAuth as i, revokeAccessToken as j, deleteUser as k, debugErrorMap as l, AuthCredential as m, inMemoryPersistence as n, onIdTokenChanged as o, prodErrorMap as p, EmailAuthProvider as q, registerAuth as r, setPersistence as s, GithubAuthProvider as t, useDeviceLanguage as u, validatePassword as v, OAuthProvider as w, TwitterAuthProvider as x, signInAnonymously as y, signInWithCredential as z };
|
|
8236
|
-
//# sourceMappingURL=register-
|
|
8234
|
+
//# sourceMappingURL=register-98d6b767.js.map
|