@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/index.js
CHANGED
|
@@ -1629,6 +1629,10 @@ var WebSocketManager = class {
|
|
|
1629
1629
|
}
|
|
1630
1630
|
handleIntermediateTranscription(message) {
|
|
1631
1631
|
const config = getConfig();
|
|
1632
|
+
events.emit("transcription:interim", {
|
|
1633
|
+
transcript: message.transcript,
|
|
1634
|
+
isFinal: message.is_final
|
|
1635
|
+
});
|
|
1632
1636
|
if (config.debug) console.log("[SpeechOS] Intermediate transcription:", message.transcript, "final:", message.is_final);
|
|
1633
1637
|
}
|
|
1634
1638
|
handleFinalTranscript(message) {
|