@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-12-16T12:52:25Z
3
+ - **Last updated**: 2022-12-20T16:33:11Z
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/wasm-api-schedule",
3
- "version": "0.3.7",
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.0",
39
- "@thi.ng/wasm-api": "^1.2.3"
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.6",
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": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
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) {