@thi.ng/wasm-api 1.6.4 → 1.6.6

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**: 2024-07-19T14:56:21Z
3
+ - **Last updated**: 2024-07-22T13:15:57Z
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
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 189 standalone projects, maintained as part
10
+ > This is one of 198 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
@@ -415,6 +415,8 @@ Package sizes (brotli'd, pre-treeshake): ESM: 2.69 KB
415
415
  - [@thi.ng/idgen](https://github.com/thi-ng/umbrella/tree/develop/packages/idgen)
416
416
  - [@thi.ng/logger](https://github.com/thi-ng/umbrella/tree/develop/packages/logger)
417
417
 
418
+ Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
419
+
418
420
  ## Usage examples
419
421
 
420
422
  Four projects in this repo's
@@ -436,7 +438,7 @@ directory are using this package:
436
438
 
437
439
  ```ts
438
440
  import { WasmBridge, WasmExports } from "@thi.ng/wasm-api";
439
- import { readFileSync } from "fs";
441
+ import { readFileSync } "node:fs";
440
442
 
441
443
  // WASM exports from our dummy module (below)
442
444
  interface App extends WasmExports {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/wasm-api",
3
- "version": "1.6.4",
3
+ "version": "1.6.6",
4
4
  "description": "Generic, modular, extensible API bridge and infrastructure for hybrid JS & WebAssembly projects",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -37,13 +37,13 @@
37
37
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
38
38
  },
39
39
  "dependencies": {
40
- "@thi.ng/api": "^8.11.6",
41
- "@thi.ng/arrays": "^2.9.11",
42
- "@thi.ng/checks": "^3.6.8",
43
- "@thi.ng/errors": "^2.5.12",
44
- "@thi.ng/hex": "^2.3.50",
45
- "@thi.ng/idgen": "^2.2.46",
46
- "@thi.ng/logger": "^3.0.16"
40
+ "@thi.ng/api": "^8.11.7",
41
+ "@thi.ng/arrays": "^2.9.13",
42
+ "@thi.ng/checks": "^3.6.9",
43
+ "@thi.ng/errors": "^2.5.13",
44
+ "@thi.ng/hex": "^2.3.51",
45
+ "@thi.ng/idgen": "^2.2.47",
46
+ "@thi.ng/logger": "^3.0.17"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@microsoft/api-extractor": "^7.47.0",
@@ -115,5 +115,5 @@
115
115
  "status": "alpha",
116
116
  "year": 2022
117
117
  },
118
- "gitHead": "c7aaa453b01a45e5235517db9d2a283b97abac96\n"
118
+ "gitHead": "bd22b0826134b79064169371665b4d6caa9b6066\n"
119
119
  }