@thi.ng/wasm-api-schedule 0.3.5 → 0.3.7
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 +7 -11
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
|
|
3
|
-
# 
|
|
3
|
+
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/wasm-api-schedule)
|
|
6
6
|

|
|
7
|
-
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
This project is part of the
|
|
10
10
|
[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
|
|
@@ -20,7 +20,7 @@ This project is part of the
|
|
|
20
20
|
|
|
21
21
|
## About
|
|
22
22
|
|
|
23
|
-
Delayed & scheduled function execution (via setTimeout() etc.) for hybrid WASM apps
|
|
23
|
+
Delayed & scheduled function execution (via setTimeout() etc.) for hybrid WASM apps
|
|
24
24
|
|
|
25
25
|
The package provides a WASM bridge API and abstraction for scheduling function
|
|
26
26
|
calls via:
|
|
@@ -95,11 +95,8 @@ ES module import:
|
|
|
95
95
|
|
|
96
96
|
For Node.js REPL:
|
|
97
97
|
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
node --experimental-repl-await
|
|
101
|
-
|
|
102
|
-
> const wasmApiSchedule = await import("@thi.ng/wasm-api-schedule");
|
|
98
|
+
```js
|
|
99
|
+
const wasmApiSchedule = await import("@thi.ng/wasm-api-schedule");
|
|
103
100
|
```
|
|
104
101
|
|
|
105
102
|
Package sizes (brotli'd, pre-treeshake): ESM: 400 bytes
|
|
@@ -108,7 +105,6 @@ Package sizes (brotli'd, pre-treeshake): ESM: 400 bytes
|
|
|
108
105
|
|
|
109
106
|
- [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/develop/packages/api)
|
|
110
107
|
- [@thi.ng/wasm-api](https://github.com/thi-ng/umbrella/tree/develop/packages/wasm-api)
|
|
111
|
-
- [@thi.ng/wasm-api-bindgen](https://github.com/thi-ng/umbrella/tree/develop/packages/wasm-api-bindgen)
|
|
112
108
|
|
|
113
109
|
## Usage examples
|
|
114
110
|
|
|
@@ -131,7 +127,7 @@ TODO
|
|
|
131
127
|
|
|
132
128
|
## Authors
|
|
133
129
|
|
|
134
|
-
Karsten Schmidt
|
|
130
|
+
- [Karsten Schmidt](https://thi.ng)
|
|
135
131
|
|
|
136
132
|
If this project contributes to an academic publication, please cite it as:
|
|
137
133
|
|
|
@@ -146,4 +142,4 @@ If this project contributes to an academic publication, please cite it as:
|
|
|
146
142
|
|
|
147
143
|
## License
|
|
148
144
|
|
|
149
|
-
© 2022 Karsten Schmidt // Apache
|
|
145
|
+
© 2022 Karsten Schmidt // Apache License 2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/wasm-api-schedule",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "Delayed & scheduled function execution (via setTimeout() etc.) for hybrid WASM apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/thi-ng/umbrella.git"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://github.com/thi-ng/umbrella/tree/
|
|
13
|
+
"homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/wasm-api-schedule#readme",
|
|
14
14
|
"funding": [
|
|
15
15
|
{
|
|
16
16
|
"type": "github",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"url": "https://patreon.com/thing_umbrella"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"author": "Karsten Schmidt
|
|
24
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "yarn clean && tsc --declaration",
|
|
28
28
|
"build:types": "npx wasm-api-bindgen -a analytics.json --lang ts -o src/generated/api.ts --lang zig -o zig/api.zig src/typedefs.json",
|
|
29
|
-
"clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
|
|
29
|
+
"clean": "rimraf '*.js' '*.d.ts' '*.map' doc generated",
|
|
30
30
|
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
|
|
31
31
|
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
32
32
|
"doc:readme": "yarn doc:stats && tools:readme",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
"test": "testament test"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@thi.ng/api": "^8.
|
|
39
|
-
"@thi.ng/wasm-api": "^1.2.
|
|
38
|
+
"@thi.ng/api": "^8.6.0",
|
|
39
|
+
"@thi.ng/wasm-api": "^1.2.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@microsoft/api-extractor": "^7.33.
|
|
43
|
-
"@thi.ng/testament": "^0.3.
|
|
44
|
-
"@thi.ng/wasm-api-bindgen": "^0.2.
|
|
42
|
+
"@microsoft/api-extractor": "^7.33.7",
|
|
43
|
+
"@thi.ng/testament": "^0.3.7",
|
|
44
|
+
"@thi.ng/wasm-api-bindgen": "^0.2.6",
|
|
45
45
|
"rimraf": "^3.0.2",
|
|
46
46
|
"tools": "^0.0.1",
|
|
47
|
-
"typedoc": "^0.23.
|
|
48
|
-
"typescript": "^4.
|
|
47
|
+
"typedoc": "^0.23.22",
|
|
48
|
+
"typescript": "^4.9.4"
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
51
51
|
"browser",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"status": "alpha",
|
|
96
96
|
"year": 2022
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
|
|
99
99
|
}
|