@layercode/js-sdk 1.0.13 → 1.0.14
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/types/index.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ interface LayercodeClientOptions {
|
|
|
12
12
|
metadata?: Record<string, any>;
|
|
13
13
|
/** Enable/disable voice activity detector (VAD) which improves turn taking */
|
|
14
14
|
vadEnabled?: boolean;
|
|
15
|
+
/** Milliseconds before resuming assistant audio after temporary pause due to user interruption (which was actually a false interruption) */
|
|
16
|
+
vadResumeDelay?: number;
|
|
15
17
|
/** Callback when connection is established */
|
|
16
18
|
onConnect?: ({ sessionId }: {
|
|
17
19
|
sessionId: string | null;
|
package/package.json
CHANGED