@ham2k/extension-tools 1.17.0 → 1.18.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 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,11 @@ 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
- export const H2KEXT_API_VERSION = 17
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.
66
+ export const H2KEXT_API_VERSION = 18
64
67
 
65
68
  /// The first API with `host.webSocket`. A manifest declaring `webSockets`
66
69
  /// under an older one is refused: an older app would install it and fail only
@@ -233,6 +236,7 @@ SHARED_MODULES_BY_API[14] = SHARED_MODULES_BY_API[13]
233
236
  SHARED_MODULES_BY_API[15] = SHARED_MODULES_BY_API[14]
234
237
  SHARED_MODULES_BY_API[16] = SHARED_MODULES_BY_API[15]
235
238
  SHARED_MODULES_BY_API[17] = SHARED_MODULES_BY_API[16]
239
+ SHARED_MODULES_BY_API[18] = SHARED_MODULES_BY_API[17]
236
240
 
237
241
  /// What a scaffolded extension declares on day one: the eight modules the SDK
238
242
  /// barrel itself reaches, so a project that has written no code yet still
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ham2k/extension-tools",
3
- "version": "1.17.0",
3
+ "version": "1.18.0",
4
4
  "description": "Build and package extensions for the Ham2K Logger",
5
5
  "keywords": [
6
6
  "ham2k",