@thi.ng/wasm-api-bindgen 1.2.44 → 1.2.45

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/CHANGELOG.md +7 -1
  2. package/cli.js +5 -3
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-09-25T11:10:32Z
3
+ - **Last updated**: 2025-09-26T13:50:05Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -11,6 +11,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
11
11
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
12
  and/or version bumps of transitive dependencies.
13
13
 
14
+ ### [1.2.45](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api-bindgen@1.2.45) (2025-09-26)
15
+
16
+ #### ♻️ Refactoring
17
+
18
+ - update CLI arg specs ([7c43dac](https://github.com/thi-ng/umbrella/commit/7c43dac))
19
+
14
20
  ### [1.2.42](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api-bindgen@1.2.42) (2025-09-25)
15
21
 
16
22
  #### ♻️ Refactoring
package/cli.js CHANGED
@@ -177,17 +177,19 @@ cliApp({
177
177
  default: false,
178
178
  desc: "enable debug output & functions"
179
179
  }),
180
- lang: oneOfMulti(Object.keys(GENERATORS), {
180
+ lang: oneOfMulti({
181
181
  alias: "l",
182
182
  desc: "target language",
183
+ opts: Object.keys(GENERATORS),
183
184
  default: ["ts", "zig"],
184
185
  delim: ","
185
186
  }),
186
187
  out: strings({ alias: "o", hint: "FILE", desc: "output file path" }),
187
- string: oneOf(["slice", "ptr"], {
188
+ string: oneOf({
188
189
  alias: "s",
189
190
  hint: "TYPE",
190
- desc: "Force string type implementation"
191
+ desc: "Force string type implementation",
192
+ opts: ["slice", "ptr"]
191
193
  })
192
194
  },
193
195
  commands: { CMD },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/wasm-api-bindgen",
3
- "version": "1.2.44",
3
+ "version": "1.2.45",
4
4
  "description": "Polyglot bindings code generators (TS/JS, Zig, C11) for hybrid WebAssembly projects",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@thi.ng/api": "^8.12.2",
45
- "@thi.ng/args": "^3.0.0",
45
+ "@thi.ng/args": "^3.1.0",
46
46
  "@thi.ng/arrays": "^2.13.11",
47
47
  "@thi.ng/binary": "^3.4.60",
48
48
  "@thi.ng/checks": "^3.7.18",
@@ -128,5 +128,5 @@
128
128
  "tag": "wasm",
129
129
  "year": 2022
130
130
  },
131
- "gitHead": "f3fa7a4798132f2faf9eb1ef12d99b9ca2148ec3\n"
131
+ "gitHead": "d86306c5375d19fa95bc900e433d097226516b1e\n"
132
132
  }