dshmarket 1.73.2 → 1.73.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/README.md +3 -1
- package/README.zh.md +2 -1
- package/UPDATE-API-V1.md +5 -0
- package/client/client.js +324 -49
- package/lib/hot.js +16 -0
- package/lib/install.js +56 -3
- package/lib/pending-updates.js +37 -14
- package/lib/regions.js +28 -0
- package/lib/routes.js +105 -0
- package/lib/types/hot.d.ts +22 -3
- package/lib/types/install.d.ts +28 -3
- package/lib/updates.js +10 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,7 +43,9 @@ desktop app needed). The market is also still a section of **Settings → Plugin
|
|
|
43
43
|
Market**: on dsh 0.2.0 and older that is the only way in, and from 0.2.1 the
|
|
44
44
|
Settings dialog lives in the account menu. If you would rather reach it in one
|
|
45
45
|
click from anywhere, the market can also put its own **Plugin Market** row in
|
|
46
|
-
the sidebar; turn it on from the market's card under **Plugins**.
|
|
46
|
+
the sidebar; turn it on from the market's card under **Plugins**. All three
|
|
47
|
+
entries can be switched individually under **Advanced** in that card, and the
|
|
48
|
+
market refuses to close the last one. Going the
|
|
47
49
|
other way, an installed plugin's **···** menu offers **View in Plugins** on
|
|
48
50
|
dsh 0.2.1+: it opens the host's own page for that plugin, which is the only
|
|
49
51
|
place its individual rows can be switched one by one.
|
package/README.zh.md
CHANGED
|
@@ -39,7 +39,8 @@ profile,因此不会出现在桌面端。请通过应用内的 **设置 →
|
|
|
39
39
|
(dsh 0.2.1 及以上;普通的 `dsh web` 就有,不需要桌面端)。市场仍然也是
|
|
40
40
|
**设置 → 插件市场** 里的一个分区:dsh 0.2.0 及以前只有这个入口,0.2.1 起设置
|
|
41
41
|
窗口挪进了账号菜单。想在任何地方一键进入的话,市场也可以在侧边栏放一行
|
|
42
|
-
**插件市场**,在 **插件**
|
|
42
|
+
**插件市场**,在 **插件** 页市场的卡片上打开即可。这三个入口都能在卡片的
|
|
43
|
+
**高级** 分组里单独开关,但最后一个入口不会被关掉。反过来,dsh 0.2.1 起,已装
|
|
43
44
|
插件的 **···** 菜单里有 **在插件页查看**:它会打开宿主里这个插件自己的页面,
|
|
44
45
|
那里是唯一能逐个开关它的各个组件(行)的地方。
|
|
45
46
|
|
package/UPDATE-API-V1.md
CHANGED
|
@@ -184,6 +184,11 @@ anywhere in that tree.
|
|
|
184
184
|
| `setSettingsVisible(visible)` | register or retract the market's own `settings.section` entry |
|
|
185
185
|
| `settingsVisible()` | whether that entry is registered right now |
|
|
186
186
|
|
|
187
|
+
The user's own entry switches (#1015) are ANDed with this control: a host's
|
|
188
|
+
`setSettingsVisible(true)` cannot override an entry the user turned off, and
|
|
189
|
+
the user cannot turn on an entry the host hides. `settingsVisible()` reports
|
|
190
|
+
the resulting registration, not the host's last request.
|
|
191
|
+
|
|
187
192
|
`ctx.provide(name, value)` and `ctx.reflect.provide(name, value)` are the
|
|
188
193
|
same call — cordis's `Service.provide` delegates to the reflect layer — so
|
|
189
194
|
either idiom reaches this service.
|