@realsee/live 0.6.13 → 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.
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +183 -178
- package/dist/index.es.js.map +1 -1
- package/dist/live/createLiveReact.d.ts +1 -1
- package/dist/live/live.d.ts +6 -1
- package/docs/functions/createLiveReact.html +8 -8
- package/package.json +1 -1
|
@@ -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<
|
|
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>;
|
package/dist/live/live.d.ts
CHANGED
|
@@ -117,7 +117,12 @@ export declare class Live<KeyframesSnapshot extends Record<string, any>> extends
|
|
|
117
117
|
* 退出带看
|
|
118
118
|
* @returns
|
|
119
119
|
*/
|
|
120
|
-
|
|
120
|
+
_exit: () => Promise<boolean>;
|
|
121
|
+
/**
|
|
122
|
+
* 退出带看
|
|
123
|
+
* @returns
|
|
124
|
+
*/
|
|
125
|
+
exit: () => Promise<void>;
|
|
121
126
|
/**
|
|
122
127
|
* 关闭带看房间
|
|
123
128
|
* @param code
|