@streamoji/aitwin 0.3.3 → 0.3.5

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/index.d.ts CHANGED
@@ -125,6 +125,10 @@ export declare type AvatarTtsLipsyncController = {
125
125
  subscribe: (listener: () => void) => () => void;
126
126
  };
127
127
 
128
+ declare type AvatarTtsLipsyncControllerOptions = {
129
+ onLipsyncDebug?: (snapshot: RealtimeLipsyncDebugSnapshot) => void;
130
+ };
131
+
128
132
  export declare type AvatarTtsLipsyncStatus = "idle" | "loading" | "speaking" | "done" | "error";
129
133
 
130
134
  export declare type AvatarTtsSpeakOptions = {
@@ -137,7 +141,7 @@ export declare type AvatarTtsSpeakOptions = {
137
141
 
138
142
  export declare function buildVoiceWebSocketUrl(options: RealtimeVoiceOptions): string;
139
143
 
140
- export declare function createAvatarTtsLipsyncController(onStatus: (status: AvatarTtsLipsyncStatus) => void, apiBase?: string): AvatarTtsLipsyncController;
144
+ export declare function createAvatarTtsLipsyncController(onStatus: (status: AvatarTtsLipsyncStatus) => void, apiBase?: string, options?: AvatarTtsLipsyncControllerOptions): AvatarTtsLipsyncController;
141
145
 
142
146
  export declare function createRealtimeVoiceLipsyncController(onStatus: (status: AvatarTtsLipsyncStatus) => void, initialOptions?: RealtimeVoiceOptions): RealtimeVoiceLipsyncController;
143
147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamoji/aitwin",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "Embeddable React AI twin face with TTS lipsync",
5
5
  "type": "module",
6
6
  "main": "./dist/aitwin.cjs",