node-karin 1.8.3 → 1.8.5

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,19 @@
1
1
  # 更新日志
2
2
 
3
+ ## [1.8.5](https://github.com/KarinJS/Karin/compare/core-v1.8.4...core-v1.8.5) (2025-05-04)
4
+
5
+
6
+ ### 🐛 Bug Fixes
7
+
8
+ * clone [#380](https://github.com/KarinJS/Karin/issues/380) ([1afb012](https://github.com/KarinJS/Karin/commit/1afb01270cd9dae884ecbd41236d59e99c622d9a))
9
+
10
+ ## [1.8.4](https://github.com/KarinJS/Karin/compare/core-v1.8.3...core-v1.8.4) (2025-05-03)
11
+
12
+
13
+ ### 🐛 Bug Fixes
14
+
15
+ * axios入口错误 ([8da00d9](https://github.com/KarinJS/Karin/commit/8da00d97f821830dc0added6dff3474405686747))
16
+
3
17
  ## [1.8.3](https://github.com/KarinJS/Karin/compare/core-v1.8.2...core-v1.8.3) (2025-05-03)
4
18
 
5
19
 
package/dist/index.mjs CHANGED
@@ -10082,11 +10082,14 @@ var init_convert = __esm({
10082
10082
  case "reply":
10083
10083
  elements.push({ type: "reply", data: { id: i.messageId } });
10084
10084
  break;
10085
- case "image":
10086
- case "video": {
10085
+ case "image": {
10087
10086
  elements.push({ type: "image", data: { file: fileToBase64(i.file, onebot.adapter.address) } });
10088
10087
  break;
10089
10088
  }
10089
+ case "video": {
10090
+ elements.push({ type: "video", data: { file: i.file } });
10091
+ break;
10092
+ }
10090
10093
  case "json":
10091
10094
  case "xml": {
10092
10095
  elements.push({ type: "json", data: { data: i.data } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-karin",
3
- "version": "1.8.3",
3
+ "version": "1.8.5",
4
4
  "description": "Lightweight, efficient, concise, and stable robot framework.",
5
5
  "keywords": [
6
6
  "node",
@@ -159,7 +159,7 @@
159
159
  },
160
160
  "dependencies": {
161
161
  "art-template": "npm:@karinjs/art-template@1.1.0",
162
- "axios": "npm:@karinjs/axios@1.1.6",
162
+ "axios": "npm:@karinjs/axios@1.1.7",
163
163
  "chalk": "5.4.1",
164
164
  "chokidar": "4.0.3",
165
165
  "express": "npm:@karinjs/express@1.0.3",