@thi.ng/wasm-api 1.4.19 → 1.4.21
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/CHANGELOG.md +1 -1
- package/README.md +5 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ This project is part of the
|
|
|
17
17
|
- [API module auto-initialization](#api-module-auto-initialization)
|
|
18
18
|
- [Object indices & handles](#object-indices--handles)
|
|
19
19
|
- [Using the Zig build system](#using-the-zig-build-system)
|
|
20
|
-
- [Zig v0.11.0
|
|
20
|
+
- [Zig v0.11.0 or newer](#zig-v0110-or-newer)
|
|
21
21
|
- [Example projects](#example-projects)
|
|
22
22
|
- [Naming & structural conventions](#naming--structural-conventions)
|
|
23
23
|
- [Status](#status)
|
|
@@ -312,10 +312,11 @@ This package provides utilities to simplify using hybrid TS/Zig WASM API modules
|
|
|
312
312
|
which are distributed as NPM packages. Using these utils, a build file for Zig's
|
|
313
313
|
built-in build system is as simple as:
|
|
314
314
|
|
|
315
|
-
### Zig v0.11.0
|
|
315
|
+
### Zig v0.11.0 or newer
|
|
316
316
|
|
|
317
|
-
**IMPORTANT:** Due to recent syntax
|
|
318
|
-
v0.
|
|
317
|
+
**IMPORTANT:** Due to recent [syntax & build system changes in Zig
|
|
318
|
+
v0.11.0](https://ziglang.org/download/0.11.0/release-notes.html), support for
|
|
319
|
+
older Zig versions had to be removed...
|
|
319
320
|
|
|
320
321
|
```zig
|
|
321
322
|
const std = @import("std");
|
|
@@ -350,7 +351,6 @@ via this script. **Please find more details/options in the commented source
|
|
|
350
351
|
code:**
|
|
351
352
|
|
|
352
353
|
- [`/zig/build.zig`](https://github.com/thi-ng/umbrella/blob/develop/packages/wasm-api/zig/build.zig)
|
|
353
|
-
- [`/zig/build-v0.10.zig`](https://github.com/thi-ng/umbrella/blob/develop/packages/wasm-api/zig/build-v0.10.zig)
|
|
354
354
|
|
|
355
355
|
## Naming & structural conventions
|
|
356
356
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/wasm-api",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.21",
|
|
4
4
|
"description": "Generic, modular, extensible API bridge and infrastructure for hybrid JS & WebAssembly projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@thi.ng/api": "^8.9.5",
|
|
39
|
-
"@thi.ng/arrays": "^2.5.
|
|
39
|
+
"@thi.ng/arrays": "^2.5.23",
|
|
40
40
|
"@thi.ng/checks": "^3.4.5",
|
|
41
41
|
"@thi.ng/errors": "^2.3.5",
|
|
42
42
|
"@thi.ng/hex": "^2.3.17",
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"status": "alpha",
|
|
116
116
|
"year": 2022
|
|
117
117
|
},
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "b2ef5a1b8932d067af4ec2fc7da03d59d6868dc7\n"
|
|
119
119
|
}
|