floating-live 0.10.0 → 0.10.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "floating-live",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"acfun-live-danmaku": "^0.6.1",
|
|
19
|
-
"axios": "^
|
|
19
|
+
"axios": "^1.2.3",
|
|
20
20
|
"bilibili-live-ws": "^6.0.3",
|
|
21
21
|
"fs-extra": "^11.1.0"
|
|
22
22
|
},
|
|
@@ -36,7 +36,6 @@ class acfunLive extends LiveRoom_1.LiveRoom {
|
|
|
36
36
|
if (open)
|
|
37
37
|
this.open();
|
|
38
38
|
});
|
|
39
|
-
console.log("连接直播间");
|
|
40
39
|
}
|
|
41
40
|
/** 直播间是否可用 */
|
|
42
41
|
get available() {
|
|
@@ -97,7 +96,7 @@ class acfunLive extends LiveRoom_1.LiveRoom {
|
|
|
97
96
|
client.on("Gift", (gift) => { this.msg_Gift(gift); });
|
|
98
97
|
client.on("UserEnterRoom", (entry) => { this.msg_Interact(entry, "entry"); });
|
|
99
98
|
client.on("Like", (like) => { this.msg_Interact(like, "like"); });
|
|
100
|
-
client.on("JoinClub", (join) => { this.msg_Interact(join, "join"); });
|
|
99
|
+
// client.on("JoinClub", (join: any) => { this.msg_Interact(join, "join"); });
|
|
101
100
|
client.on("DisplayInfo", (info) => { this.msg_DisplayInfo(info); });
|
|
102
101
|
client.on("LiveClosed", (end) => { this.msg_LiveClosed(); });
|
|
103
102
|
client.on("LiveBanned", (end) => { this.msg_LiveBanned(); });
|