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.
- package/lib/client.js +3 -1
- 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
|
-
|
|
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 淡出(构建期注入;勿手改本段)──
|