koishi-plugin-bilibili-notify 3.2.11-alpha.10 → 3.2.11-alpha.11

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/index.js CHANGED
@@ -3316,11 +3316,15 @@ var BiliAPI = class extends koishi.Service {
3316
3316
  sub_key: ""
3317
3317
  };
3318
3318
  updateJob;
3319
+ pRetry;
3320
+ AbortError;
3319
3321
  constructor(ctx, config) {
3320
3322
  super(ctx, "ba");
3321
3323
  this.apiConfig = config;
3322
3324
  }
3323
3325
  async start() {
3326
+ this.pRetry = (await import("p-retry")).default;
3327
+ this.AbortError = (await import("p-retry")).AbortError;
3324
3328
  const CacheableLookup = (await import("cacheable-lookup")).default;
3325
3329
  this.cacheable = new CacheableLookup();
3326
3330
  this.cacheable.install(node_http.default.globalAgent);
package/lib/index.mjs CHANGED
@@ -3297,11 +3297,15 @@ var BiliAPI = class extends Service {
3297
3297
  sub_key: ""
3298
3298
  };
3299
3299
  updateJob;
3300
+ pRetry;
3301
+ AbortError;
3300
3302
  constructor(ctx, config) {
3301
3303
  super(ctx, "ba");
3302
3304
  this.apiConfig = config;
3303
3305
  }
3304
3306
  async start() {
3307
+ this.pRetry = (await import("p-retry")).default;
3308
+ this.AbortError = (await import("p-retry")).AbortError;
3305
3309
  const CacheableLookup = (await import("cacheable-lookup")).default;
3306
3310
  this.cacheable = new CacheableLookup();
3307
3311
  this.cacheable.install(http.globalAgent);
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.11-alpha.10",
4
+ "version": "3.2.11-alpha.11",
5
5
  "main": "./lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [
package/readme.md CHANGED
@@ -320,6 +320,7 @@ uid为必填参数,为要推送的UP主的UID,index为可选参数,为要
320
320
  > - ver 3.2.11-alpha.8 测试版本
321
321
  > - ver 3.2.11-alpha.9 测试版本
322
322
  > - ver 3.2.11-alpha.10 测试版本
323
+ > - ver 3.2.11-alpha.11 测试版本
323
324
 
324
325
  ## 交流群
325
326