@trillet-ai/web-sdk 1.2.11 → 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.
- package/dist/index.js +2 -2
- package/package.json +1 -2
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
|
-
//
|
|
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
|
-
//
|
|
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.
|
|
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",
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"author": "Trillet AI",
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@trillet-ai/web-sdk": "file:",
|
|
35
34
|
"eventemitter3": "^5.0.1",
|
|
36
35
|
"livekit-client": "^1.15.5"
|
|
37
36
|
},
|