@zhin.js/adapter-dingtalk 1.0.12 → 1.0.14

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,21 @@
1
1
  # @zhin.js/adapter-dingtalk
2
2
 
3
+ ## 1.0.14
4
+
5
+ ### Patch Changes
6
+
7
+ - 05a514d: fix: ai 增强,cli 增强
8
+ - Updated dependencies [05a514d]
9
+ - @zhin.js/http@1.0.20
10
+ - zhin.js@1.0.28
11
+
12
+ ## 1.0.13
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [2b44e18]
17
+ - @zhin.js/http@1.0.19
18
+
3
19
  ## 1.0.12
4
20
 
5
21
  ### Patch Changes
package/README.md CHANGED
@@ -138,9 +138,9 @@ export default defineConfig({
138
138
  ### 接收和发送消息
139
139
 
140
140
  ```typescript
141
- import { addCommand, MessageCommand, useLogger } from 'zhin.js'
141
+ import { usePlugin, MessageCommand } from 'zhin.js'
142
142
 
143
- const logger = useLogger()
143
+ const { addCommand, logger } = usePlugin()
144
144
 
145
145
  // 定义命令
146
146
  addCommand(new MessageCommand('hello <name:text>')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/adapter-dingtalk",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "Zhin.js adapter for DingTalk (钉钉)",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -34,11 +34,11 @@
34
34
  "typescript": "^5.3.0",
35
35
  "@types/node": "^22.9.0",
36
36
  "@types/koa": "^2.15.0",
37
- "zhin.js": "1.0.27"
37
+ "zhin.js": "1.0.28"
38
38
  },
39
39
  "peerDependencies": {
40
- "zhin.js": "1.0.27",
41
- "@zhin.js/http": "1.0.18"
40
+ "zhin.js": "1.0.28",
41
+ "@zhin.js/http": "1.0.20"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "@zhin.js/http": {