@thi.ng/wasm-api-schedule 0.3.7 → 0.3.8
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/package.json +5 -5
- package/schedule.d.ts +1 -1
- package/schedule.js +1 -3
package/CHANGELOG.md
CHANGED
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.8",
|
|
4
4
|
"description": "Delayed & scheduled function execution (via setTimeout() etc.) for hybrid WASM apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"test": "testament test"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@thi.ng/api": "^8.6.
|
|
39
|
-
"@thi.ng/wasm-api": "^1.2.
|
|
38
|
+
"@thi.ng/api": "^8.6.1",
|
|
39
|
+
"@thi.ng/wasm-api": "^1.2.4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@microsoft/api-extractor": "^7.33.7",
|
|
43
43
|
"@thi.ng/testament": "^0.3.7",
|
|
44
|
-
"@thi.ng/wasm-api-bindgen": "^0.2.
|
|
44
|
+
"@thi.ng/wasm-api-bindgen": "^0.2.7",
|
|
45
45
|
"rimraf": "^3.0.2",
|
|
46
46
|
"tools": "^0.0.1",
|
|
47
47
|
"typedoc": "^0.23.22",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"status": "alpha",
|
|
96
96
|
"year": 2022
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "7b2af448da8a63fb21704a79cc4cdf1f3d7d7a64\n"
|
|
99
99
|
}
|
package/schedule.d.ts
CHANGED
|
@@ -8,9 +8,9 @@ interface ScheduledCall {
|
|
|
8
8
|
}
|
|
9
9
|
export declare class WasmSchedule implements IWasmAPI<WasmScheduleExports> {
|
|
10
10
|
static readonly id = "schedule";
|
|
11
|
+
readonly id = "schedule";
|
|
11
12
|
parent: WasmBridge<WasmScheduleExports>;
|
|
12
13
|
listeners: Record<number, ScheduledCall>;
|
|
13
|
-
get id(): string;
|
|
14
14
|
init(parent: WasmBridge<WasmScheduleExports>): Promise<boolean>;
|
|
15
15
|
getImports(): WasmScheduleImports;
|
|
16
16
|
}
|
package/schedule.js
CHANGED
|
@@ -13,11 +13,9 @@ const CANCEL = {
|
|
|
13
13
|
};
|
|
14
14
|
export class WasmSchedule {
|
|
15
15
|
constructor() {
|
|
16
|
+
this.id = WasmSchedule.id;
|
|
16
17
|
this.listeners = {};
|
|
17
18
|
}
|
|
18
|
-
get id() {
|
|
19
|
-
return WasmSchedule.id;
|
|
20
|
-
}
|
|
21
19
|
async init(parent) {
|
|
22
20
|
this.parent = parent;
|
|
23
21
|
if (parent.exports._schedule_init) {
|