@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.
@@ -4078,19 +4078,19 @@ class JWTService extends BaseAuthService {
4078
4078
  checkAuth: false,
4079
4079
  blockers: [],
4080
4080
  blocks: []
4081
- });
4081
+ }).then(parseTokens);
4082
4082
  const timeout = 10;
4083
4083
  let timedOut = false;
4084
4084
  setTimeout(() => {
4085
4085
  timedOut = true;
4086
4086
  this.dispatch(markForDeletion(uuid));
4087
4087
  }, timeout * 1e3);
4088
- return promise.then((tokens) => {
4089
- if (timedOut) {
4090
- return void 0;
4091
- }
4092
- this.setTokens(parseTokens(tokens));
4088
+ void promise.then((tokens) => {
4089
+ if (timedOut)
4090
+ return;
4091
+ this.setTokens(tokens);
4093
4092
  });
4093
+ return promise;
4094
4094
  }
4095
4095
  }
4096
4096
  class BaseApiService extends BaseService {