@agoric/swingset-xsnap-supervisor 0.10.3-other-dev-fbe72e7.0.fbe72e7 → 0.10.3-other-dev-d15096d.0.d15096d

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.
@@ -1 +1 @@
1
- 4751467ce397e39f6445d34eab978d5f7d317f41dba9952b4c6fbbfd49fb9894
1
+ 421be8cd18695c42e56471d6f6727d8aef51d03f924d9ee1b50a2020b1c572d0
@@ -3,12 +3,16 @@ import {
3
3
  insistVatSyscallResult,
4
4
  } from '@agoric/swingset-liveslots';
5
5
 
6
+ /**
7
+ * @import {CapData} from '@endo/marshal';
8
+ */
9
+
6
10
  /**
7
11
  * @import {VatDeliveryObject} from '@agoric/swingset-liveslots'
8
12
  * @import {VatDeliveryResult} from '@agoric/swingset-liveslots'
9
13
  * @import {VatSyscallObject} from '@agoric/swingset-liveslots'
10
14
  * @import {VatSyscallHandler} from '@agoric/swingset-liveslots'
11
- * @typedef {import('@endo/marshal').CapData<string>} SwingSetCapData
15
+ * @typedef {CapData<string>} SwingSetCapData
12
16
  * @typedef { (delivery: VatDeliveryObject) => (VatDeliveryResult | Promise<VatDeliveryResult>) } VatDispatcherSyncAsync
13
17
  * @typedef { (delivery: VatDeliveryObject) => Promise<VatDeliveryResult> } VatDispatcher
14
18
  */
@@ -1,6 +1,10 @@
1
1
  /* global setImmediate */
2
2
  import { makePromiseKit } from '@endo/promise-kit';
3
3
 
4
+ /**
5
+ * @import {PromiseKit} from '@endo/promise-kit';
6
+ */
7
+
4
8
  // This can only be imported from the Start Compartment, where 'setImmediate'
5
9
  // is available.
6
10
 
@@ -11,7 +15,7 @@ export function waitUntilQuiescent() {
11
15
  // lower-priority than the Promise queue on browsers and Node 11, but on
12
16
  // Node 10 it is higher. So this trick requires Node 11.
13
17
  // https://jsblog.insiderattack.net/new-changes-to-timers-and-microtasks-from-node-v11-0-0-and-above-68d112743eb3
14
- /** @type {import('@endo/promise-kit').PromiseKit<void>} */
18
+ /** @type {PromiseKit<void>} */
15
19
  const { promise: queueEmptyP, resolve } = makePromiseKit();
16
20
  setImmediate(() => resolve());
17
21
  return queueEmptyP;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/swingset-xsnap-supervisor",
3
- "version": "0.10.3-other-dev-fbe72e7.0.fbe72e7",
3
+ "version": "0.10.3-other-dev-d15096d.0.d15096d",
4
4
  "description": "Supervisor/Liveslots bundle for swingset xsnap workers",
5
5
  "author": "Agoric",
6
6
  "license": "Apache-2.0",
@@ -29,7 +29,7 @@
29
29
  "@endo/promise-kit": "^1.1.13"
30
30
  },
31
31
  "devDependencies": {
32
- "@agoric/swingset-liveslots": "0.10.3-other-dev-fbe72e7.0.fbe72e7",
32
+ "@agoric/swingset-liveslots": "0.10.3-other-dev-d15096d.0.d15096d",
33
33
  "@endo/bundle-source": "^4.1.2",
34
34
  "@endo/import-bundle": "^1.5.2",
35
35
  "@endo/init": "^1.1.12",
@@ -62,5 +62,5 @@
62
62
  "engines": {
63
63
  "node": "^20.9 || ^22.11"
64
64
  },
65
- "gitHead": "fbe72e72107f9997f788674e668c660d92ec4492"
65
+ "gitHead": "d15096dc4ff8b96e9b6cd11954c20d3a9efbb393"
66
66
  }