@realsee/live 0.6.10 → 0.6.11

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.
@@ -83,4 +83,8 @@ export declare class LiveController extends Subscribe<LiveControllerEventMap> {
83
83
  * @param data
84
84
  */
85
85
  sendMessage(data?: any): void | undefined;
86
+ /**
87
+ * 准备关闭带看
88
+ */
89
+ readyClose(): void;
86
90
  }
@@ -124,7 +124,7 @@ export declare class Live<KeyframesSnapshot extends Record<string, any>> extends
124
124
  * @param reason
125
125
  * @returns
126
126
  */
127
- close: () => Promise<boolean>;
127
+ close: () => Promise<void>;
128
128
  /**
129
129
  * 销毁带看
130
130
  * @returns
@@ -48,7 +48,7 @@ export declare class RobustWebSocket extends Subscribe<RobustWebSocketEventMap>
48
48
  private _attempts;
49
49
  private _reconnects;
50
50
  private _reconnectWhenOnlineAgain;
51
- private _explicitlyClosed;
51
+ _explicitlyClosed: boolean;
52
52
  private _pendingReconnect;
53
53
  private _connectivityEventsAttached;
54
54
  private _heathCheckTimer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/live",
3
- "version": "0.6.10",
3
+ "version": "0.6.11",
4
4
  "description": "如视 Live SDK:基于如视 WebSocket 长链双工通信能力的前端封装,借助此 SDK 您可以快捷地实现具备同屏连线、实时语音的 VR 带看业务能力。",
5
5
  "scripts": {
6
6
  "dev": "tsc && vite build --mode development --watch",