@zhin.js/adapter-qq 2.0.5 → 2.0.7

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,23 @@
1
1
  # @zhin.js/adapter-qq
2
2
 
3
+ ## 2.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [ccb6e24]
8
+ - zhin.js@1.0.88
9
+
10
+ ## 2.0.6
11
+
12
+ ### Patch Changes
13
+
14
+ - 90d9efd: fix: 处理包名
15
+ - Updated dependencies [90d9efd]
16
+ - @zhin.js/logger@0.1.69
17
+ - zhin.js@1.0.87
18
+ - @zhin.js/host-api@0.0.1
19
+ - @zhin.js/host-router@0.0.1
20
+
3
21
  ## 2.0.5
4
22
 
5
23
  ### Patch Changes
@@ -11,7 +29,7 @@
11
29
  - @zhin.js/client@1.1.4
12
30
  - zhin.js@1.0.86
13
31
  - @zhin.js/console@3.0.5
14
- - @zhin.js/http@1.0.79
32
+ - @zhin.js/host-router@1.0.79
15
33
 
16
34
  ## 2.0.4
17
35
 
@@ -20,7 +38,7 @@
20
38
  - zhin.js@1.0.85
21
39
  - @zhin.js/logger@0.1.67
22
40
  - @zhin.js/console@3.0.4
23
- - @zhin.js/http@1.0.78
41
+ - @zhin.js/host-router@1.0.78
24
42
 
25
43
  ## 2.0.3
26
44
 
@@ -33,7 +51,7 @@
33
51
  - zhin.js@1.0.84
34
52
  - @zhin.js/logger@0.1.66
35
53
  - @zhin.js/client@1.1.3
36
- - @zhin.js/http@1.0.77
54
+ - @zhin.js/host-router@1.0.77
37
55
 
38
56
  ## 2.0.2
39
57
 
@@ -42,7 +60,7 @@
42
60
  - 775427e: fix: edge 支持
43
61
  - Updated dependencies [775427e]
44
62
  - @zhin.js/console@3.0.2
45
- - @zhin.js/http@1.0.76
63
+ - @zhin.js/host-router@1.0.76
46
64
  - @zhin.js/client@1.1.2
47
65
  - zhin.js@1.0.83
48
66
  - @zhin.js/logger@0.1.65
@@ -54,7 +72,7 @@
54
72
  - 32049f5: fix: init publish
55
73
  - Updated dependencies [32049f5]
56
74
  - @zhin.js/console@3.0.1
57
- - @zhin.js/http@1.0.75
75
+ - @zhin.js/host-router@1.0.75
58
76
  - @zhin.js/logger@0.1.64
59
77
  - @zhin.js/client@1.1.1
60
78
  - zhin.js@1.0.82
@@ -75,7 +93,7 @@
75
93
  - zhin.js@1.0.81
76
94
  - @zhin.js/logger@0.1.63
77
95
  - @zhin.js/console@2.0.24
78
- - @zhin.js/http@1.0.74
96
+ - @zhin.js/host-router@1.0.74
79
97
 
80
98
  ## 1.0.83
81
99
 
@@ -84,7 +102,7 @@
84
102
  - zhin.js@1.0.80
85
103
  - @zhin.js/logger@0.1.62
86
104
  - @zhin.js/console@2.0.23
87
- - @zhin.js/http@1.0.73
105
+ - @zhin.js/host-router@1.0.73
88
106
 
89
107
  ## 1.0.82
90
108
 
@@ -93,7 +111,7 @@
93
111
  - zhin.js@1.0.79
94
112
  - @zhin.js/logger@0.1.61
95
113
  - @zhin.js/console@2.0.22
96
- - @zhin.js/http@1.0.72
114
+ - @zhin.js/host-router@1.0.72
97
115
 
98
116
  ## 1.0.81
99
117
 
@@ -103,7 +121,7 @@
103
121
  - @zhin.js/console@2.0.21
104
122
  - zhin.js@1.0.78
105
123
  - @zhin.js/logger@0.1.60
106
- - @zhin.js/http@1.0.71
124
+ - @zhin.js/host-router@1.0.71
107
125
 
108
126
  ## 1.0.80
109
127
 
@@ -112,7 +130,7 @@
112
130
  - zhin.js@1.0.77
113
131
  - @zhin.js/logger@0.1.59
114
132
  - @zhin.js/console@2.0.20
115
- - @zhin.js/http@1.0.70
133
+ - @zhin.js/host-router@1.0.70
116
134
 
117
135
  ## 1.0.79
118
136
 
@@ -123,7 +141,7 @@
123
141
  - zhin.js@1.0.76
124
142
  - @zhin.js/logger@0.1.58
125
143
  - @zhin.js/console@2.0.19
126
- - @zhin.js/http@1.0.69
144
+ - @zhin.js/host-router@1.0.69
127
145
 
128
146
  ## 1.0.78
129
147
 
@@ -132,7 +150,7 @@
132
150
  - zhin.js@1.0.75
133
151
  - @zhin.js/logger@0.1.57
134
152
  - @zhin.js/console@2.0.18
135
- - @zhin.js/http@1.0.68
153
+ - @zhin.js/host-router@1.0.68
136
154
 
137
155
  ## 1.0.77
138
156
 
@@ -142,7 +160,7 @@
142
160
  - zhin.js@1.0.74
143
161
  - @zhin.js/logger@0.1.56
144
162
  - @zhin.js/console@2.0.17
145
- - @zhin.js/http@1.0.67
163
+ - @zhin.js/host-router@1.0.67
146
164
 
147
165
  ## 1.0.76
148
166
 
@@ -152,7 +170,7 @@
152
170
  - zhin.js@1.0.73
153
171
  - @zhin.js/logger@0.1.55
154
172
  - @zhin.js/console@2.0.16
155
- - @zhin.js/http@1.0.66
173
+ - @zhin.js/host-router@1.0.66
156
174
 
157
175
  ## 1.0.75
158
176
 
@@ -179,7 +197,7 @@
179
197
  - @zhin.js/client@1.0.18
180
198
  - zhin.js@1.0.72
181
199
  - @zhin.js/console@2.0.13
182
- - @zhin.js/http@1.0.65
200
+ - @zhin.js/host-router@1.0.65
183
201
 
184
202
  ## 1.0.72
185
203
 
@@ -198,7 +216,7 @@
198
216
  - @zhin.js/client@1.0.17
199
217
  - zhin.js@1.0.71
200
218
  - @zhin.js/console@2.0.11
201
- - @zhin.js/http@1.0.64
219
+ - @zhin.js/host-router@1.0.64
202
220
 
203
221
  ## 1.0.70
204
222
 
@@ -207,14 +225,14 @@
207
225
  - zhin.js@1.0.68
208
226
  - @zhin.js/logger@0.1.52
209
227
  - @zhin.js/console@2.0.10
210
- - @zhin.js/http@1.0.63
228
+ - @zhin.js/host-router@1.0.63
211
229
 
212
230
  ## 1.0.69
213
231
 
214
232
  ### Patch Changes
215
233
 
216
234
  - Updated dependencies [0eba6d6]
217
- - @zhin.js/http@1.0.62
235
+ - @zhin.js/host-router@1.0.62
218
236
  - zhin.js@1.0.67
219
237
  - @zhin.js/logger@0.1.51
220
238
  - @zhin.js/console@2.0.9
@@ -226,7 +244,7 @@
226
244
  - zhin.js@1.0.66
227
245
  - @zhin.js/logger@0.1.50
228
246
  - @zhin.js/console@2.0.8
229
- - @zhin.js/http@1.0.61
247
+ - @zhin.js/host-router@1.0.61
230
248
 
231
249
  ## 1.0.67
232
250
 
@@ -235,7 +253,7 @@
235
253
  - zhin.js@1.0.65
236
254
  - @zhin.js/logger@0.1.49
237
255
  - @zhin.js/console@2.0.7
238
- - @zhin.js/http@1.0.60
256
+ - @zhin.js/host-router@1.0.60
239
257
 
240
258
  ## 1.0.66
241
259
 
@@ -247,7 +265,7 @@
247
265
  - @zhin.js/client@1.0.16
248
266
  - zhin.js@1.0.64
249
267
  - @zhin.js/console@2.0.6
250
- - @zhin.js/http@1.0.59
268
+ - @zhin.js/host-router@1.0.59
251
269
 
252
270
  ## 1.0.65
253
271
 
@@ -256,7 +274,7 @@
256
274
  - ba30934: fix: web 优化
257
275
  - Updated dependencies [ba30934]
258
276
  - @zhin.js/console@2.0.5
259
- - @zhin.js/http@1.0.58
277
+ - @zhin.js/host-router@1.0.58
260
278
  - zhin.js@1.0.63
261
279
  - @zhin.js/logger@0.1.47
262
280
 
package/client/index.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import type { PluginRegisterHostApi } from '@zhin.js/console-types'
1
+ import type { PluginRegisterHostApi } from '@zhin.js/contract'
2
2
  import QQDashboard from './Dashboard'
3
3
 
4
4
  export function register(api: PluginRegisterHostApi) {
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "../node_modules/@zhin.js/console/browser.tsconfig.json",
2
+ "extends": "../node_modules/@zhin.js/host-api/browser.tsconfig.json",
3
3
  "compilerOptions": {
4
4
  "outDir": "../dist"
5
5
  },
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { QQAdapter } from "./adapter.js";
2
- import { PageManager } from "@zhin.js/console";
2
+ import { PageManager } from "@zhin.js/host-api";
3
3
  declare module "zhin.js" {
4
4
  namespace Plugin {
5
5
  interface Contexts {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,MAAM,CAAC;QACf,UAAU,QAAQ;YAChB,GAAG,EAAE,WAAW,CAAC;SAClB;KACF;CACF;AAED,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,QAAQ;QAChB,EAAE,EAAE,SAAS,CAAC;KACf;CACF;AAED,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,MAAM,CAAC;QACf,UAAU,QAAQ;YAChB,GAAG,EAAE,WAAW,CAAC;SAClB;KACF;CACF;AAED,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,QAAQ;QAChB,EAAE,EAAE,SAAS,CAAC;KACf;CACF;AAED,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-qq",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "Zhin.js adapter for QQ Official Bot",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -41,25 +41,27 @@
41
41
  "@types/react-dom": "^19.2.3",
42
42
  "lucide-react": "^1.17.0",
43
43
  "typescript": "^6.0.3",
44
- "@zhin.js/cli": "1.0.82",
45
- "@zhin.js/console": "3.0.5",
46
- "zhin.js": "1.0.86"
44
+ "@zhin.js/cli": "1.0.84",
45
+ "@zhin.js/host-api": "0.0.1",
46
+ "@zhin.js/contract": "1.0.0",
47
+ "zhin.js": "1.0.88"
47
48
  },
48
49
  "peerDependencies": {
49
- "@zhin.js/client": "1.1.4",
50
- "@zhin.js/console": "3.0.5",
51
- "@zhin.js/http": "1.0.79",
52
- "@zhin.js/logger": "0.1.68",
53
- "zhin.js": "1.0.86"
50
+ "@zhin.js/client": "2.0.0",
51
+ "@zhin.js/host-api": "0.0.1",
52
+ "@zhin.js/contract": "1.0.0",
53
+ "@zhin.js/host-router": "0.0.1",
54
+ "@zhin.js/logger": "0.1.69",
55
+ "zhin.js": "1.0.88"
54
56
  },
55
57
  "peerDependenciesMeta": {
56
58
  "@zhin.js/client": {
57
59
  "optional": true
58
60
  },
59
- "@zhin.js/http": {
61
+ "@zhin.js/host-router": {
60
62
  "optional": true
61
63
  },
62
- "@zhin.js/console": {
64
+ "@zhin.js/host-api": {
63
65
  "optional": true
64
66
  }
65
67
  },
package/src/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  import path from "node:path";
5
5
  import { usePlugin, type Plugin, type IGroupManagement, createGroupManagementTools, type ToolFeature } from "zhin.js";
6
6
  import { QQAdapter } from "./adapter.js";
7
- import { PageManager } from "@zhin.js/console";
7
+ import { PageManager } from "@zhin.js/host-api";
8
8
 
9
9
  declare module "zhin.js" {
10
10
  namespace Plugin {