floating-live 0.16.0-alpha.18 → 0.16.0-alpha.19

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.
@@ -24,7 +24,7 @@ export declare abstract class LiveRoom extends CustomEventEmitter implements Liv
24
24
  /** 房间连接状态 */
25
25
  connectionStatus: LiveConnectionStatus;
26
26
  /** 房间开启状态 */
27
- abstract openStatus: LiveRoomOpenStatus;
27
+ openStatus: LiveRoomOpenStatus;
28
28
  get opened(): boolean;
29
29
  available: boolean;
30
30
  /** 打开连接 */
package/dist/live/room.js CHANGED
@@ -9,6 +9,8 @@ export class LiveRoom extends CustomEventEmitter {
9
9
  this.timestamp = 0;
10
10
  /** 房间连接状态 */
11
11
  this.connectionStatus = LiveConnectionStatus.off;
12
+ /** 房间开启状态 */
13
+ this.openStatus = 0;
12
14
  this.available = false;
13
15
  }
14
16
  get opened() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "floating-live",
3
- "version": "0.16.0-alpha.18",
3
+ "version": "0.16.0-alpha.19",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",