@vapi-ai/web 1.0.245 → 1.0.246
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/vapi.js +0 -1
- package/package.json +1 -1
- package/vapi.ts +0 -2
package/dist/vapi.js
CHANGED
|
@@ -171,7 +171,6 @@ class Vapi extends VapiEventEmitter {
|
|
|
171
171
|
}
|
|
172
172
|
handleRemoteParticipantsAudioLevel(e) {
|
|
173
173
|
const speechLevel = Object.values(e.participantsAudioLevel).reduce((a, b) => a + b, 0);
|
|
174
|
-
console.log(speechLevel);
|
|
175
174
|
this.emit("volume-level", Math.min(1, speechLevel / 0.15));
|
|
176
175
|
const isSpeaking = speechLevel > 0.01;
|
|
177
176
|
if (!isSpeaking)
|
package/package.json
CHANGED