@trillet-ai/web-sdk 1.6.0 → 1.7.0
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 +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import { BrowserFingerprint } from './BrowserFingerprint.js';
|
|
|
5
5
|
// Export BrowserFingerprint for external use
|
|
6
6
|
export { BrowserFingerprint };
|
|
7
7
|
const TRILLET_API_URL = {
|
|
8
|
-
CONNECT: 'https://api
|
|
9
|
-
PUBLIC_CONNECT: 'https://api
|
|
8
|
+
CONNECT: 'https://api.trillet.ai/v1/api/web-call',
|
|
9
|
+
PUBLIC_CONNECT: 'https://api.trillet.ai/v1/api/web-call/public',
|
|
10
10
|
};
|
|
11
11
|
const decoder = new TextDecoder();
|
|
12
12
|
// Browser compatibility check
|
|
@@ -132,7 +132,7 @@ export class TrilletAgent extends EventEmitter {
|
|
|
132
132
|
// Initialize call with LiveKit token
|
|
133
133
|
await this.sdk.initializeCall({
|
|
134
134
|
token: data.token,
|
|
135
|
-
wsUrl: 'wss://
|
|
135
|
+
wsUrl: 'wss://trillet-ai-xdx0dw5r.livekit.cloud',
|
|
136
136
|
mode: this.config.mode,
|
|
137
137
|
audioSettings: {
|
|
138
138
|
sampleRate: 48000,
|
|
@@ -198,7 +198,7 @@ export class TrilletAgent extends EventEmitter {
|
|
|
198
198
|
// Initialize call with LiveKit token
|
|
199
199
|
await this.sdk.initializeCall({
|
|
200
200
|
token: data.token,
|
|
201
|
-
wsUrl: 'wss://
|
|
201
|
+
wsUrl: 'wss://trillet-ai-xdx0dw5r.livekit.cloud',
|
|
202
202
|
mode: this.config.mode,
|
|
203
203
|
audioSettings: {
|
|
204
204
|
sampleRate: 48000,
|