@realsee/live 0.6.12 → 0.6.14

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.
@@ -21,7 +21,7 @@ export declare function createLiveReact<KeyframesSnapshot extends Record<string,
21
21
  useLiveAction: () => {
22
22
  connect: (options: LiveConnectOptions) => Promise<boolean | Error>;
23
23
  broadcast: (data: Record<string, any>, toUserIds: string | string[], timeout?: number) => Promise<unknown>;
24
- exit: () => Promise<boolean>;
24
+ exit: () => Promise<void>;
25
25
  kick: (toUserIds: string | string[]) => Promise<boolean>;
26
26
  toggleMicro: (microStatus: boolean) => Promise<boolean>;
27
27
  forbidMicro: (micro: MicroStatus, toUserIds?: string | string[]) => Promise<boolean>;
@@ -117,7 +117,12 @@ export declare class Live<KeyframesSnapshot extends Record<string, any>> extends
117
117
  * 退出带看
118
118
  * @returns
119
119
  */
120
- exit: () => Promise<boolean>;
120
+ _exit: () => Promise<boolean>;
121
+ /**
122
+ * 退出带看
123
+ * @returns
124
+ */
125
+ exit: () => Promise<void>;
121
126
  /**
122
127
  * 关闭带看房间
123
128
  * @param code