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 CHANGED
@@ -2984,12 +2984,7 @@ var AssemblyAIAdapter = class extends BaseAdapter {
2984
2984
  if (ws.readyState !== import_ws2.default.OPEN) {
2985
2985
  throw new Error("WebSocket is not open");
2986
2986
  }
2987
- const base64Audio = chunk.data.toString("base64");
2988
- ws.send(
2989
- JSON.stringify({
2990
- audio_data: base64Audio
2991
- })
2992
- );
2987
+ ws.send(chunk.data);
2993
2988
  if (chunk.isLast) {
2994
2989
  ws.send(
2995
2990
  JSON.stringify({