@ham2k/extension-tools 0.15.0 → 1.12.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.
Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/h2kext.mjs +4 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -6,6 +6,9 @@ Build and package extensions for the [Ham2K Logger](https://ham2k.com).
6
6
  npm install --save-dev @ham2k/extension-tools esbuild
7
7
  ```
8
8
 
9
+ The minor version is the newest extension API the packer accepts — 1.12 packs
10
+ bundles up to `"api": 12` — and matches `@ham2k/extension-sdk`'s.
11
+
9
12
  ## Starting one
10
13
 
11
14
  ```sh
package/h2kext.mjs CHANGED
@@ -26,6 +26,10 @@ import yazl from "yazl"
26
26
  /// was built against and the host refuses one it does not speak, so an old app
27
27
  /// meeting a newer bundle says so instead of failing at a call site.
28
28
  ///
29
+ /// It is also the minor version of this package and of `@ham2k/extension-sdk`,
30
+ /// whose `API_VERSION` repeats it: raising it is a minor release of both
31
+ /// (sdk/src/apiVersion.test.ts holds the three together).
32
+ ///
29
33
  /// Raised when a bundle using something new could not work at all on an app
30
34
  /// without it — not for every addition. 2 adds `host.webSocket` and the
31
35
  /// manifest's `webSockets` grant; 3 adds timers and `onShow`/`onHide`; 4 lets
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ham2k/extension-tools",
3
- "version": "0.15.0",
3
+ "version": "1.12.0",
4
4
  "description": "Build and package extensions for the Ham2K Logger",
5
5
  "keywords": [
6
6
  "ham2k",