@agoric/swingset-liveslots 0.10.3-dev-75b00b2.0 → 0.10.3-dev-bef63e5.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/swingset-liveslots",
3
- "version": "0.10.3-dev-75b00b2.0+75b00b2",
3
+ "version": "0.10.3-dev-bef63e5.0+bef63e5",
4
4
  "description": "SwingSet ocap support layer",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -17,21 +17,21 @@
17
17
  "lint:eslint": "eslint ."
18
18
  },
19
19
  "dependencies": {
20
- "@agoric/assert": "0.6.1-dev-75b00b2.0+75b00b2",
21
- "@agoric/internal": "0.3.3-dev-75b00b2.0+75b00b2",
22
- "@agoric/store": "0.9.3-dev-75b00b2.0+75b00b2",
23
- "@endo/eventual-send": "^0.17.5",
24
- "@endo/exo": "^0.2.5",
25
- "@endo/far": "^0.2.21",
26
- "@endo/init": "^0.5.59",
27
- "@endo/marshal": "^0.8.8",
28
- "@endo/nat": "^4.1.30",
29
- "@endo/pass-style": "^0.1.6",
30
- "@endo/patterns": "^0.2.5",
31
- "@endo/promise-kit": "^0.2.59"
20
+ "@agoric/assert": "0.6.1-dev-bef63e5.0+bef63e5",
21
+ "@agoric/internal": "0.3.3-dev-bef63e5.0+bef63e5",
22
+ "@agoric/store": "0.9.3-dev-bef63e5.0+bef63e5",
23
+ "@endo/eventual-send": "^1.0.1",
24
+ "@endo/exo": "^1.0.1",
25
+ "@endo/far": "^1.0.1",
26
+ "@endo/init": "^1.0.1",
27
+ "@endo/marshal": "^1.0.1",
28
+ "@endo/nat": "^5.0.1",
29
+ "@endo/pass-style": "^1.0.1",
30
+ "@endo/patterns": "^1.0.1",
31
+ "@endo/promise-kit": "^1.0.1"
32
32
  },
33
33
  "devDependencies": {
34
- "@agoric/kmarshal": "0.1.1-dev-75b00b2.0+75b00b2",
34
+ "@agoric/kmarshal": "0.1.1-dev-bef63e5.0+bef63e5",
35
35
  "ava": "^5.3.0"
36
36
  },
37
37
  "files": [
@@ -67,5 +67,5 @@
67
67
  "typeCoverage": {
68
68
  "atLeast": 71.48
69
69
  },
70
- "gitHead": "75b00b2a1596bbd4a43f3e103344079698a7da7a"
70
+ "gitHead": "bef63e5f0c6ad6a553b3eef69d722c060995a247"
71
71
  }
package/src/liveslots.js CHANGED
@@ -34,7 +34,7 @@ const { details: X } = assert;
34
34
  * @param {*} syscall Kernel syscall interface that the vat will have access to
35
35
  * @param {*} forVatID Vat ID label, for use in debug diagnostics
36
36
  * @param {*} vatPowers
37
- * @param {import('./types').LiveSlotsOptions} liveSlotsOptions
37
+ * @param {import('./types.js').LiveSlotsOptions} liveSlotsOptions
38
38
  * @param {*} gcTools { WeakRef, FinalizationRegistry, waitUntilQuiescent, gcAndFinalize,
39
39
  * meterControl }
40
40
  * @param {Pick<Console, 'debug' | 'log' | 'info' | 'warn' | 'error'>} console
@@ -1469,7 +1469,7 @@ function build(
1469
1469
  }
1470
1470
 
1471
1471
  /**
1472
- * @param {import('./types').VatDeliveryObject} delivery
1472
+ * @param {import('./types.js').VatDeliveryObject} delivery
1473
1473
  * @returns {void | Promise<void>}
1474
1474
  */
1475
1475
  function dispatchToUserspace(delivery) {
@@ -1534,7 +1534,7 @@ function build(
1534
1534
  }
1535
1535
 
1536
1536
  /**
1537
- * @param { import('./types').SwingSetCapData } _disconnectObjectCapData
1537
+ * @param { import('./types.js').SwingSetCapData } _disconnectObjectCapData
1538
1538
  * @returns {Promise<void>}
1539
1539
  */
1540
1540
  async function stopVat(_disconnectObjectCapData) {
@@ -1586,7 +1586,7 @@ function build(
1586
1586
  * terminate the vat). Userspace should not be able to cause the delivery
1587
1587
  * to fail: only a bug in liveslots should trigger a failure.
1588
1588
  *
1589
- * @param {import('./types').VatDeliveryObject} delivery
1589
+ * @param {import('./types.js').VatDeliveryObject} delivery
1590
1590
  * @returns {Promise<void>}
1591
1591
  */
1592
1592
  async function dispatch(delivery) {
@@ -1637,7 +1637,7 @@ function build(
1637
1637
  * @param {*} syscall Kernel syscall interface that the vat will have access to
1638
1638
  * @param {*} forVatID Vat ID label, for use in debug diagostics
1639
1639
  * @param {*} vatPowers
1640
- * @param {import('./types').LiveSlotsOptions} liveSlotsOptions
1640
+ * @param {import('./types.js').LiveSlotsOptions} liveSlotsOptions
1641
1641
  * @param {*} gcTools { WeakRef, FinalizationRegistry, waitUntilQuiescent }
1642
1642
  * @param {Pick<Console, 'debug' | 'log' | 'info' | 'warn' | 'error'>} [liveSlotsConsole]
1643
1643
  * @param {*} [buildVatNamespace]
package/src/message.js CHANGED
@@ -3,7 +3,7 @@ import { insistCapData } from './capdata.js';
3
3
 
4
4
  /**
5
5
  * @typedef {{
6
- * methargs: import('./types').SwingSetCapData, // of [method, args]
6
+ * methargs: import('./types.js').SwingSetCapData, // of [method, args]
7
7
  * result: string | undefined | null,
8
8
  * }} Message
9
9
  */
@@ -314,7 +314,7 @@ const insistSameCapData = (oldCD, newCD) => {
314
314
  * @param {import('@endo/marshal').FromCapData<string>} unserialize Unserializer for this vat
315
315
  * @param {*} assertAcceptableSyscallCapdataSize Function to check for oversized
316
316
  * syscall params
317
- * @param {import('./types').LiveSlotsOptions} [liveSlotsOptions]
317
+ * @param {import('./types.js').LiveSlotsOptions} [liveSlotsOptions]
318
318
  * @param {{ WeakMap: typeof WeakMap, WeakSet: typeof WeakSet }} [powers]
319
319
  * Specifying the underlying WeakMap/WeakSet objects to wrap with
320
320
  * VirtualObjectAwareWeakMap/Set. By default, capture the ones currently