@speechos/core 0.2.3 → 0.2.5
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 +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/types.d.cts +6 -1
- package/dist/types.d.ts +6 -1
- package/package.json +1 -1
package/dist/types.d.cts
CHANGED
|
@@ -187,7 +187,12 @@ export interface SpeechOSEventMap {
|
|
|
187
187
|
"state:change": {
|
|
188
188
|
state: SpeechOSState;
|
|
189
189
|
};
|
|
190
|
-
/** Emitted when transcription is received from
|
|
190
|
+
/** Emitted when intermediate transcription is received from server (indicates audio is being processed) */
|
|
191
|
+
"transcription:interim": {
|
|
192
|
+
transcript: string;
|
|
193
|
+
isFinal: boolean;
|
|
194
|
+
};
|
|
195
|
+
/** Emitted when final transcription is received from the server */
|
|
191
196
|
"transcription:complete": {
|
|
192
197
|
text: string;
|
|
193
198
|
};
|
package/dist/types.d.ts
CHANGED
|
@@ -187,7 +187,12 @@ export interface SpeechOSEventMap {
|
|
|
187
187
|
"state:change": {
|
|
188
188
|
state: SpeechOSState;
|
|
189
189
|
};
|
|
190
|
-
/** Emitted when transcription is received from
|
|
190
|
+
/** Emitted when intermediate transcription is received from server (indicates audio is being processed) */
|
|
191
|
+
"transcription:interim": {
|
|
192
|
+
transcript: string;
|
|
193
|
+
isFinal: boolean;
|
|
194
|
+
};
|
|
195
|
+
/** Emitted when final transcription is received from the server */
|
|
191
196
|
"transcription:complete": {
|
|
192
197
|
text: string;
|
|
193
198
|
};
|