@ponydev/dsh-phone 0.2.1 → 0.2.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.2 — 2026-10-24
4
+
5
+ ### 修复
6
+ - 客户端 bundle 的 `__ModuleLoader__` id 从 `dsh-phone` 改为 `@ponydev/dsh-phone`,修复迁移后 client-modules 报 “loaded without registering” 导致插件加载失败
7
+
3
8
  ## 0.2.1 — 2026-10-24
4
9
 
5
10
  ### 变更
package/lib/client.js CHANGED
@@ -4,7 +4,7 @@
4
4
  // - 画面:轮询 /phone/shot(PNG),点击 = tap,拖拽 = swipe
5
5
  // - 没有分辨率/网速元数据栏,没有文字输入框
6
6
  window.__ModuleLoader__.load({
7
- id: 'dsh-phone',
7
+ id: '@ponydev/dsh-phone',
8
8
  factory(require) {
9
9
  const React = require('react')
10
10
  const h = React.createElement
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ponydev/dsh-phone",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "DSH Web 插件:右侧栏预览并点按控制已连接的 Android 设备(adb)",
5
5
  "keywords": [
6
6
  "dsh",