@voice-ai-labs/web-sdk 1.0.1 → 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/README.md +46 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +3 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +11 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30105,6 +30105,9 @@ class VoiceAI {
|
|
|
30105
30105
|
if (options.dynamicVariables) {
|
|
30106
30106
|
requestData.dynamic_variables = options.dynamicVariables;
|
|
30107
30107
|
}
|
|
30108
|
+
if (options.agentOverrides) {
|
|
30109
|
+
requestData.agent_overrides = options.agentOverrides;
|
|
30110
|
+
}
|
|
30108
30111
|
const authToken = await this.resolveAuthToken(options);
|
|
30109
30112
|
this.effectiveApiKey = authToken;
|
|
30110
30113
|
const response = await fetch(endpoint, {
|