g-ai-robot3 0.1.69 → 0.1.70
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/common/WsConnecter.d.ts +1 -5
- package/dist/g-ai-robot3.es.js +4584 -4571
- package/dist/g-ai-robot3.umd.js +70 -70
- package/dist/index.css +1 -1
- package/dist/index.vue.d.ts +3 -0
- package/dist/type.d.ts +1 -0
- package/dist/utils/log.data.d.ts +0 -4
- package/package.json +3 -1
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright FunASR (https://github.com/alibaba-damo-academy/FunASR). All Rights
|
|
3
|
-
* Reserved. MIT License (https://opensource.org/licenses/MIT)
|
|
4
|
-
*/
|
|
5
1
|
type Mode = '2pass' | 'offline';
|
|
6
2
|
export default class WebSocketConnectMethod {
|
|
7
3
|
private speechSokt;
|
|
@@ -18,7 +14,7 @@ export default class WebSocketConnectMethod {
|
|
|
18
14
|
wsStop(): void;
|
|
19
15
|
wsSend(data: any): void;
|
|
20
16
|
onOpen(): void;
|
|
21
|
-
onClose(e:
|
|
17
|
+
onClose(e: CloseEvent): void;
|
|
22
18
|
onMessage(e: any): void;
|
|
23
19
|
onError(e: any): void;
|
|
24
20
|
}
|