@bililive-tools/douyin-recorder 1.12.2 → 1.12.3

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
@@ -253,7 +253,6 @@ const checkLiveStatusAndRecord = async function ({ getSavePath, banLiveId, isMan
253
253
  // },
254
254
  },
255
255
  };
256
- console.log("Message", JSON.stringify(msg), null, 2);
257
256
  this.emit("Message", comment);
258
257
  extraDataController.addMessage(comment);
259
258
  });
package/lib/stream.d.ts CHANGED
@@ -16,6 +16,7 @@ export declare function getInfo(channelId: string, opts?: {
16
16
  api: RealAPIType;
17
17
  liveStartTime: Date;
18
18
  recordStartTime: Date;
19
+ area: string;
19
20
  }>;
20
21
  export declare function getStream(opts: Pick<Recorder, "channelId" | "quality" | "streamPriorities" | "sourcePriorities"> & {
21
22
  rejectCache?: boolean;
package/lib/stream.js CHANGED
@@ -25,6 +25,7 @@ export async function getInfo(channelId, opts) {
25
25
  api: info.api,
26
26
  liveStartTime: startTime,
27
27
  recordStartTime: startTime,
28
+ area: info.area ?? "",
28
29
  };
29
30
  }
30
31
  export async function getStream(opts) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bililive-tools/douyin-recorder",
3
- "version": "1.12.2",
3
+ "version": "1.12.3",
4
4
  "description": "@bililive-tools douyin recorder implemention",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
@@ -34,12 +34,12 @@
34
34
  "author": "WhiteMind",
35
35
  "license": "LGPL",
36
36
  "dependencies": {
37
- "axios": "^1.7.8",
37
+ "axios": "^1.15.0",
38
38
  "lodash-es": "^4.17.21",
39
39
  "mitt": "^3.0.1",
40
40
  "sm-crypto": "^0.3.13",
41
- "@bililive-tools/manager": "^1.13.0",
42
- "douyin-danma-listener": "0.4.0"
41
+ "@bililive-tools/manager": "^1.14.1",
42
+ "douyin-danma-listener": "0.4.1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "*"