talking-head-studio 0.3.3 → 0.3.4
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/html.js +4 -0
- package/package.json +1 -1
package/dist/html.js
CHANGED
|
@@ -335,6 +335,10 @@ async function init() {
|
|
|
335
335
|
log('[ACC] init() complete, calling applyAccessories with ' + pendingAccessoriesList.length + ' pending items');
|
|
336
336
|
applyAccessories(pendingAccessoriesList);
|
|
337
337
|
emitLoading('ready', 100);
|
|
338
|
+
// Register motionEngine so dispatchMotion('wave_right') calls head.playGesture
|
|
339
|
+
(window as any).motionEngine = {
|
|
340
|
+
play: async (name: string) => { if (head) await (head as any).playGesture(name); },
|
|
341
|
+
};
|
|
338
342
|
window.ReactNativeWebView?.postMessage(JSON.stringify({ type: 'ready' }));
|
|
339
343
|
}
|
|
340
344
|
} catch (err) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "talking-head-studio",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Cross-platform 3D avatar component for React Native & web — lip-sync, gestures, accessories, and LLM integration. Powered by TalkingHead + Three.js.",
|
|
5
5
|
"main": "dist/index.web.js",
|
|
6
6
|
"browser": "dist/index.web.js",
|