@hyrious/blivec
Advanced tools
Comparing version 0.3.18 to 0.3.19
@@ -14,2 +14,6 @@ import { Socket } from 'net'; | ||
title: string; | ||
uid: number; | ||
cover: string; | ||
background: string; | ||
description: string; | ||
/** 0: offline, 1: online, 2: playing_uploaded_videos */ | ||
@@ -16,0 +20,0 @@ live_status: 0 | 1 | 2; |
@@ -95,3 +95,3 @@ "use strict"; | ||
this._encode("join", { | ||
uid: 0, | ||
uid: this.info.uid, | ||
roomid: this.info.room_id, | ||
@@ -101,3 +101,2 @@ key: this.info.token, | ||
platform: "web", | ||
clientver: "2.0.11", | ||
type: 2 | ||
@@ -104,0 +103,0 @@ }) |
{ | ||
"name": "@hyrious/blivec", | ||
"version": "0.3.18", | ||
"version": "0.3.19", | ||
"description": "bilibili live cli", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -42,2 +42,6 @@ import https from "https"; | ||
title: string; | ||
uid: number; | ||
cover: string; | ||
background: string; | ||
description: string; | ||
/** 0: offline, 1: online, 2: playing_uploaded_videos */ | ||
@@ -136,3 +140,3 @@ live_status: 0 | 1 | 2; | ||
this._encode("join", { | ||
uid: 0, | ||
uid: this.info.uid, | ||
roomid: this.info.room_id, | ||
@@ -142,3 +146,2 @@ key: this.info.token, | ||
platform: "web", | ||
clientver: "2.0.11", | ||
type: 2, | ||
@@ -145,0 +148,0 @@ }), |
67172
1976