koishi-plugin-noah 2.3.7 → 2.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.
@@ -38,6 +38,12 @@ export interface CoreConfig extends BaseConfig {
38
38
  adminUsers?: string[];
39
39
  /** 群名片列表 */
40
40
  guildNameCards?: string[];
41
+ /** Token 有效期(秒),默认 1800 */
42
+ tokenTtl?: number;
43
+ /** 前端面板 URL */
44
+ frontendUrl?: string;
45
+ /** CORS 允许的来源,默认 * */
46
+ corsOrigin?: string;
41
47
  }
42
48
  /**
43
49
  * 戳一戳功能配置接口
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koishi-plugin-noah",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
4
4
  "contributors": [
5
5
  "Logthm <logthm@outlook.com>"
6
6
  ],
@@ -22,6 +22,7 @@
22
22
  "koishi": "^4.18.11"
23
23
  },
24
24
  "dependencies": {
25
+ "@koishijs/plugin-server": "^3.2.9",
25
26
  "adm-zip": "^0.5.17",
26
27
  "bwip-js": "^4.10.1",
27
28
  "javascript-barcode-reader": "^0.6.9",
@@ -37,7 +38,8 @@
37
38
  "service": {
38
39
  "required": [
39
40
  "database",
40
- "skia"
41
+ "skia",
42
+ "server"
41
43
  ]
42
44
  },
43
45
  "locales": [
@@ -47,7 +49,7 @@
47
49
  },
48
50
  "devDependencies": {
49
51
  "@haixee/eslint-config": "^2.3.2",
50
- "@koishijs/plugin-adapter-discord": "^4.6.0",
52
+ "@koishijs/plugin-adapter-discord": "^4.6.1",
51
53
  "@ltxhhz/koishi-plugin-skia-canvas": "^0.0.8",
52
54
  "@types/adm-zip": "^0",
53
55
  "@types/xml2js": "^0",