@trillet-ai/web-sdk 1.2.12 → 1.2.13

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -115,7 +115,7 @@ export class TrilletAgent extends EventEmitter {
115
115
  if (!data.token || !data.roomName) {
116
116
  throw new Error('Invalid response from server: missing token or room name');
117
117
  }
118
- // 3. Initialize call with LiveKit token
118
+ // Initialize call with LiveKit token
119
119
  await this.sdk.initializeCall({
120
120
  token: data.token,
121
121
  wsUrl: process.env.LIVEKIT_WS_URL || 'wss://trillet-ai-xdx0dw5r.livekit.cloud',
@@ -126,7 +126,7 @@ export class TrilletAgent extends EventEmitter {
126
126
  enableRawAudio: this.config.mode === 'voice'
127
127
  }
128
128
  });
129
- // 4. Enable audio playback for voice mode
129
+ // Enable audio playback for voice mode
130
130
  if (this.config.mode === 'voice') {
131
131
  await this.sdk.enableAudioPlayback();
132
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trillet-ai/web-sdk",
3
- "version": "1.2.12",
3
+ "version": "1.2.13",
4
4
  "description": "Trillet Web SDK for real-time audio communication with AI agents",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",