floating-live 0.14.2 → 0.14.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/package.json
CHANGED
|
@@ -36,7 +36,7 @@ declare class acfunLive extends LiveRoom {
|
|
|
36
36
|
/** 直播间是否可用 */
|
|
37
37
|
get available(): boolean;
|
|
38
38
|
constructor(id: number, open?: boolean);
|
|
39
|
-
getInfo(): Promise<
|
|
39
|
+
getInfo(): Promise<import("../..").RoomInfo>;
|
|
40
40
|
/** 开启直播间监听 */
|
|
41
41
|
open(): Promise<void>;
|
|
42
42
|
/** 初始化直播服务端监听 */
|
package/plugin/bilibili/room.js
CHANGED
|
@@ -32,7 +32,7 @@ export declare abstract class LiveRoom extends EventEmitter implements RoomInfo
|
|
|
32
32
|
/** 关闭连接 */
|
|
33
33
|
abstract close(): void;
|
|
34
34
|
/** 从服务器获取信息 */
|
|
35
|
-
abstract getInfo(): Promise<
|
|
35
|
+
abstract getInfo(): Promise<RoomInfo>;
|
|
36
36
|
/** 销毁事件 */
|
|
37
37
|
protected onDestory?(): void;
|
|
38
38
|
/** 销毁 */
|