dsh-folia 4.26.0-pre.23 → 4.26.0-pre.24

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.
Files changed (2) hide show
  1. package/lib/client.js +3 -1
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -20459,7 +20459,9 @@ window.__ModuleLoader__.load({
20459
20459
 
20460
20460
  function stop() { active = false; onState({ state: 'idle' }); }
20461
20461
 
20462
- return { start, stop, isActive: () => active };
20462
+ // ⚠️ 必须把 postChat 暴露出去:桌宠的「打字说」走 petVoiceIn.postChat(text),
20463
+ // 上一版这里只返回 start/stop ⇒ typing 发送时 TypeError(输入框消失、气泡无反应)。
20464
+ return { start, stop, isActive: () => active, postChat };
20463
20465
  }
20464
20466
 
20465
20467
  // ── 内联模块:src/pet-bubble.js —— 头顶气泡:锚定桌宠头顶、跟随位置/缩放、逐字显示、最多 6 行、朗读结束 +3s 淡出(构建期注入;勿手改本段)──
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-folia",
3
- "version": "4.26.0-pre.23",
3
+ "version": "4.26.0-pre.24",
4
4
  "description": "DSH 壁纸引擎:本机 WE 壁纸实时渲染,视频/网页/开机动画/桌宠皮肤,一键拉取在线素材。",
5
5
  "type": "module",
6
6
  "engines": {