voice-router-dev 0.2.0 → 0.2.1
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.js +1 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2919,12 +2919,7 @@ var AssemblyAIAdapter = class extends BaseAdapter {
|
|
|
2919
2919
|
if (ws.readyState !== WebSocket2.OPEN) {
|
|
2920
2920
|
throw new Error("WebSocket is not open");
|
|
2921
2921
|
}
|
|
2922
|
-
|
|
2923
|
-
ws.send(
|
|
2924
|
-
JSON.stringify({
|
|
2925
|
-
audio_data: base64Audio
|
|
2926
|
-
})
|
|
2927
|
-
);
|
|
2922
|
+
ws.send(chunk.data);
|
|
2928
2923
|
if (chunk.isLast) {
|
|
2929
2924
|
ws.send(
|
|
2930
2925
|
JSON.stringify({
|