bstp-agent-widget 0.2.108 → 0.2.110
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/agent-widget.js +112 -108
- package/dist/agent-widget.js.map +1 -1
- package/package.json +1 -1
- package/src/types/speech-recognition.d.ts +17 -18
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@ interface SpeechRecognitionErrorEvent extends Event {
|
|
|
26
26
|
readonly message: string;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
interface SpeechRecognition extends EventTarget {
|
|
29
|
+
interface SpeechRecognition extends EventTarget {
|
|
30
30
|
lang: string;
|
|
31
31
|
continuous: boolean;
|
|
32
32
|
interimResults: boolean;
|
|
@@ -37,20 +37,19 @@ interface SpeechRecognition extends EventTarget {
|
|
|
37
37
|
onerror: ((this: SpeechRecognition, ev: SpeechRecognitionErrorEvent) => void) | null;
|
|
38
38
|
onresult: ((this: SpeechRecognition, ev: SpeechRecognitionEvent) => void) | null;
|
|
39
39
|
onend: ((this: SpeechRecognition, ev: Event) => void) | null;
|
|
40
|
-
onstart: ((this: SpeechRecognition, ev: Event) => void) | null;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
prototype: SpeechRecognition;
|
|
45
|
-
new (): SpeechRecognition;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
declare var
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
40
|
+
onstart: ((this: SpeechRecognition, ev: Event) => void) | null;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
interface SpeechRecognitionConstructor {
|
|
44
|
+
prototype: SpeechRecognition;
|
|
45
|
+
new (): SpeechRecognition;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
declare var SpeechRecognition: SpeechRecognitionConstructor;
|
|
49
|
+
|
|
50
|
+
declare var webkitSpeechRecognition: SpeechRecognitionConstructor;
|
|
51
|
+
|
|
52
|
+
interface Window {
|
|
53
|
+
SpeechRecognition?: SpeechRecognitionConstructor;
|
|
54
|
+
webkitSpeechRecognition?: SpeechRecognitionConstructor;
|
|
55
|
+
}
|