@drawdream/livespeech 0.1.14 → 0.1.15

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/README.md CHANGED
@@ -304,6 +304,7 @@ client.audioStart(); // AI speaks immediately
304
304
  |--------|---------|-------------|
305
305
  | `prePrompt` | - | System prompt |
306
306
  | `language` | `'en-US'` | Language code |
307
+ | `outputLanguage` | - | TTS voice language override (composed mode only) |
307
308
  | `pipelineMode` | `'live'` | `'live'` (~300ms) or `'composed'` (~1-2s) |
308
309
  | `aiSpeaksFirst` | `false` | AI initiates (live mode only) |
309
310
  | `allowHarmCategory` | `false` | Disable safety filters |
package/dist/index.js CHANGED
@@ -1025,6 +1025,8 @@ var LiveSpeechClient = class {
1025
1025
  }
1026
1026
  }
1027
1027
  handleConnected(connectionId) {
1028
+ this.sessionId = null;
1029
+ this.isStreaming = false;
1028
1030
  const event = {
1029
1031
  type: "connected",
1030
1032
  connectionId,
package/dist/index.mjs CHANGED
@@ -986,6 +986,8 @@ var LiveSpeechClient = class {
986
986
  }
987
987
  }
988
988
  handleConnected(connectionId) {
989
+ this.sessionId = null;
990
+ this.isStreaming = false;
989
991
  const event = {
990
992
  type: "connected",
991
993
  connectionId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawdream/livespeech",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Real-time speech-to-speech AI conversation SDK",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",