xactsize-webcomponents 1.0.38 → 1.0.40
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/{body-measurer-O9J_MJdf.mjs → body-measurer-BP8qZwh-.mjs} +217 -193
- package/dist/body-measurer.es.js +1 -1
- package/dist/body-measurer.umd.js +33 -33
- package/dist/{pt-BR-IYFOldpG.mjs → pt-BR-CSc0SIg_.mjs} +1 -1
- package/dist/services/ai-session-manager.d.ts +7 -0
- package/dist/services/audio-manager.d.ts +2 -0
- package/package.json +1 -1
|
@@ -3,9 +3,16 @@ export declare class AISessionManager {
|
|
|
3
3
|
private audioManager;
|
|
4
4
|
private apiUrl;
|
|
5
5
|
private apiKey;
|
|
6
|
+
private introSent;
|
|
7
|
+
private introComplete;
|
|
8
|
+
private lastCvError;
|
|
9
|
+
private lastCvErrorTime;
|
|
10
|
+
private measurementComplete;
|
|
11
|
+
private static readonly CV_ERROR_THROTTLE_MS;
|
|
6
12
|
onTurnComplete?: () => void;
|
|
7
13
|
constructor(apiUrl: string, apiKey: string);
|
|
8
14
|
connect(): Promise<void>;
|
|
15
|
+
private handleTurnComplete;
|
|
9
16
|
startMicrophone(): void;
|
|
10
17
|
forwardCvError(errorMessage: string): void;
|
|
11
18
|
notifySuccess(size: string): void;
|
|
@@ -6,6 +6,8 @@ export declare class AudioManager {
|
|
|
6
6
|
private source;
|
|
7
7
|
private audioPlaybackQueue;
|
|
8
8
|
private isPlaying;
|
|
9
|
+
onQueueDrained?: () => void;
|
|
10
|
+
get isPlaybackActive(): boolean;
|
|
9
11
|
startMicrophone(onAudioData: (buffer: ArrayBuffer) => void): Promise<void>;
|
|
10
12
|
private float32ToInt16;
|
|
11
13
|
initPlayback(): void;
|
package/package.json
CHANGED