@firebase/auth 1.10.6 → 1.10.7
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-7f88c29c.js → index-d8380d90.js} +9 -4
- package/dist/browser-cjs/index-d8380d90.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 +2 -2
- package/dist/cordova/{popup_redirect-0b0348b1.js → popup_redirect-2822224b.js} +9 -4
- package/dist/cordova/popup_redirect-2822224b.js.map +1 -0
- package/dist/esm2017/{index-8bd0c73f.js → index-8e6e89cb.js} +9 -4
- package/dist/esm2017/index-8e6e89cb.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/index.webworker.js +8 -3
- 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-140bfa1f.js → totp-9fae27f4.js} +9 -4
- package/dist/node/totp-9fae27f4.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-9f6d0d7e.js → totp-18137433.js} +9 -4
- package/dist/node-esm/totp-18137433.js.map +1 -0
- package/dist/rn/{index-374a18b6.js → index-88065ec9.js} +9 -4
- package/dist/rn/index-88065ec9.js.map +1 -0
- package/dist/rn/index.js +1 -1
- package/dist/rn/internal.js +1 -1
- package/dist/web-extension-cjs/index.js +1 -1
- package/dist/web-extension-cjs/internal.js +1 -1
- package/dist/web-extension-cjs/{register-802a6cf3.js → register-e67a5434.js} +9 -4
- package/dist/web-extension-cjs/register-e67a5434.js.map +1 -0
- package/dist/web-extension-esm2017/index.js +2 -2
- package/dist/web-extension-esm2017/internal.js +2 -2
- package/dist/web-extension-esm2017/{register-517a9433.js → register-eb80272b.js} +9 -4
- package/dist/web-extension-esm2017/register-eb80272b.js.map +1 -0
- package/package.json +2 -2
- package/dist/browser-cjs/index-7f88c29c.js.map +0 -1
- package/dist/cordova/popup_redirect-0b0348b1.js.map +0 -1
- package/dist/esm2017/index-8bd0c73f.js.map +0 -1
- package/dist/node/totp-140bfa1f.js.map +0 -1
- package/dist/node-esm/totp-9f6d0d7e.js.map +0 -1
- package/dist/rn/index-374a18b6.js.map +0 -1
- package/dist/web-extension-cjs/register-802a6cf3.js.map +0 -1
- package/dist/web-extension-esm2017/register-517a9433.js.map +0 -1
|
@@ -1578,11 +1578,16 @@ async function requestStsToken(auth, refreshToken) {
|
|
|
1578
1578
|
const url = await _getFinalTarget(auth, tokenApiHost, "/v1/token" /* Endpoint.TOKEN */, `key=${apiKey}`);
|
|
1579
1579
|
const headers = await auth._getAdditionalHeaders();
|
|
1580
1580
|
headers["Content-Type" /* HttpHeader.CONTENT_TYPE */] = 'application/x-www-form-urlencoded';
|
|
1581
|
-
|
|
1581
|
+
const options = {
|
|
1582
1582
|
method: "POST" /* HttpMethod.POST */,
|
|
1583
1583
|
headers,
|
|
1584
1584
|
body
|
|
1585
|
-
}
|
|
1585
|
+
};
|
|
1586
|
+
if (auth.emulatorConfig &&
|
|
1587
|
+
isCloudWorkstation(auth.emulatorConfig.host)) {
|
|
1588
|
+
options.credentials = 'include';
|
|
1589
|
+
}
|
|
1590
|
+
return FetchProvider.fetch()(url, options);
|
|
1586
1591
|
});
|
|
1587
1592
|
// The response comes back in snake_case. Convert to camel:
|
|
1588
1593
|
return {
|
|
@@ -10882,7 +10887,7 @@ function _isEmptyString(input) {
|
|
|
10882
10887
|
}
|
|
10883
10888
|
|
|
10884
10889
|
var name = "@firebase/auth";
|
|
10885
|
-
var version = "1.10.
|
|
10890
|
+
var version = "1.10.7";
|
|
10886
10891
|
|
|
10887
10892
|
/**
|
|
10888
10893
|
* @license
|
|
@@ -11137,4 +11142,4 @@ _setExternalJSProvider({
|
|
|
11137
11142
|
registerAuth("Browser" /* ClientPlatform.BROWSER */);
|
|
11138
11143
|
|
|
11139
11144
|
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 };
|
|
11140
|
-
//# sourceMappingURL=index-
|
|
11145
|
+
//# sourceMappingURL=index-8e6e89cb.js.map
|