@thi.ng/wasm-api 1.4.66 → 1.4.68
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 +8 -8
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 192 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
|
-
|
|
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.
|
|
3
|
+
"version": "1.4.68",
|
|
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.
|
|
41
|
-
"@thi.ng/arrays": "^2.9.
|
|
42
|
-
"@thi.ng/checks": "^3.
|
|
43
|
-
"@thi.ng/errors": "^2.5.
|
|
44
|
-
"@thi.ng/hex": "^2.3.
|
|
45
|
-
"@thi.ng/idgen": "^2.2.
|
|
46
|
-
"@thi.ng/logger": "^3.0.
|
|
40
|
+
"@thi.ng/api": "^8.10.1",
|
|
41
|
+
"@thi.ng/arrays": "^2.9.3",
|
|
42
|
+
"@thi.ng/checks": "^3.6.1",
|
|
43
|
+
"@thi.ng/errors": "^2.5.4",
|
|
44
|
+
"@thi.ng/hex": "^2.3.43",
|
|
45
|
+
"@thi.ng/idgen": "^2.2.38",
|
|
46
|
+
"@thi.ng/logger": "^3.0.9"
|
|
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": "
|
|
119
|
+
"gitHead": "18a0c063a7b33d790e5bc2486c106f45f663ac28\n"
|
|
120
120
|
}
|