@vapi-ai/web 2.1.3 → 2.1.4

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 CHANGED
@@ -147,7 +147,7 @@ These events allow you to react to changes in the state of the call or speech.
147
147
  ```
148
148
  MIT License
149
149
 
150
- Copyright (c) 2023 Vapi Labs Inc.
150
+ Copyright (c) 2024 Vapi Labs Inc.
151
151
 
152
152
  Permission is hereby granted, free of charge, to any person obtaining a copy
153
153
  of this software and associated documentation files (the "Software"), to deal
package/api.ts CHANGED
@@ -1768,6 +1768,10 @@ export interface ElevenLabsVoice {
1768
1768
  | 'eleven_turbo_v2'
1769
1769
  | 'eleven_turbo_v2_5'
1770
1770
  | 'eleven_monolingual_v1';
1771
+ /**
1772
+ * This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.
1773
+ */
1774
+ language?: string;
1771
1775
  }
1772
1776
 
1773
1777
  export interface LMNTVoice {
@@ -10555,4 +10559,4 @@ export class Api<
10555
10559
  ...params,
10556
10560
  }),
10557
10561
  };
10558
- }
10562
+ }
package/dist/api.d.ts CHANGED
@@ -1192,6 +1192,10 @@ export interface ElevenLabsVoice {
1192
1192
  * @example "eleven_turbo_v2_5"
1193
1193
  */
1194
1194
  model?: 'eleven_multilingual_v2' | 'eleven_turbo_v2' | 'eleven_turbo_v2_5' | 'eleven_monolingual_v1';
1195
+ /**
1196
+ * This is the language (ISO 639-1) that is enforced for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided.
1197
+ */
1198
+ language?: string;
1195
1199
  }
1196
1200
  export interface LMNTVoice {
1197
1201
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vapi-ai/web",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "",
5
5
  "main": "dist/vapi.js",
6
6
  "types": "dist/vapi.d.ts",