@zhin.js/adapter-kook 2.0.4 → 2.0.6

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,28 @@
1
1
  # @zhin.js/adapter-kook
2
2
 
3
+ ## 2.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 90d9efd: fix: 处理包名
8
+ - Updated dependencies [90d9efd]
9
+ - @zhin.js/logger@0.1.69
10
+ - zhin.js@1.0.87
11
+ - @zhin.js/host-api@0.0.1
12
+ - @zhin.js/host-router@0.0.1
13
+
14
+ ## 2.0.5
15
+
16
+ ### Patch Changes
17
+
18
+ - 7e14f8d: fix: 统一发个版,优化一些列安全问题
19
+ - Updated dependencies [7e14f8d]
20
+ - @zhin.js/logger@0.1.68
21
+ - @zhin.js/client@1.1.4
22
+ - zhin.js@1.0.86
23
+ - @zhin.js/console@3.0.5
24
+ - @zhin.js/host-router@1.0.79
25
+
3
26
  ## 2.0.4
4
27
 
5
28
  ### Patch Changes
@@ -7,7 +30,7 @@
7
30
  - zhin.js@1.0.85
8
31
  - @zhin.js/logger@0.1.67
9
32
  - @zhin.js/console@3.0.4
10
- - @zhin.js/http@1.0.78
33
+ - @zhin.js/host-router@1.0.78
11
34
 
12
35
  ## 2.0.3
13
36
 
@@ -20,7 +43,7 @@
20
43
  - zhin.js@1.0.84
21
44
  - @zhin.js/logger@0.1.66
22
45
  - @zhin.js/client@1.1.3
23
- - @zhin.js/http@1.0.77
46
+ - @zhin.js/host-router@1.0.77
24
47
 
25
48
  ## 2.0.2
26
49
 
@@ -29,7 +52,7 @@
29
52
  - 775427e: fix: edge 支持
30
53
  - Updated dependencies [775427e]
31
54
  - @zhin.js/console@3.0.2
32
- - @zhin.js/http@1.0.76
55
+ - @zhin.js/host-router@1.0.76
33
56
  - @zhin.js/client@1.1.2
34
57
  - zhin.js@1.0.83
35
58
  - @zhin.js/logger@0.1.65
@@ -41,7 +64,7 @@
41
64
  - 32049f5: fix: init publish
42
65
  - Updated dependencies [32049f5]
43
66
  - @zhin.js/console@3.0.1
44
- - @zhin.js/http@1.0.75
67
+ - @zhin.js/host-router@1.0.75
45
68
  - @zhin.js/logger@0.1.64
46
69
  - @zhin.js/client@1.1.1
47
70
  - zhin.js@1.0.82
@@ -62,7 +85,7 @@
62
85
  - zhin.js@1.0.81
63
86
  - @zhin.js/logger@0.1.63
64
87
  - @zhin.js/console@2.0.24
65
- - @zhin.js/http@1.0.74
88
+ - @zhin.js/host-router@1.0.74
66
89
 
67
90
  ## 1.0.83
68
91
 
@@ -71,7 +94,7 @@
71
94
  - zhin.js@1.0.80
72
95
  - @zhin.js/logger@0.1.62
73
96
  - @zhin.js/console@2.0.23
74
- - @zhin.js/http@1.0.73
97
+ - @zhin.js/host-router@1.0.73
75
98
 
76
99
  ## 1.0.82
77
100
 
@@ -80,7 +103,7 @@
80
103
  - zhin.js@1.0.79
81
104
  - @zhin.js/logger@0.1.61
82
105
  - @zhin.js/console@2.0.22
83
- - @zhin.js/http@1.0.72
106
+ - @zhin.js/host-router@1.0.72
84
107
 
85
108
  ## 1.0.81
86
109
 
@@ -90,7 +113,7 @@
90
113
  - @zhin.js/console@2.0.21
91
114
  - zhin.js@1.0.78
92
115
  - @zhin.js/logger@0.1.60
93
- - @zhin.js/http@1.0.71
116
+ - @zhin.js/host-router@1.0.71
94
117
 
95
118
  ## 1.0.80
96
119
 
@@ -99,7 +122,7 @@
99
122
  - zhin.js@1.0.77
100
123
  - @zhin.js/logger@0.1.59
101
124
  - @zhin.js/console@2.0.20
102
- - @zhin.js/http@1.0.70
125
+ - @zhin.js/host-router@1.0.70
103
126
 
104
127
  ## 1.0.79
105
128
 
@@ -109,7 +132,7 @@
109
132
  - zhin.js@1.0.76
110
133
  - @zhin.js/logger@0.1.58
111
134
  - @zhin.js/console@2.0.19
112
- - @zhin.js/http@1.0.69
135
+ - @zhin.js/host-router@1.0.69
113
136
 
114
137
  ## 1.0.78
115
138
 
@@ -118,7 +141,7 @@
118
141
  - zhin.js@1.0.75
119
142
  - @zhin.js/logger@0.1.57
120
143
  - @zhin.js/console@2.0.18
121
- - @zhin.js/http@1.0.68
144
+ - @zhin.js/host-router@1.0.68
122
145
 
123
146
  ## 1.0.77
124
147
 
@@ -128,7 +151,7 @@
128
151
  - zhin.js@1.0.74
129
152
  - @zhin.js/logger@0.1.56
130
153
  - @zhin.js/console@2.0.17
131
- - @zhin.js/http@1.0.67
154
+ - @zhin.js/host-router@1.0.67
132
155
 
133
156
  ## 1.0.76
134
157
 
@@ -138,7 +161,7 @@
138
161
  - zhin.js@1.0.73
139
162
  - @zhin.js/logger@0.1.55
140
163
  - @zhin.js/console@2.0.16
141
- - @zhin.js/http@1.0.66
164
+ - @zhin.js/host-router@1.0.66
142
165
 
143
166
  ## 1.0.75
144
167
 
@@ -165,7 +188,7 @@
165
188
  - @zhin.js/client@1.0.18
166
189
  - zhin.js@1.0.72
167
190
  - @zhin.js/console@2.0.13
168
- - @zhin.js/http@1.0.65
191
+ - @zhin.js/host-router@1.0.65
169
192
 
170
193
  ## 1.0.72
171
194
 
@@ -184,7 +207,7 @@
184
207
  - @zhin.js/client@1.0.17
185
208
  - zhin.js@1.0.71
186
209
  - @zhin.js/console@2.0.11
187
- - @zhin.js/http@1.0.64
210
+ - @zhin.js/host-router@1.0.64
188
211
 
189
212
  ## 1.0.70
190
213
 
@@ -193,14 +216,14 @@
193
216
  - zhin.js@1.0.68
194
217
  - @zhin.js/logger@0.1.52
195
218
  - @zhin.js/console@2.0.10
196
- - @zhin.js/http@1.0.63
219
+ - @zhin.js/host-router@1.0.63
197
220
 
198
221
  ## 1.0.69
199
222
 
200
223
  ### Patch Changes
201
224
 
202
225
  - Updated dependencies [0eba6d6]
203
- - @zhin.js/http@1.0.62
226
+ - @zhin.js/host-router@1.0.62
204
227
  - zhin.js@1.0.67
205
228
  - @zhin.js/logger@0.1.51
206
229
  - @zhin.js/console@2.0.9
@@ -212,7 +235,7 @@
212
235
  - zhin.js@1.0.66
213
236
  - @zhin.js/logger@0.1.50
214
237
  - @zhin.js/console@2.0.8
215
- - @zhin.js/http@1.0.61
238
+ - @zhin.js/host-router@1.0.61
216
239
 
217
240
  ## 1.0.67
218
241
 
@@ -221,7 +244,7 @@
221
244
  - zhin.js@1.0.65
222
245
  - @zhin.js/logger@0.1.49
223
246
  - @zhin.js/console@2.0.7
224
- - @zhin.js/http@1.0.60
247
+ - @zhin.js/host-router@1.0.60
225
248
 
226
249
  ## 1.0.66
227
250
 
@@ -233,7 +256,7 @@
233
256
  - @zhin.js/client@1.0.16
234
257
  - zhin.js@1.0.64
235
258
  - @zhin.js/console@2.0.6
236
- - @zhin.js/http@1.0.59
259
+ - @zhin.js/host-router@1.0.59
237
260
 
238
261
  ## 1.0.65
239
262
 
@@ -242,7 +265,7 @@
242
265
  - ba30934: fix: web 优化
243
266
  - Updated dependencies [ba30934]
244
267
  - @zhin.js/console@2.0.5
245
- - @zhin.js/http@1.0.58
268
+ - @zhin.js/host-router@1.0.58
246
269
  - zhin.js@1.0.63
247
270
  - @zhin.js/logger@0.1.47
248
271
 
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 KookDashboard 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/dist/index.js CHANGED
@@ -23,7 +23,7 @@ lucide-react/dist/esm/icons/wifi.mjs:
23
23
  lucide-react/dist/esm/icons/x.mjs:
24
24
  lucide-react/dist/esm/lucide-react.mjs:
25
25
  (**
26
- * @license lucide-react v1.16.0 - ISC
26
+ * @license lucide-react v1.17.0 - ISC
27
27
  *
28
28
  * This source code is licensed under the ISC license.
29
29
  * See the LICENSE file in the root directory of this source tree.
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { KookAdapter } 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,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,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,IAAI,EAAE,WAAW,CAAC;KACnB;CACF;AAED,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,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,IAAI,EAAE,WAAW,CAAC;KACnB;CACF;AAED,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-kook",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "Zhin.js adapter for KOOK (开黑啦)",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -38,27 +38,29 @@
38
38
  "devDependencies": {
39
39
  "@types/react": "^19.2.15",
40
40
  "@types/react-dom": "^19.2.3",
41
- "lucide-react": "^1.16.0",
41
+ "lucide-react": "^1.17.0",
42
42
  "typescript": "^6.0.3",
43
- "@zhin.js/console": "3.0.4",
44
- "@zhin.js/cli": "1.0.81",
45
- "zhin.js": "1.0.85"
43
+ "@zhin.js/cli": "1.0.83",
44
+ "@zhin.js/host-api": "0.0.1",
45
+ "@zhin.js/contract": "1.0.0",
46
+ "zhin.js": "1.0.87"
46
47
  },
47
48
  "peerDependencies": {
48
- "@zhin.js/client": "1.1.3",
49
- "@zhin.js/console": "3.0.4",
50
- "@zhin.js/http": "1.0.78",
51
- "@zhin.js/logger": "0.1.67",
52
- "zhin.js": "1.0.85"
49
+ "@zhin.js/client": "2.0.0",
50
+ "@zhin.js/host-api": "0.0.1",
51
+ "@zhin.js/contract": "1.0.0",
52
+ "@zhin.js/host-router": "0.0.1",
53
+ "@zhin.js/logger": "0.1.69",
54
+ "zhin.js": "1.0.87"
53
55
  },
54
56
  "peerDependenciesMeta": {
55
57
  "@zhin.js/client": {
56
58
  "optional": true
57
59
  },
58
- "@zhin.js/http": {
60
+ "@zhin.js/host-router": {
59
61
  "optional": true
60
62
  },
61
- "@zhin.js/console": {
63
+ "@zhin.js/host-api": {
62
64
  "optional": true
63
65
  }
64
66
  },
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 { KookAdapter } 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 {