@realsee/live 0.4.0-beta.4 → 0.4.0-beta.7

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,11 +24,11 @@ export declare class LiveController<Snapshot extends Record<string, any>> {
24
24
  onEvtMsgListener?: (evt: MessageEvent) => void;
25
25
  onEvtErrListener?: (evt: Event) => void;
26
26
  onEvtCLEListener?: (evt: CloseEvent) => void;
27
- dispose: () => void;
27
+ dispose: () => boolean;
28
28
  /**
29
29
  * 销毁WebSocket相关依赖。
30
30
  */
31
- disposeWebSocket: () => void;
31
+ disposeWebSocket: () => true | undefined;
32
32
  /**
33
33
  * 解析数据
34
34
  * @param liveMsg