@streamoji/aitwin 0.5.8 → 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 +2231 -2152
- package/dist/index.d.ts +7 -2
- 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). */
|
|
@@ -210,8 +215,8 @@ export declare type AiTwinWidgetProps = {
|
|
|
210
215
|
*/
|
|
211
216
|
personaId?: string;
|
|
212
217
|
/**
|
|
213
|
-
* Optional poster shown (blurred)
|
|
214
|
-
*
|
|
218
|
+
* Optional poster shown (blurred) on `<AiTwin>` while sil/atlas/idle assets load.
|
|
219
|
+
* When omitted, AiTwin derives it from `faceId`/`avatarId`.
|
|
215
220
|
*/
|
|
216
221
|
loadingThumbnailUrl?: string;
|
|
217
222
|
onReady?: () => void;
|