koishi-plugin-bilibili-notify 3.2.1-alpha.6 → 3.2.1-alpha.7

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/lib/biliAPI.d.ts CHANGED
@@ -62,7 +62,7 @@ declare class BiliAPI extends Service {
62
62
  cookies: any;
63
63
  refresh_token: string;
64
64
  }>;
65
- getCSRF(): string;
65
+ getCSRF(): any;
66
66
  loadCookiesFromDatabase(): Promise<void>;
67
67
  enableRefreshCookiesDetect(): void;
68
68
  checkIfTokenNeedRefresh(refreshToken: string, csrf: string, times?: number): Promise<void>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-bilibili-notify",
3
3
  "description": "Koishi bilibili notify plugin",
4
- "version": "3.2.1-alpha.6",
4
+ "version": "3.2.1-alpha.7",
5
5
  "contributors": [
6
6
  "Akokko <admin@akokko.com>"
7
7
  ],
@@ -28,15 +28,14 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@akokko/blive-message-listener": "^0.5.1",
31
- "axios": "^1.9.0",
31
+ "axios": "^1.7.9",
32
32
  "axios-cookiejar-support": "^5.0.5",
33
- "cacheable-lookup": "^7.0.0",
34
33
  "cron": "^4.3.0",
35
34
  "jsdom": "^26.1.0",
36
35
  "luxon": "^3.6.1",
37
36
  "md5": "^2.3.0",
38
37
  "qrcode": "^1.5.4",
39
- "tough-cookie": "^5.1.2"
38
+ "tough-cookie": "^4.1.4"
40
39
  },
41
40
  "devDependencies": {
42
41
  "@biomejs/biome": "1.9.4",
package/readme.md CHANGED
@@ -263,6 +263,7 @@ uid为必填参数,为要推送的UP主的UID,index为可选参数,为要
263
263
  - ver 3.2.1-alpha.4 优化:直播监听初始化没有提示;
264
264
  - ver 3.2.1-alpha.5 修复:临时更换依赖 `blive-message-listener` 为 `@akokko/blive-message-listener` 以解决直播检测 `WS` 模式连接中断的问题;
265
265
  - ver 3.2.1-alpha.6 修复:依赖 `axios-cookiejar-support@6.0.2` 为纯ESM依赖,运行报错 Error [ERR_REQUIRE_ESM]: require() of ES Module `xxx` not supported,降级回 `axios-cookiejar-support@5.0.5`
266
+ - ver 3.2.1-alpha.7 修复:依赖 `tough-cookie` 和 `axios` 回退版本;
266
267
 
267
268
  ## 交流群
268
269