@streamoji/aitwin 0.4.2 → 0.4.3

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
@@ -87,10 +87,16 @@ export declare type AiTwinProps = {
87
87
  */
88
88
  lipsyncBufferedPlayback?: boolean;
89
89
  /**
90
- * Milliseconds of lipsync timeline to prefetch before audio starts (buffered mode).
90
+ * Milliseconds of lipsync timeline to prefetch before audio starts (Canvas2D
91
+ * buffered mode only). Pixi waits for the first confirmed viseme draw instead.
91
92
  * Default: 1500. Set to 0 to start audio immediately.
92
93
  */
93
94
  lipsyncPlaybackWarmupMs?: number;
95
+ /**
96
+ * Pixi only: cap WebGL MAX_TEXTURE_SIZE (e.g. 4096) to preview mobile-GPU
97
+ * atlas handling. Omit to use the device limit.
98
+ */
99
+ pixiMaxTextureSize?: number;
94
100
  };
95
101
 
96
102
  export declare type AiTwinRecord = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamoji/aitwin",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Embeddable React AI twin face with TTS lipsync",
5
5
  "type": "module",
6
6
  "main": "./dist/aitwin.cjs",