@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/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) behind the face-loading overlay
214
- * while sil/atlas/idle assets load.
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamoji/aitwin",
3
- "version": "0.5.8",
3
+ "version": "0.5.9",
4
4
  "description": "Embeddable React AI twin face with TTS lipsync",
5
5
  "type": "module",
6
6
  "main": "./dist/aitwin.cjs",