dsh-plugin-shop 0.4.0 → 0.4.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/README.md +3 -3
- package/lib/client.js +348 -60
- package/lib/index.js +144 -36
- package/lib/typert.host.js +76 -28
- package/lib/typert.remote-client.d.ts +5 -3
- package/lib/typert.remote-client.js +57 -20
- package/lib/types/client/ShopTab.d.ts +5 -2
- package/lib/types/client/index.d.ts +1 -1
- package/lib/types/client/locales.d.ts +16 -0
- package/lib/types/client/present.d.ts +22 -0
- package/lib/types/client/useInstall.d.ts +9 -0
- package/lib/types/client/useUninstall.d.ts +21 -0
- package/lib/types/host/catalog.d.ts +6 -1
- package/lib/types/host/executor.d.ts +18 -6
- package/lib/types/host/index.d.ts +38 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -114,7 +114,7 @@ bundle is not.
|
|
|
114
114
|
| **Browse & search** | 1800+ packages harvested from npm by the `dsh-plugin` keyword, shown with the author's own summary when they declared one |
|
|
115
115
|
| **Install** | One confirmation. An unreviewed plugin requires an explicit acknowledgement first — an installed plugin holds the same privileges as a built-in one |
|
|
116
116
|
| **Enable / disable** | Applies to an installed plugin without a restart |
|
|
117
|
-
| **
|
|
117
|
+
| **Installed state** | An installed plugin shows an Installed label on its card — or an Update button when the catalog has a newer version — plus an Uninstall button; the Installed filter in the category bar shows only installed plugins |
|
|
118
118
|
|
|
119
119
|
## 🧩 How it is put together
|
|
120
120
|
|
|
@@ -124,9 +124,9 @@ boundary:
|
|
|
124
124
|
| Half | Entry | Can reach | Cannot reach |
|
|
125
125
|
|---|---|---|---|
|
|
126
126
|
| **Host** | `dsh-plugin-shop` | The network (catalog fetch and sha256 verify), the filesystem (cache), `dsh plugin add` under a per-profile mutex | — |
|
|
127
|
-
| **Client** | `dsh-plugin-shop/client` | Exactly
|
|
127
|
+
| **Client** | `dsh-plugin-shop/client` | Exactly six `shop/*` Remote methods | The network, the filesystem |
|
|
128
128
|
|
|
129
|
-
Compromising the browser half buys an attacker those
|
|
129
|
+
Compromising the browser half buys an attacker those six calls and nothing more.
|
|
130
130
|
|
|
131
131
|
## ⚙️ Configuration
|
|
132
132
|
|