@absolutejs/voice 0.0.22-beta.446 → 0.0.22-beta.447
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.
|
@@ -2339,6 +2339,9 @@ var initVoiceHTMXRoot = (root) => {
|
|
|
2339
2339
|
stopButton.addEventListener("click", () => {
|
|
2340
2340
|
stopMic();
|
|
2341
2341
|
});
|
|
2342
|
+
root.addEventListener("absolute-voice-simulate-disconnect", () => {
|
|
2343
|
+
currentVoice().simulateDisconnect();
|
|
2344
|
+
});
|
|
2342
2345
|
window.addEventListener("beforeunload", () => {
|
|
2343
2346
|
guidedVoice.stopRecording();
|
|
2344
2347
|
generalVoice.stopRecording();
|