@overmap-ai/core 1.0.71-remove-login-timeout.0 → 1.0.71-remove-login-timeout.2
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/overmap-core.js
CHANGED
|
@@ -274,9 +274,9 @@ function extractErrorMessage(errorRes, err) {
|
|
|
274
274
|
ret = responseBody.error;
|
|
275
275
|
} else if (typeof responseBody.message === "string") {
|
|
276
276
|
ret = responseBody.message;
|
|
277
|
-
} else
|
|
277
|
+
} else {
|
|
278
278
|
try {
|
|
279
|
-
ret = Object.entries(responseBody
|
|
279
|
+
ret = Object.entries(responseBody).map(([key, value]) => {
|
|
280
280
|
if (typeof value === "string") {
|
|
281
281
|
if (_SPECIAL_KEYS.includes(key)) return value;
|
|
282
282
|
return `${key}: ${value}`;
|
|
@@ -3665,6 +3665,7 @@ class JWTService extends BaseAuthService {
|
|
|
3665
3665
|
payload,
|
|
3666
3666
|
isAuthNeeded: false,
|
|
3667
3667
|
checkAuth: false,
|
|
3668
|
+
immediate: true,
|
|
3668
3669
|
blockers: [],
|
|
3669
3670
|
blocks: []
|
|
3670
3671
|
}).then((tokens) => {
|