@thi.ng/wasm-api-schedule 0.3.18 → 0.3.20
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 +7 -1
- package/generated/api.d.ts +1 -1
- package/generated/api.js +2 -2
- package/package.json +11 -11
- package/schedule.d.ts +1 -1
- package/schedule.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2023-03-
|
|
3
|
+
- **Last updated**: 2023-03-27T19:05:48Z
|
|
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.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
### [0.3.20](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api-schedule@0.3.20) (2023-03-27)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update generated imports ([30b5aa4](https://github.com/thi-ng/umbrella/commit/30b5aa4))
|
|
17
|
+
|
|
12
18
|
### [0.3.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/wasm-api-schedule@0.3.2) (2022-11-30)
|
|
13
19
|
|
|
14
20
|
#### ♻️ Refactoring
|
package/generated/api.d.ts
CHANGED
package/generated/api.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by @thi.ng/wasm-api-bindgen at
|
|
2
|
+
* Generated by @thi.ng/wasm-api-bindgen at 2023-03-26T00:14:48.759Z
|
|
3
3
|
* DO NOT EDIT!
|
|
4
4
|
*/
|
|
5
5
|
// @ts-ignore possibly includes unused imports
|
|
6
|
-
import "@thi.ng/wasm-api";
|
|
6
|
+
import { Pointer, WasmStringPtr } from "@thi.ng/wasm-api";
|
|
7
7
|
export var ScheduleType;
|
|
8
8
|
(function (ScheduleType) {
|
|
9
9
|
/**
|
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.20",
|
|
4
4
|
"description": "Delayed & scheduled function execution (via setTimeout() etc.) for hybrid WASM apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
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 generated",
|
|
29
|
+
"clean": "rimraf --glob '*.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.7.
|
|
39
|
-
"@thi.ng/wasm-api": "^1.4.
|
|
38
|
+
"@thi.ng/api": "^8.7.5",
|
|
39
|
+
"@thi.ng/wasm-api": "^1.4.5"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@microsoft/api-extractor": "^7.34.
|
|
43
|
-
"@thi.ng/testament": "^0.3.
|
|
44
|
-
"@thi.ng/wasm-api-bindgen": "^0.
|
|
45
|
-
"rimraf": "^4.1
|
|
42
|
+
"@microsoft/api-extractor": "^7.34.4",
|
|
43
|
+
"@thi.ng/testament": "^0.3.14",
|
|
44
|
+
"@thi.ng/wasm-api-bindgen": "^0.4.0",
|
|
45
|
+
"rimraf": "^4.4.1",
|
|
46
46
|
"tools": "^0.0.1",
|
|
47
|
-
"typedoc": "^0.23.
|
|
48
|
-
"typescript": "^
|
|
47
|
+
"typedoc": "^0.23.28",
|
|
48
|
+
"typescript": "^5.0.2"
|
|
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": "83b15b34326d480cbca0472b20390d4d3bbb792a\n"
|
|
99
99
|
}
|
package/schedule.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IWasmAPI, WasmBridge } from "@thi.ng/wasm-api";
|
|
2
|
-
import { ScheduleType, WasmScheduleExports, WasmScheduleImports } from "./api.js";
|
|
2
|
+
import { ScheduleType, type WasmScheduleExports, type WasmScheduleImports } from "./api.js";
|
|
3
3
|
/** @internal */
|
|
4
4
|
interface ScheduledCall {
|
|
5
5
|
id: number;
|
package/schedule.js
CHANGED
|
@@ -11,7 +11,7 @@ const CANCEL = {
|
|
|
11
11
|
[ScheduleType.INTERVAL]: clearInterval,
|
|
12
12
|
[ScheduleType.IMMEDIATE]: typeof clearImmediate !== "undefined" ? clearImmediate : clearTimeout,
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
class WasmSchedule {
|
|
15
15
|
constructor() {
|
|
16
16
|
this.id = WasmSchedule.id;
|
|
17
17
|
this.listeners = {};
|
|
@@ -46,3 +46,4 @@ export class WasmSchedule {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
WasmSchedule.id = "schedule";
|
|
49
|
+
export { WasmSchedule };
|