@bililive-tools/bilibili-recorder 1.18.0 → 1.18.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.
package/lib/danma.js CHANGED
@@ -69,7 +69,6 @@ class DanmaClient extends EventEmitter {
69
69
  const buvid3 = info.data.b_3;
70
70
  const handler = {
71
71
  onOpen: () => {
72
- this.retryCount = this.maxRetryCount;
73
72
  this.emit("open");
74
73
  },
75
74
  onClose: () => {
package/lib/index.js CHANGED
@@ -225,7 +225,7 @@ const checkLiveStatusAndRecord = async function ({ getSavePath, isManualStart, b
225
225
  const info = await getInfo(this.channelId);
226
226
  return info;
227
227
  });
228
- const handleVideoCreated = async ({ filename, title, cover, rawFilename }) => {
228
+ const handleVideoCreated = async ({ filename, title, cover, rawFilename, }) => {
229
229
  this.emit("videoFileCreated", { filename, cover, rawFilename });
230
230
  if (title && this?.liveInfo) {
231
231
  this.liveInfo.title = title;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bililive-tools/bilibili-recorder",
3
- "version": "1.18.0",
3
+ "version": "1.18.1",
4
4
  "description": "bililive-tools bilibili recorder implemention",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",