@kotori-bot/kotori-plugin-webui 1.1.3 → 1.2.0
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/README.md +2 -0
- package/dist/index.html +71 -2
- package/lib/avatar-PS66WIFU.svg +26 -0
- package/lib/index.js +2 -2
- package/lib/plugin/index.js +2 -2
- package/lib/routers/api/accounts.js +4 -4
- package/lib/routers/api/avatar.js +12 -0
- package/lib/routers/api/config.js +2 -2
- package/lib/routers/api/data.js +46 -2
- package/lib/routers/api/demo.js +2 -2
- package/lib/routers/index.js +5 -3
- package/lib/routers/router.js +2 -2
- package/lib/service/index.js +2 -2
- package/lib/types/index.js +2 -2
- package/lib/utils/common.js +2 -2
- package/lib/utils/transport.js +2 -2
- package/lib/ws/index.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -11,3 +11,5 @@ Web front end repository: [kotorijs/webui](https://github.com/kotorijs/webui)
|
|
|
11
11
|
- [x] Add authorization for websocket server
|
|
12
12
|
- [x] Login at the same time
|
|
13
13
|
- [x] Console outputting support for cmd adapter
|
|
14
|
+
- [ ] Websocket verify
|
|
15
|
+
- [ ] Sync offline and other data
|
package/dist/index.html
CHANGED
|
@@ -4,11 +4,80 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
-
<
|
|
7
|
+
<link rel="icon" href="https://kotori.js.org/favicon.svg">
|
|
8
|
+
<title>Kotori Webui</title>
|
|
9
|
+
<style>
|
|
10
|
+
.container {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
height: 95vh;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.description {
|
|
19
|
+
font-size: 1.2rem;
|
|
20
|
+
margin-top: 1rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.link {
|
|
24
|
+
font-size: 1.6rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.link a {
|
|
28
|
+
color: #007bff;
|
|
29
|
+
text-decoration: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.contributors li {
|
|
33
|
+
margin-bottom: 1rem;
|
|
34
|
+
font-size: 1.4rem;
|
|
35
|
+
list-style: none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.contributors a {
|
|
39
|
+
color: #00ffdd;
|
|
40
|
+
text-decoration: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.contributors img {
|
|
44
|
+
width: 40px;
|
|
45
|
+
height: 40px;
|
|
46
|
+
border-radius: 50%;
|
|
47
|
+
margin-right: 1rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.contributors span {
|
|
51
|
+
color: #ffbd30
|
|
52
|
+
}
|
|
53
|
+
</style>
|
|
8
54
|
</head>
|
|
9
55
|
|
|
10
56
|
<body>
|
|
11
|
-
|
|
57
|
+
<div class="container">
|
|
58
|
+
<h1>👏 Hi there, Kotori Webui!</h1>
|
|
59
|
+
<span class="description"> A brand new Kotori Webui front-end - Kams (Kotori Administration Management System) is
|
|
60
|
+
under development!
|
|
61
|
+
</span>
|
|
62
|
+
<br />
|
|
63
|
+
<span class="link">Go to repository -> <a target="_blank" href="https://github.com/kotorijs/webui">here</a></span>
|
|
64
|
+
<hr />
|
|
65
|
+
<div class="contributors">
|
|
66
|
+
<h2>Web Frontend and Backend main contributors:</span>
|
|
67
|
+
<ul>
|
|
68
|
+
<li>
|
|
69
|
+
<img src="https://avatars.githubusercontent.com/u/116894525?v=4" alt="Space Pch">
|
|
70
|
+
<a target="_blank" href="https://github.com/spacepch">Painchornds</a>
|
|
71
|
+
</li>
|
|
72
|
+
<li>
|
|
73
|
+
<img src="https://avatars.githubusercontent.com/u/64067440?v=4" alt="biyuehu">
|
|
74
|
+
<a target="_blank" href="https://github.com/biyuehu">Romi</a>
|
|
75
|
+
</li>
|
|
76
|
+
</ul>
|
|
77
|
+
<h3>Thansk for all contributions!</h3>
|
|
78
|
+
<span>We are looking for more contributors to join us!</span>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
12
81
|
</body>
|
|
13
82
|
|
|
14
83
|
</html>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="bgGradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
4
|
+
<stop offset="25%" style="stop-color:#64FFDA;stop-opacity:1" />
|
|
5
|
+
<stop offset="100%" style="stop-color:#00B0FF;stop-opacity:1" />
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect width="512" height="512" fill="url(#bgGradient)" />
|
|
9
|
+
|
|
10
|
+
<style>
|
|
11
|
+
.text-style {
|
|
12
|
+
dominant-baseline: middle;
|
|
13
|
+
text-anchor: middle;
|
|
14
|
+
fill: #FFFFFF;
|
|
15
|
+
font-size: 75px;
|
|
16
|
+
font-family: 'Arial', sans-serif;
|
|
17
|
+
}
|
|
18
|
+
.text-shadow {
|
|
19
|
+
filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.2));
|
|
20
|
+
}
|
|
21
|
+
</style>
|
|
22
|
+
|
|
23
|
+
<text x="50%" y="50%" class="text-style text-shadow " dominant-baseline="middle">
|
|
24
|
+
Kotori Plugin
|
|
25
|
+
</text>
|
|
26
|
+
</svg>
|
package/lib/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
3
|
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
-
* @Version 1.
|
|
4
|
+
* @Version 1.2.0
|
|
5
5
|
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
package/lib/plugin/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
3
|
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
-
* @Version 1.
|
|
4
|
+
* @Version 1.2.0
|
|
5
5
|
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
3
|
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
-
* @Version 1.
|
|
4
|
+
* @Version 1.2.0
|
|
5
5
|
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
|
@@ -38,12 +38,12 @@ var accounts_default = (ctx, app) => {
|
|
|
38
38
|
const { username, password } = req.body;
|
|
39
39
|
const loginStats = ctx.webui.getLoginStats();
|
|
40
40
|
if (ctx.webui.checkVerifyHash(username, password)) {
|
|
41
|
-
ctx.logger.label("server").
|
|
41
|
+
ctx.logger.label("server").record("user login successful");
|
|
42
42
|
loginStats.success += 1;
|
|
43
43
|
ctx.webui.setLoginStats(loginStats);
|
|
44
44
|
return res.json({ token: ctx.webui.addToken() });
|
|
45
45
|
}
|
|
46
|
-
ctx.logger.label("server").
|
|
46
|
+
ctx.logger.label("server").error("user login failed");
|
|
47
47
|
loginStats.failed += 1;
|
|
48
48
|
ctx.webui.setLoginStats(loginStats);
|
|
49
49
|
return res.status(401).json({ message: "Invalid username or password" });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
+
* @Version 1.2.0
|
|
5
|
+
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
|
+
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
|
+
* @License GPL-3.0
|
|
8
|
+
* @Link https://github.com/kotorijs/kotori
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
module.exports = "../../avatar-PS66WIFU.svg";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
3
|
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
-
* @Version 1.
|
|
4
|
+
* @Version 1.2.0
|
|
5
5
|
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
package/lib/routers/api/data.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
3
|
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
-
* @Version 1.
|
|
4
|
+
* @Version 1.2.0
|
|
5
5
|
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
|
@@ -44,7 +44,28 @@ __export(data_exports, {
|
|
|
44
44
|
module.exports = __toCommonJS(data_exports);
|
|
45
45
|
var import_node_os = __toESM(require("node:os"));
|
|
46
46
|
var import_kotori_bot = require("kotori-bot");
|
|
47
|
+
var import_node_path = require("node:path");
|
|
47
48
|
var import_common = require("../../utils/common");
|
|
49
|
+
const AVATAR_COLOR_LIST = [
|
|
50
|
+
["#64FFDA", "#00B0FF", "#FFFFFF"],
|
|
51
|
+
// default
|
|
52
|
+
["#FFD700", "#FF8C00", "#000000"],
|
|
53
|
+
// gold
|
|
54
|
+
["#EF9A9A", "#F44336", "#FFFFFF"],
|
|
55
|
+
// red
|
|
56
|
+
["#03A9F4", "#0D47A1", "#212121"],
|
|
57
|
+
// blue
|
|
58
|
+
["#A5D6A7", "#4CAF50", "#FFFFFF"],
|
|
59
|
+
// green
|
|
60
|
+
["#CE93D8", "#9C27B0", "#FFFFFF"],
|
|
61
|
+
// purple
|
|
62
|
+
["#BCAAA4", "#795548", "#FFFFFF"],
|
|
63
|
+
// shit
|
|
64
|
+
["#FFC0CB", "#FF69B4", "#FFFFFF"],
|
|
65
|
+
// pink
|
|
66
|
+
["#78909C", "#546E7A", "#FFFFFF"]
|
|
67
|
+
// grey
|
|
68
|
+
];
|
|
48
69
|
var data_default = (ctx, app) => {
|
|
49
70
|
const getModuleData = () => {
|
|
50
71
|
const list = [];
|
|
@@ -123,5 +144,28 @@ var data_default = (ctx, app) => {
|
|
|
123
144
|
core: ctx.pkg.version
|
|
124
145
|
});
|
|
125
146
|
});
|
|
147
|
+
router.get("/avatar/:scope?/:name?", (req, res) => {
|
|
148
|
+
const DEFAULT_NAME = "Kotori Plugin";
|
|
149
|
+
const DEFAULT_COLOR = AVATAR_COLOR_LIST[0];
|
|
150
|
+
const DEFAULT_FONT_SIZE = 75;
|
|
151
|
+
const { scope, name } = req.params;
|
|
152
|
+
let pluginName = DEFAULT_NAME;
|
|
153
|
+
if (scope) {
|
|
154
|
+
pluginName = name ?? scope;
|
|
155
|
+
if (pluginName.startsWith("kotori-plugin-")) pluginName = pluginName.slice(14);
|
|
156
|
+
pluginName = pluginName.split("-").map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");
|
|
157
|
+
}
|
|
158
|
+
const hash = pluginName.split("").reduce((hash2, char) => hash2 * 31 + char.charCodeAt(0), 0);
|
|
159
|
+
const index = hash % 9;
|
|
160
|
+
const color = AVATAR_COLOR_LIST[index >= 0 ? index : index + 9];
|
|
161
|
+
const fontSize = Math.ceil(108 * (9 / pluginName.length));
|
|
162
|
+
let imageData = (0, import_kotori_bot.loadConfig)((0, import_node_path.resolve)(__dirname, "./avatar.svg"), "text");
|
|
163
|
+
imageData = imageData.replace(DEFAULT_COLOR[0], color[0]);
|
|
164
|
+
imageData = imageData.replace(DEFAULT_COLOR[1], color[1]);
|
|
165
|
+
imageData = imageData.replace(DEFAULT_COLOR[2], color[2]);
|
|
166
|
+
imageData = imageData.replace(DEFAULT_NAME, pluginName);
|
|
167
|
+
imageData = imageData.replace(DEFAULT_FONT_SIZE.toString(), fontSize.toString());
|
|
168
|
+
res.type("image/svg+xml").send(imageData);
|
|
169
|
+
});
|
|
126
170
|
return router;
|
|
127
171
|
};
|
package/lib/routers/api/demo.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
3
|
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
-
* @Version 1.
|
|
4
|
+
* @Version 1.2.0
|
|
5
5
|
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
package/lib/routers/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
3
|
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
-
* @Version 1.
|
|
4
|
+
* @Version 1.2.0
|
|
5
5
|
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
|
@@ -43,6 +43,7 @@ __export(routers_exports, {
|
|
|
43
43
|
});
|
|
44
44
|
module.exports = __toCommonJS(routers_exports);
|
|
45
45
|
var import_router = __toESM(require("./router"));
|
|
46
|
+
const NO_VERIFY = ["/api/accounts/login", "/api/data/avatar/"];
|
|
46
47
|
var routers_default = (ctx, app) => {
|
|
47
48
|
const router = app.router();
|
|
48
49
|
router.all("*", (req, res, next) => {
|
|
@@ -54,7 +55,8 @@ var routers_default = (ctx, app) => {
|
|
|
54
55
|
ctx.logger.label(req.method).trace(req.path);
|
|
55
56
|
if (!import_router.default.find((item) => item.path === req.path || req.path.startsWith(item.path)))
|
|
56
57
|
return res.sendStatus(404);
|
|
57
|
-
if (req.path
|
|
58
|
+
if (NO_VERIFY.filter((item) => req.path.startsWith(item)).length > 0 || ctx.webui.checkToken(req.headers.authorization))
|
|
59
|
+
return next();
|
|
58
60
|
return res.sendStatus(401);
|
|
59
61
|
});
|
|
60
62
|
import_router.default.forEach((page) => {
|
package/lib/routers/router.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
3
|
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
-
* @Version 1.
|
|
4
|
+
* @Version 1.2.0
|
|
5
5
|
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
package/lib/service/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
3
|
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
-
* @Version 1.
|
|
4
|
+
* @Version 1.2.0
|
|
5
5
|
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
package/lib/types/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
3
|
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
-
* @Version 1.
|
|
4
|
+
* @Version 1.2.0
|
|
5
5
|
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
package/lib/utils/common.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
3
|
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
-
* @Version 1.
|
|
4
|
+
* @Version 1.2.0
|
|
5
5
|
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
package/lib/utils/transport.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
3
|
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
-
* @Version 1.
|
|
4
|
+
* @Version 1.2.0
|
|
5
5
|
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
package/lib/ws/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
3
|
* @Package @kotori-bot/kotori-plugin-webui
|
|
4
|
-
* @Version 1.
|
|
4
|
+
* @Version 1.2.0
|
|
5
5
|
* @Author Hotaru <biyuehuya@gmail.com>
|
|
6
6
|
* @Copyright 2024 Hotaru. All rights reserved.
|
|
7
7
|
* @License GPL-3.0
|
|
8
8
|
* @Link https://github.com/kotorijs/kotori
|
|
9
|
-
* @Date 2024/6/
|
|
9
|
+
* @Date 2024/6/13 13:12:22
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
"use strict";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kotori-bot/kotori-plugin-webui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "webui plugin",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
],
|
|
19
19
|
"author": "Hotaru <biyuehuya@gmail.com>",
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"kotori-bot": "^1.5.
|
|
21
|
+
"kotori-bot": "^1.5.4"
|
|
22
22
|
},
|
|
23
23
|
"kotori": {
|
|
24
24
|
"meta": {
|