aillom-vox-client 1.0.0 → 1.0.2
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/AillomVox.js +4 -1
- package/dist/types.d.ts +1 -0
- package/package.json +2 -7
- package/src/AillomVox.ts +4 -1
- package/src/types.ts +1 -0
package/dist/AillomVox.js
CHANGED
|
@@ -10,8 +10,11 @@ class AillomVox {
|
|
|
10
10
|
this.ws = null;
|
|
11
11
|
this.eventListeners = new Map();
|
|
12
12
|
this.isConnected = false;
|
|
13
|
-
this.url = 'wss://
|
|
13
|
+
this.url = 'wss://wss.aillom.com/ws';
|
|
14
14
|
this.config = config;
|
|
15
|
+
if (this.config.gatewayUrl) {
|
|
16
|
+
this.url = this.config.gatewayUrl;
|
|
17
|
+
}
|
|
15
18
|
if (!this.config.apiKey) {
|
|
16
19
|
throw new Error('AillomVox: apiKey is required');
|
|
17
20
|
}
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aillom-vox-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Enterprise-Grade Voice AI SDK for Speech-to-Speech, Audio-to-Audio, and Realtime Multimodal applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -46,10 +46,5 @@
|
|
|
46
46
|
"bugs": {
|
|
47
47
|
"url": "https://github.com/aillom/aillom-vox-client/issues"
|
|
48
48
|
},
|
|
49
|
-
"homepage": "https://vox.aillom.com"
|
|
50
|
-
"devDependencies": {
|
|
51
|
-
"@types/node": "^25.2.2",
|
|
52
|
-
"ts-node": "^10.9.2",
|
|
53
|
-
"typescript": "^5.9.3"
|
|
54
|
-
}
|
|
49
|
+
"homepage": "https://vox.aillom.com"
|
|
55
50
|
}
|
package/src/AillomVox.ts
CHANGED
|
@@ -6,10 +6,13 @@ export class AillomVox {
|
|
|
6
6
|
private config: AillomVoxConfig;
|
|
7
7
|
private eventListeners: Map<string, EventHandler[]> = new Map();
|
|
8
8
|
private isConnected: boolean = false;
|
|
9
|
-
private url: string = 'wss://
|
|
9
|
+
private url: string = 'wss://wss.aillom.com/ws';
|
|
10
10
|
|
|
11
11
|
constructor(config: AillomVoxConfig) {
|
|
12
12
|
this.config = config;
|
|
13
|
+
if (this.config.gatewayUrl) {
|
|
14
|
+
this.url = this.config.gatewayUrl;
|
|
15
|
+
}
|
|
13
16
|
if (!this.config.apiKey) {
|
|
14
17
|
throw new Error('AillomVox: apiKey is required');
|
|
15
18
|
}
|