@ham2k/extension-tools 0.7.0 → 0.8.0
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/h2kext.mjs +4 -2
- package/package.json +1 -1
package/h2kext.mjs
CHANGED
|
@@ -30,8 +30,9 @@ import yazl from "yazl"
|
|
|
30
30
|
/// without it — not for every addition. 2 adds `host.webSocket` and the
|
|
31
31
|
/// manifest's `webSockets` grant; 3 adds timers and `onShow`/`onHide`; 4 lets
|
|
32
32
|
/// `host.fetch` reach an http-only host the app fronts with its https proxy
|
|
33
|
-
/// (the QSO Party Hub)
|
|
34
|
-
|
|
33
|
+
/// (the QSO Party Hub); 5 adds panel scenes' `scene` kind and what came with
|
|
34
|
+
/// it — native controls, `strings`, `layout`, `after` and control `opacity`.
|
|
35
|
+
export const H2KEXT_API_VERSION = 5
|
|
35
36
|
|
|
36
37
|
/// The first API with `host.webSocket`. A manifest declaring `webSockets`
|
|
37
38
|
/// under an older one is refused: an older app would install it and fail only
|
|
@@ -136,6 +137,7 @@ export const SHARED_MODULES_BY_API = {
|
|
|
136
137
|
SHARED_MODULES_BY_API[2] = SHARED_MODULES_BY_API[1]
|
|
137
138
|
SHARED_MODULES_BY_API[3] = SHARED_MODULES_BY_API[2]
|
|
138
139
|
SHARED_MODULES_BY_API[4] = SHARED_MODULES_BY_API[3]
|
|
140
|
+
SHARED_MODULES_BY_API[5] = SHARED_MODULES_BY_API[4]
|
|
139
141
|
|
|
140
142
|
/// What a scaffolded extension declares on day one: the eight modules the SDK
|
|
141
143
|
/// barrel itself reaches, so a project that has written no code yet still
|