@ham2k/extension-tools 1.17.0 → 1.19.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-dev.mjs +5 -0
- package/h2kext.mjs +10 -2
- package/package.json +1 -1
package/h2kext-dev.mjs
CHANGED
|
@@ -208,6 +208,11 @@ export async function createDevServer({
|
|
|
208
208
|
let watching = false
|
|
209
209
|
|
|
210
210
|
function fail(message) {
|
|
211
|
+
// The same failure again is not news, as an unchanged good build is not:
|
|
212
|
+
// a rebuild with nothing new to say — a late file event, a save that
|
|
213
|
+
// changed nothing — would otherwise repeat the error to the app, ahead
|
|
214
|
+
// of the reload the next real change brings.
|
|
215
|
+
if (buildError === message) return
|
|
211
216
|
buildError = message
|
|
212
217
|
if (watching) {
|
|
213
218
|
warn(`${stamp()} ✗ ${key}\n${message}`)
|
package/h2kext.mjs
CHANGED
|
@@ -59,8 +59,14 @@ import yazl from "yazl"
|
|
|
59
59
|
/// contact still needs before Enter logs it; 16 names the kernel `__halo`,
|
|
60
60
|
/// and keeps `__polo` only for a bundle that declares a lower level; 17
|
|
61
61
|
/// makes a spectrum's gestures the host's — tuning, zoom, pan and an axis —
|
|
62
|
-
/// unless its scene's `gestures` and `scale` say otherwise
|
|
63
|
-
|
|
62
|
+
/// unless its scene's `gestures` and `scale` say otherwise; 18 adds the
|
|
63
|
+
/// logging row's segmented fields (`group`), `autoadvanceWhen`/`Before`, a
|
|
64
|
+
/// field's `suffix` and `ourExchange`, display-only (`editable: false`) and
|
|
65
|
+
/// optional (`chars.min: 0`) fields; 19 adds a
|
|
66
|
+
/// radio's logging `set` and operating `opStyle` to `readRadio`, which takes
|
|
67
|
+
/// `A` or `B` for a set's radio, and the operation's `uuid` to
|
|
68
|
+
/// `processQsoBeforeSave`, and `getSpots`' `filter: 'sources'`.
|
|
69
|
+
export const H2KEXT_API_VERSION = 19
|
|
64
70
|
|
|
65
71
|
/// The first API with `host.webSocket`. A manifest declaring `webSockets`
|
|
66
72
|
/// under an older one is refused: an older app would install it and fail only
|
|
@@ -233,6 +239,8 @@ SHARED_MODULES_BY_API[14] = SHARED_MODULES_BY_API[13]
|
|
|
233
239
|
SHARED_MODULES_BY_API[15] = SHARED_MODULES_BY_API[14]
|
|
234
240
|
SHARED_MODULES_BY_API[16] = SHARED_MODULES_BY_API[15]
|
|
235
241
|
SHARED_MODULES_BY_API[17] = SHARED_MODULES_BY_API[16]
|
|
242
|
+
SHARED_MODULES_BY_API[18] = SHARED_MODULES_BY_API[17]
|
|
243
|
+
SHARED_MODULES_BY_API[19] = SHARED_MODULES_BY_API[18]
|
|
236
244
|
|
|
237
245
|
/// What a scaffolded extension declares on day one: the eight modules the SDK
|
|
238
246
|
/// barrel itself reaches, so a project that has written no code yet still
|