@bililive-tools/douyin-recorder 1.12.0 → 1.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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +3 -3
package/lib/index.js CHANGED
@@ -304,7 +304,7 @@ const checkLiveStatusAndRecord = async function ({ getSavePath, banLiveId, isMan
304
304
  color: "#ffffff",
305
305
  sender: {
306
306
  uid: msg.user.id,
307
- name: msg?.user?.nickName ?? "unknown",
307
+ name: msg?.user?.nickName || "unknown",
308
308
  // avatar: msg.ic,
309
309
  // extra: {
310
310
  // level: msg.level,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bililive-tools/douyin-recorder",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "@bililive-tools douyin recorder implemention",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
@@ -38,8 +38,8 @@
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.12.0",
42
- "douyin-danma-listener": "0.3.1"
41
+ "douyin-danma-listener": "0.4.0",
42
+ "@bililive-tools/manager": "^1.13.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "*"