@thi.ng/wasm-api 1.6.3 → 1.6.5

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-06T12:02:19Z
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
@@ -1,13 +1,13 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
  <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- # ![@thi.ng/wasm-api](https://media.thi.ng/umbrella/banners-20230807/thing-wasm-api.svg?be328da7)
3
+ # ![@thi.ng/wasm-api](https://media.thi.ng/umbrella/banners-20230807/thing-wasm-api.svg?a4addfc6)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/wasm-api.svg)](https://www.npmjs.com/package/@thi.ng/wasm-api)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/wasm-api.svg)
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 188 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,9 +415,11 @@ 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
- Several projects in this repo's
422
+ Four projects in this repo's
421
423
  [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
422
424
  directory are using this package:
423
425
 
@@ -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.3",
3
+ "version": "1.6.5",
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.5",
41
- "@thi.ng/arrays": "^2.9.10",
42
- "@thi.ng/checks": "^3.6.7",
43
- "@thi.ng/errors": "^2.5.11",
44
- "@thi.ng/hex": "^2.3.49",
45
- "@thi.ng/idgen": "^2.2.45",
46
- "@thi.ng/logger": "^3.0.15"
40
+ "@thi.ng/api": "^8.11.7",
41
+ "@thi.ng/arrays": "^2.9.12",
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": "ba4f2cd15eeb0cae30efe222524da4fed2a57267\n"
118
+ "gitHead": "324d6b7dbf31558329e9fb6452e29b2f7db9c61a\n"
119
119
  }