@streamoji/aitwin 0.5.7 → 0.5.9
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/aitwin.cjs +6 -6
- package/dist/aitwin.js +2703 -2493
- package/dist/index.d.ts +10 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -98,6 +98,11 @@ export declare type AiTwinProps = {
|
|
|
98
98
|
onError?: (message: string) => void;
|
|
99
99
|
/** Called when twin metadata, auth, and face assets are ready. */
|
|
100
100
|
onReady?: () => void;
|
|
101
|
+
/**
|
|
102
|
+
* Optional poster shown (blurred) while sil/atlas/idle assets load.
|
|
103
|
+
* When omitted, derived from `faceId`/`avatarId` or the face bundle URL.
|
|
104
|
+
*/
|
|
105
|
+
loadingThumbnailUrl?: string;
|
|
101
106
|
/** When false, errors only go to `onError` (no overlay on the canvas). Default: true. */
|
|
102
107
|
showErrorOverlay?: boolean;
|
|
103
108
|
/** User speech transcript from voice STT (partial and final). */
|
|
@@ -209,6 +214,11 @@ export declare type AiTwinWidgetProps = {
|
|
|
209
214
|
* When omitted, uses getAiTwin `knowledgeContextId` if available.
|
|
210
215
|
*/
|
|
211
216
|
personaId?: string;
|
|
217
|
+
/**
|
|
218
|
+
* Optional poster shown (blurred) on `<AiTwin>` while sil/atlas/idle assets load.
|
|
219
|
+
* When omitted, AiTwin derives it from `faceId`/`avatarId`.
|
|
220
|
+
*/
|
|
221
|
+
loadingThumbnailUrl?: string;
|
|
212
222
|
onReady?: () => void;
|
|
213
223
|
onStatusChange?: (status: AvatarTtsLipsyncStatus) => void;
|
|
214
224
|
onError?: (message: string) => void;
|