@thi.ng/wasm-api 1.4.65 → 1.4.67

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-03-27T09:53:46Z
3
+ - **Last updated**: 2024-04-08T14:59:30Z
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 190 standalone projects, maintained as part
10
+ > This is one of 191 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
  >
@@ -380,7 +380,13 @@ please also consult the information in
380
380
  yarn add @thi.ng/wasm-api
381
381
  ```
382
382
 
383
- ES module import:
383
+ ESM import:
384
+
385
+ ```ts
386
+ import * as wa from "@thi.ng/wasm-api";
387
+ ```
388
+
389
+ Browser ESM import:
384
390
 
385
391
  ```html
386
392
  <script type="module" src="https://cdn.skypack.dev/@thi.ng/wasm-api"></script>
@@ -388,12 +394,6 @@ ES module import:
388
394
 
389
395
  [Skypack documentation](https://docs.skypack.dev/)
390
396
 
391
- For Node.js REPL:
392
-
393
- ```js
394
- const wasmApi = await import("@thi.ng/wasm-api");
395
- ```
396
-
397
397
  Package sizes (brotli'd, pre-treeshake): ESM: 2.69 KB
398
398
 
399
399
  ## Dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/wasm-api",
3
- "version": "1.4.65",
3
+ "version": "1.4.67",
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.9.31",
41
- "@thi.ng/arrays": "^2.9.0",
42
- "@thi.ng/checks": "^3.5.5",
43
- "@thi.ng/errors": "^2.5.2",
44
- "@thi.ng/hex": "^2.3.41",
45
- "@thi.ng/idgen": "^2.2.36",
46
- "@thi.ng/logger": "^3.0.7"
40
+ "@thi.ng/api": "^8.10.0",
41
+ "@thi.ng/arrays": "^2.9.2",
42
+ "@thi.ng/checks": "^3.6.0",
43
+ "@thi.ng/errors": "^2.5.3",
44
+ "@thi.ng/hex": "^2.3.42",
45
+ "@thi.ng/idgen": "^2.2.37",
46
+ "@thi.ng/logger": "^3.0.8"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@microsoft/api-extractor": "^7.43.0",
@@ -116,5 +116,5 @@
116
116
  "status": "alpha",
117
117
  "year": 2022
118
118
  },
119
- "gitHead": "db5f5a5d1b223a8e6b4999d67836678038fd3560\n"
119
+ "gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
120
120
  }