@zhin.js/adapter-icqq 9.0.1 → 9.0.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @zhin.js/adapter-icqq
2
2
 
3
+ ## 9.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 45d4f24: Fix direct ICQQ password configuration, keep Plugin-local JSON Schema references and UI annotations valid during runtime config composition, and make activity feedback rollback safe before generation activation.
8
+ - zhin.js@6.0.14
9
+
3
10
  ## 9.0.1
4
11
 
5
12
  ### Patch Changes
package/lib/protocol.js CHANGED
@@ -180,7 +180,7 @@ export function resolveIcqqConfig(config = {}) {
180
180
  }
181
181
  const autoReconnect = config.autoReconnect ?? entry?.autoReconnect ?? true;
182
182
  const outboundMedia = config.outboundMedia ?? entry?.outboundMedia;
183
- const password = entry?.password;
183
+ const password = config.password ?? entry?.password;
184
184
  const platform = config.platform ?? entry?.platform ?? 2;
185
185
  const ver = config.ver ?? entry?.ver ?? '9.1.70';
186
186
  const dataDir = config.dataDir ?? entry?.dataDir ?? `data/icqq/${id}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-icqq",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
4
4
  "description": "Zhin.js ICQQ adapter — direct connection to @icqqjs/icqq",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -36,11 +36,11 @@
36
36
  "dependencies": {
37
37
  "@zhin.js/adapter": "1.2.1",
38
38
  "@zhin.js/core": "1.5.14",
39
+ "@zhin.js/logger": "1.0.77",
39
40
  "@zhin.js/feature-kit": "1.0.13",
41
+ "@zhin.js/tool": "1.0.13",
40
42
  "@zhin.js/im-contract": "1.0.4",
41
- "@zhin.js/logger": "1.0.77",
42
- "@zhin.js/permission": "1.0.4",
43
- "@zhin.js/tool": "1.0.13"
43
+ "@zhin.js/permission": "1.0.4"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@icqqjs/icqq": "^1.12.2",
package/src/protocol.ts CHANGED
@@ -321,7 +321,7 @@ export function resolveIcqqConfig(config: IcqqAdapterConfig = {}): ResolvedIcqqC
321
321
  }
322
322
  const autoReconnect = config.autoReconnect ?? entry?.autoReconnect ?? true;
323
323
  const outboundMedia = config.outboundMedia ?? entry?.outboundMedia;
324
- const password = entry?.password;
324
+ const password = config.password ?? entry?.password;
325
325
  const platform = config.platform ?? entry?.platform ?? 2;
326
326
  const ver = config.ver ?? entry?.ver ?? '9.1.70';
327
327
  const dataDir = config.dataDir ?? entry?.dataDir ?? `data/icqq/${id}`;