openyida 2026.7.17-2 → 2026.7.17-3

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.
@@ -363,13 +363,14 @@ async function tokenRefresh(options = {}) {
363
363
  });
364
364
  requireOkResponse(response);
365
365
  const data = getTokenPayload(response);
366
+ const businessBaseUrl = session.base_url || authBaseUrlValue;
366
367
  const normalized = normalizeTokenResponse({
367
368
  ...data,
368
369
  corp_id: data.corp_id || data.corpId || session.corp_id,
369
370
  user_id: data.user_id || data.userId || session.user_id,
370
371
  user_name: data.user_name || data.userName || session.user_name,
371
372
  refresh_token: data.refresh_token || data.refreshToken || session.refresh_token,
372
- }, authBaseUrlValue, clientId);
373
+ }, businessBaseUrl, clientId);
373
374
  if (!normalized.access_token) {
374
375
  return {
375
376
  ...normalized,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openyida",
3
- "version": "2026.7.17-2",
3
+ "version": "2026.7.17-3",
4
4
  "description": "OpenYida CLI - 宜搭低代码 AI 开发工具(安装即用,零配置)",
5
5
  "bin": {
6
6
  "openyida": "bin/yida.js",