@overmap-ai/core 1.0.65-error-message-fix.4 → 1.0.65-error-message-fix.5
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.
|
@@ -4066,19 +4066,19 @@ var __publicField = (obj, key, value) => {
|
|
|
4066
4066
|
checkAuth: false,
|
|
4067
4067
|
blockers: [],
|
|
4068
4068
|
blocks: []
|
|
4069
|
-
});
|
|
4069
|
+
}).then(parseTokens);
|
|
4070
4070
|
const timeout = 10;
|
|
4071
4071
|
let timedOut = false;
|
|
4072
4072
|
setTimeout(() => {
|
|
4073
4073
|
timedOut = true;
|
|
4074
4074
|
this.dispatch(markForDeletion(uuid$1));
|
|
4075
4075
|
}, timeout * 1e3);
|
|
4076
|
-
|
|
4077
|
-
if (timedOut)
|
|
4078
|
-
return
|
|
4079
|
-
|
|
4080
|
-
this.setTokens(parseTokens(tokens));
|
|
4076
|
+
void promise.then((tokens) => {
|
|
4077
|
+
if (timedOut)
|
|
4078
|
+
return;
|
|
4079
|
+
this.setTokens(tokens);
|
|
4081
4080
|
});
|
|
4081
|
+
return promise;
|
|
4082
4082
|
}
|
|
4083
4083
|
}
|
|
4084
4084
|
class BaseApiService extends BaseService {
|