@wu529778790/open-im 1.10.9-beta.15 → 1.10.9-beta.16

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.
@@ -98,12 +98,12 @@ export async function waitForQRLogin(session, onStatusChange) {
98
98
  if (!result.bot_token) {
99
99
  return { connected: false, message: '登录失败:服务器未返回 bot_token' };
100
100
  }
101
- log.info(`Login confirmed! botId=${result.ilink_bot_id}`);
101
+ log.info(`Login confirmed! botId=${result.ilink_bot_id}, baseurl=${result.baseurl ?? '(empty)'}`);
102
102
  return {
103
103
  connected: true,
104
104
  botToken: result.bot_token,
105
105
  accountId: result.ilink_bot_id,
106
- baseUrl: result.baseurl,
106
+ baseUrl: result.baseurl || ILINK_BASE_URL,
107
107
  userId: result.ilink_user_id,
108
108
  message: '登录成功',
109
109
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wu529778790/open-im",
3
- "version": "1.10.9-beta.15",
3
+ "version": "1.10.9-beta.16",
4
4
  "description": "Multi-platform IM bridge for AI CLI tools (Claude, Codex, CodeBuddy)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",