@thi.ng/wasm-api 1.2.0 → 1.2.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-12-01T18:02:30Z
3
+ - **Last updated**: 2022-12-02T14:13:34Z
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.
package/README.md CHANGED
@@ -313,12 +313,14 @@ const std = @import("std");
313
313
  pub fn build(b: *std.build.Builder) void {
314
314
  @import("node_modules/@thi.ng/wasm-api/zig/build.zig").wasmLib(b, .{
315
315
  // Declare extra WASM API packages to use
316
- // Each package can also declare its dependencies
316
+ // Each package can also declare dependencies to other such packages
317
+ // (wasm-api and wasm-api-bindgen are made available everywhere)
317
318
  .packages = &.{
318
319
  .{ .id = "wasm-api-dom", .path = "@thi.ng/wasm-api-dom/zig/lib.zig" },
319
320
  .{ .id = "wasm-api-schedule", .path = "@thi.ng/wasm-api-schedule/zig/lib.zig" },
320
321
  },
321
322
  // (optional) build mode override
323
+ // if commented out, we can pass CLI args to choose build mode (default: .Debug)
322
324
  .mode = .ReleaseSmall,
323
325
  }).install();
324
326
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/wasm-api",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Generic, modular, extensible API bridge and infrastructure for hybrid JS & WebAssembly projects",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -55,19 +55,24 @@
55
55
  "allocator",
56
56
  "api",
57
57
  "bindings",
58
+ "bigint",
58
59
  "browser",
59
60
  "c",
60
61
  "event",
62
+ "hex",
61
63
  "interop",
62
64
  "logger",
63
65
  "memory",
64
66
  "modular",
67
+ "polyglot",
68
+ "shared-memory",
65
69
  "string",
66
70
  "typedarray",
67
71
  "typescript",
68
72
  "utf8",
69
73
  "wasm",
70
74
  "webassembly",
75
+ "zig",
71
76
  "ziglang"
72
77
  ],
73
78
  "publishConfig": {
@@ -110,5 +115,5 @@
110
115
  "status": "alpha",
111
116
  "year": 2022
112
117
  },
113
- "gitHead": "199dcde33bf3d0b0bbd205d3b870dff43b735b22\n"
118
+ "gitHead": "7d1e314f207299ff3c1a782d287ad99120b40b85\n"
114
119
  }