bililive-cli 3.12.0 → 3.12.1

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.
@@ -54494,7 +54494,7 @@ async function trash(paths, options) {
54494
54494
  } else if (process$2.platform === 'win32') {
54495
54495
  module = await Promise.resolve().then(function () { return require('./windows-OmnJ7a39.cjs'); });
54496
54496
  } else {
54497
- module = await Promise.resolve().then(function () { return require('./linux-3aHV0Cqf.cjs'); });
54497
+ module = await Promise.resolve().then(function () { return require('./linux-CUI0soP3.cjs'); });
54498
54498
  }
54499
54499
 
54500
54500
  return module.default(paths);
@@ -290947,27 +290947,27 @@ async function createRecorderManager(appConfig) {
290947
290947
  // 构建每个平台的检查配置
290948
290948
  const providerCheckConfig = {
290949
290949
  [provider$2.id]: {
290950
- autoCheckInterval: config?.recorder?.bilibili.checkInterval ?? autoCheckInterval,
290950
+ autoCheckInterval: (config?.recorder?.bilibili.checkInterval ?? autoCheckInterval) * 1000,
290951
290951
  maxThreadCount: config?.recorder?.bilibili.maxThreadCount ?? maxThreadCount,
290952
290952
  waitTime: config?.recorder?.bilibili.waitTime ?? waitTime,
290953
290953
  },
290954
290954
  [provider$4.id]: {
290955
- autoCheckInterval: config?.recorder?.douyu.checkInterval ?? autoCheckInterval,
290955
+ autoCheckInterval: (config?.recorder?.douyu.checkInterval ?? autoCheckInterval) * 1000,
290956
290956
  maxThreadCount: config?.recorder?.douyu.maxThreadCount ?? maxThreadCount,
290957
290957
  waitTime: config?.recorder?.douyu.waitTime ?? waitTime,
290958
290958
  },
290959
290959
  [provider$3.id]: {
290960
- autoCheckInterval: config?.recorder?.huya.checkInterval ?? autoCheckInterval,
290960
+ autoCheckInterval: (config?.recorder?.huya.checkInterval ?? autoCheckInterval) * 1000,
290961
290961
  maxThreadCount: config?.recorder?.huya.maxThreadCount ?? maxThreadCount,
290962
290962
  waitTime: config?.recorder?.huya.waitTime ?? waitTime,
290963
290963
  },
290964
290964
  [provider$1.id]: {
290965
- autoCheckInterval: config?.recorder?.douyin.checkInterval ?? autoCheckInterval,
290965
+ autoCheckInterval: (config?.recorder?.douyin.checkInterval ?? autoCheckInterval) * 1000,
290966
290966
  maxThreadCount: config?.recorder?.douyin.maxThreadCount ?? maxThreadCount,
290967
290967
  waitTime: config?.recorder?.douyin.waitTime ?? waitTime,
290968
290968
  },
290969
290969
  [provider.id]: {
290970
- autoCheckInterval: config?.recorder?.xhs.checkInterval ?? autoCheckInterval,
290970
+ autoCheckInterval: (config?.recorder?.xhs.checkInterval ?? autoCheckInterval) * 1000,
290971
290971
  maxThreadCount: config?.recorder?.xhs.maxThreadCount ?? maxThreadCount,
290972
290972
  waitTime: config?.recorder?.xhs.waitTime ?? waitTime,
290973
290973
  },
@@ -4,7 +4,7 @@ var path$7 = require('node:path');
4
4
  var require$$2$1 = require('node:http');
5
5
  var require$$1$2 = require('node:url');
6
6
  var a = require('node:https');
7
- var index = require('./index-CexUlnMI.cjs');
7
+ var index = require('./index-BeyiZ-FP.cjs');
8
8
  var require$$0$4 = require('tty');
9
9
  var require$$1$3 = require('util');
10
10
  var require$$0$b = require('assert');
@@ -81156,7 +81156,7 @@ exports.handler = void 0;
81156
81156
  exports.appConfig = void 0;
81157
81157
  exports.container = void 0;
81158
81158
  const fileCache = createFileCache();
81159
- path$7.dirname(require$$1$2.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-C8xUO1_g.cjs', document.baseURI).href))));
81159
+ path$7.dirname(require$$1$2.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index-XgWTq_HC.cjs', document.baseURI).href))));
81160
81160
  const authMiddleware = (passKey) => {
81161
81161
  return async (ctx, next) => {
81162
81162
  const authHeader = ctx.headers["authorization"] || ctx.request.query.auth;
package/lib/index.cjs CHANGED
@@ -3715,7 +3715,7 @@ const {
3715
3715
  Help,
3716
3716
  } = commander;
3717
3717
 
3718
- var version = "3.12.0";
3718
+ var version = "3.12.1";
3719
3719
 
3720
3720
  process.on("uncaughtException", function (error) {
3721
3721
  console.error(`${new Date().toISOString()} uncaughtException`, error);
@@ -3741,8 +3741,8 @@ program
3741
3741
  throw new Error(`${c.configFolder}参数不存在,请先重新运行 config gen 命令`);
3742
3742
  }
3743
3743
  // 下面两行顺序不能换(
3744
- const { init } = await Promise.resolve().then(function () { return require('./index-CexUlnMI.cjs'); }).then(function (n) { return n.index; });
3745
- const { serverStart } = await Promise.resolve().then(function () { return require('./index-C8xUO1_g.cjs'); });
3744
+ const { init } = await Promise.resolve().then(function () { return require('./index-BeyiZ-FP.cjs'); }).then(function (n) { return n.index; });
3745
+ const { serverStart } = await Promise.resolve().then(function () { return require('./index-XgWTq_HC.cjs'); });
3746
3746
  const globalConfig = {
3747
3747
  ffmpegPresetPath: path$1.join(c.configFolder, "ffmpeg_presets.json"),
3748
3748
  videoPresetPath: path$1.join(c.configFolder, "presets.json"),
@@ -4,7 +4,7 @@ var os$3 = require('node:os');
4
4
  var path$5 = require('node:path');
5
5
  var fs$3 = require('node:fs');
6
6
  var crypto = require('node:crypto');
7
- var index = require('./index-CexUlnMI.cjs');
7
+ var index = require('./index-BeyiZ-FP.cjs');
8
8
  var require$$0$1 = require('fs');
9
9
  var require$$0 = require('path');
10
10
  var require$$0$2 = require('child_process');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bililive-cli",
3
- "version": "3.12.0",
3
+ "version": "3.12.1",
4
4
  "type": "module",
5
5
  "description": "biliLive-tools的cli程序",
6
6
  "main": "./lib/index.js",
@@ -39,9 +39,9 @@
39
39
  "commander": "^12.1.0",
40
40
  "rimraf": "^6.0.1",
41
41
  "tsx": "^4.19.2",
42
- "@biliLive-tools/http": "3.12.0",
43
- "@biliLive-tools/types": "3.12.0",
44
- "@biliLive-tools/shared": "3.12.0"
42
+ "@biliLive-tools/http": "3.12.1",
43
+ "@biliLive-tools/shared": "3.12.1",
44
+ "@biliLive-tools/types": "3.12.1"
45
45
  },
46
46
  "scripts": {
47
47
  "start": "tsx src/index.ts",