@overmap-ai/core 1.0.16-fix-misc-issues.6 → 1.0.16-fix-misc-issues.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/overmap-core.js
CHANGED
|
@@ -3321,10 +3321,15 @@ async function performRequest(action, client) {
|
|
|
3321
3321
|
var _a2;
|
|
3322
3322
|
debugLog("Inside performRequest. Action:", action);
|
|
3323
3323
|
async function checkToken() {
|
|
3324
|
+
console.debug("CHECKING TOKEN");
|
|
3324
3325
|
if (client.auth.tokenIsExpiringSoon()) {
|
|
3326
|
+
console.debug("CHECKING TOKEN: 1");
|
|
3325
3327
|
await client.auth.renewTokens();
|
|
3328
|
+
console.debug("CHECKING TOKEN: 2");
|
|
3326
3329
|
}
|
|
3330
|
+
console.debug("CHECKING TOKEN: 3");
|
|
3327
3331
|
}
|
|
3332
|
+
console.debug("A1");
|
|
3328
3333
|
const state = client.store.getState();
|
|
3329
3334
|
if (state.outboxReducer.deletedRequests.includes(action.payload.uuid)) {
|
|
3330
3335
|
debugLog("Request was marked for deletion; throwing error.");
|