@overmap-ai/core 1.0.60-sdk-refactor.16 → 1.0.60-sdk-refactor.17

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.
@@ -15462,9 +15462,7 @@ Defaulting to \`${$89eedd556c436f6a$var$DEFAULT_ORIENTATION}\`.`;
15462
15462
  }
15463
15463
  if (!response.access)
15464
15464
  throw new Error("Missing access token");
15465
- if (!response.refresh)
15466
- throw new Error("Missing refresh token");
15467
- return { accessToken: response.access, refreshToken: response.refresh };
15465
+ return { accessToken: response.access, refreshToken: response.refresh ?? this.getRefreshToken() };
15468
15466
  });
15469
15467
  }
15470
15468
  /**