@vapi-ai/web 1.0.229 → 1.0.230
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/api.ts +2 -2
- package/dist/api.d.ts +1 -1
- package/dist/api.js +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -717,7 +717,7 @@ export enum ContentType {
|
|
|
717
717
|
}
|
|
718
718
|
|
|
719
719
|
export class HttpClient<SecurityDataType = unknown> {
|
|
720
|
-
public baseUrl: string = "https://
|
|
720
|
+
public baseUrl: string = "https://api.vapi.ai";
|
|
721
721
|
private securityData: SecurityDataType | null = null;
|
|
722
722
|
private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
|
|
723
723
|
private abortControllers = new Map<CancelToken, AbortController>();
|
|
@@ -884,7 +884,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
884
884
|
/**
|
|
885
885
|
* @title Vapi API
|
|
886
886
|
* @version 1.0
|
|
887
|
-
* @baseUrl https://
|
|
887
|
+
* @baseUrl https://api.vapi.ai
|
|
888
888
|
* @contact
|
|
889
889
|
*
|
|
890
890
|
* API for building voice assistants
|
package/dist/api.d.ts
CHANGED
|
@@ -542,7 +542,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
542
542
|
/**
|
|
543
543
|
* @title Vapi API
|
|
544
544
|
* @version 1.0
|
|
545
|
-
* @baseUrl https://
|
|
545
|
+
* @baseUrl https://api.vapi.ai
|
|
546
546
|
* @contact
|
|
547
547
|
*
|
|
548
548
|
* API for building voice assistants
|
package/dist/api.js
CHANGED
|
@@ -40,7 +40,7 @@ var ContentType;
|
|
|
40
40
|
})(ContentType || (exports.ContentType = ContentType = {}));
|
|
41
41
|
class HttpClient {
|
|
42
42
|
constructor(apiConfig = {}) {
|
|
43
|
-
this.baseUrl = "https://
|
|
43
|
+
this.baseUrl = "https://api.vapi.ai";
|
|
44
44
|
this.securityData = null;
|
|
45
45
|
this.abortControllers = new Map();
|
|
46
46
|
this.customFetch = (...fetchParams) => fetch(...fetchParams);
|
|
@@ -156,7 +156,7 @@ exports.HttpClient = HttpClient;
|
|
|
156
156
|
/**
|
|
157
157
|
* @title Vapi API
|
|
158
158
|
* @version 1.0
|
|
159
|
-
* @baseUrl https://
|
|
159
|
+
* @baseUrl https://api.vapi.ai
|
|
160
160
|
* @contact
|
|
161
161
|
*
|
|
162
162
|
* API for building voice assistants
|