node-karin 1.3.7 → 1.3.8
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 +8 -0
- package/dist/index.js +1 -1
- package/dist/module/express.cjs +4 -0
- package/dist/module/express.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [1.3.8](https://github.com/KarinJS/Karin/compare/core-v1.3.7...core-v1.3.8) (2025-02-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 🐛 Bug Fixes
|
|
7
|
+
|
|
8
|
+
* 修复Router导出 ([c4304de](https://github.com/KarinJS/Karin/commit/c4304de57f63bdd67252d379bc96deb2da3e8c7b))
|
|
9
|
+
* 怎么有适配器结构体都不传 ([cc42593](https://github.com/KarinJS/Karin/commit/cc425930d61897a292adadb63cb4b261c14941cd))
|
|
10
|
+
|
|
3
11
|
## [1.3.7](https://github.com/KarinJS/Karin/compare/core-v1.3.6...core-v1.3.7) (2025-02-14)
|
|
4
12
|
|
|
5
13
|
|
package/dist/index.js
CHANGED
|
@@ -13631,7 +13631,7 @@ var init_event = __esm({
|
|
|
13631
13631
|
|
|
13632
13632
|
// src/adapter/onebot/core/convert.ts
|
|
13633
13633
|
import fs28 from "node:fs";
|
|
13634
|
-
function AdapterConvertKarin(data) {
|
|
13634
|
+
function AdapterConvertKarin(data = []) {
|
|
13635
13635
|
const elements = [];
|
|
13636
13636
|
for (const i of data) {
|
|
13637
13637
|
switch (i.type) {
|
package/dist/module/express.cjs
CHANGED
|
@@ -10,6 +10,10 @@ var express__default = /*#__PURE__*/_interopDefault(express);
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
+
Object.defineProperty(exports, "Router", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return express.Router; }
|
|
16
|
+
});
|
|
13
17
|
Object.defineProperty(exports, "default", {
|
|
14
18
|
enumerable: true,
|
|
15
19
|
get: function () { return express__default.default; }
|
package/dist/module/express.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, json, query, raw, text } from 'express';
|
|
1
|
+
export { Router, default, json, query, raw, text } from 'express';
|