@firebase/auth 1.10.1-firebase-studio-sdk-integration.226be0bb1 → 1.10.1-firebase-studio-sdk-integration.bffdabd70
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-0239cf36.js → index-e10f87bd.js} +9 -6
- package/dist/browser-cjs/index-e10f87bd.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-d277f8f5.js → popup_redirect-9f7e4c3d.js} +10 -7
- package/dist/cordova/popup_redirect-9f7e4c3d.js.map +1 -0
- package/dist/esm2017/{index-668b4704.js → index-af9f3cd8.js} +10 -7
- package/dist/esm2017/index-af9f3cd8.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/index.webworker.js +9 -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-a59e7f4f.js → totp-c3c7eda4.js} +9 -6
- package/dist/node/totp-c3c7eda4.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-32a77968.js → totp-ac4e0121.js} +10 -7
- package/dist/node-esm/totp-ac4e0121.js.map +1 -0
- package/dist/rn/{index-f25f22f1.js → index-bb8bc7f6.js} +9 -6
- package/dist/rn/index-bb8bc7f6.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-7f7b72ae.js → register-6964702c.js} +9 -6
- package/dist/web-extension-cjs/register-6964702c.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-088d00be.js → register-306f1352.js} +10 -7
- package/dist/web-extension-esm2017/register-306f1352.js.map +1 -0
- package/package.json +6 -6
- package/dist/browser-cjs/index-0239cf36.js.map +0 -1
- package/dist/cordova/popup_redirect-d277f8f5.js.map +0 -1
- package/dist/esm2017/index-668b4704.js.map +0 -1
- package/dist/node/totp-a59e7f4f.js.map +0 -1
- package/dist/node-esm/totp-32a77968.js.map +0 -1
- package/dist/rn/index-f25f22f1.js.map +0 -1
- package/dist/web-extension-cjs/register-7f7b72ae.js.map +0 -1
- package/dist/web-extension-esm2017/register-088d00be.js.map +0 -1
|
@@ -922,7 +922,9 @@ async function _performApiRequest(auth, method, path, request, customErrorMap =
|
|
|
922
922
|
});
|
|
923
923
|
}
|
|
924
924
|
async function _performFetchWithErrorHandling(auth, customErrorMap, fetchFn) {
|
|
925
|
-
|
|
925
|
+
const authInternal = auth;
|
|
926
|
+
util.updateEmulatorBanner('Auth', authInternal.emulatorConfig !== null);
|
|
927
|
+
authInternal._canInitEmulator = false;
|
|
926
928
|
const errorMap = Object.assign(Object.assign({}, SERVER_ERROR_MAP), customErrorMap);
|
|
927
929
|
try {
|
|
928
930
|
const networkTimeout = new NetworkTimeout(auth);
|
|
@@ -3775,12 +3777,13 @@ function connectAuthEmulator(auth, url, options) {
|
|
|
3775
3777
|
authInternal.config.emulator = emulator;
|
|
3776
3778
|
authInternal.emulatorConfig = emulatorConfig;
|
|
3777
3779
|
authInternal.settings.appVerificationDisabledForTesting = true;
|
|
3778
|
-
if (!disableWarnings) {
|
|
3780
|
+
if (!disableWarnings && !util.isCloudWorkstation(host)) {
|
|
3779
3781
|
emitEmulatorWarning();
|
|
3780
3782
|
}
|
|
3783
|
+
// Workaround to get cookies in Firebase Studio
|
|
3781
3784
|
if (util.isCloudWorkstation(host)) {
|
|
3782
|
-
|
|
3783
|
-
|
|
3785
|
+
void util.pingServer(`${protocol}//${host}${portStr}`);
|
|
3786
|
+
util.updateEmulatorBanner('Auth', true);
|
|
3784
3787
|
}
|
|
3785
3788
|
}
|
|
3786
3789
|
function extractProtocol(url) {
|
|
@@ -10883,7 +10886,7 @@ function _isEmptyString(input) {
|
|
|
10883
10886
|
}
|
|
10884
10887
|
|
|
10885
10888
|
var name = "@firebase/auth";
|
|
10886
|
-
var version = "1.10.1-firebase-studio-sdk-integration.
|
|
10889
|
+
var version = "1.10.1-firebase-studio-sdk-integration.bffdabd70";
|
|
10887
10890
|
|
|
10888
10891
|
/**
|
|
10889
10892
|
* @license
|
|
@@ -11245,4 +11248,4 @@ exports.useDeviceLanguage = useDeviceLanguage;
|
|
|
11245
11248
|
exports.validatePassword = validatePassword;
|
|
11246
11249
|
exports.verifyBeforeUpdateEmail = verifyBeforeUpdateEmail;
|
|
11247
11250
|
exports.verifyPasswordResetCode = verifyPasswordResetCode;
|
|
11248
|
-
//# sourceMappingURL=index-
|
|
11251
|
+
//# sourceMappingURL=index-e10f87bd.js.map
|