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 +4 -0
- package/lib/index.mjs +4 -0
- package/package.json +1 -1
- package/readme.md +1 -0
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