@agoric/swingset-vat 0.32.3-dev-ae21a7e.0 → 0.32.3-dev-afcbcd7.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-vat",
|
|
3
|
-
"version": "0.32.3-dev-
|
|
3
|
+
"version": "0.32.3-dev-afcbcd7.0+afcbcd7",
|
|
4
4
|
"description": "Vat/Container Launcher",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"@types/yargs-parser": "^21.0.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@agoric/assert": "0.6.1-dev-
|
|
31
|
-
"@agoric/internal": "0.3.3-dev-
|
|
32
|
-
"@agoric/store": "0.9.3-dev-
|
|
33
|
-
"@agoric/swing-store": "0.9.2-dev-
|
|
34
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
35
|
-
"@agoric/swingset-xsnap-supervisor": "0.10.3-dev-
|
|
36
|
-
"@agoric/time": "0.3.3-dev-
|
|
37
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
38
|
-
"@agoric/xsnap": "0.14.3-dev-
|
|
39
|
-
"@agoric/xsnap-lockdown": "0.14.1-dev-
|
|
30
|
+
"@agoric/assert": "0.6.1-dev-afcbcd7.0+afcbcd7",
|
|
31
|
+
"@agoric/internal": "0.3.3-dev-afcbcd7.0+afcbcd7",
|
|
32
|
+
"@agoric/store": "0.9.3-dev-afcbcd7.0+afcbcd7",
|
|
33
|
+
"@agoric/swing-store": "0.9.2-dev-afcbcd7.0+afcbcd7",
|
|
34
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-afcbcd7.0+afcbcd7",
|
|
35
|
+
"@agoric/swingset-xsnap-supervisor": "0.10.3-dev-afcbcd7.0+afcbcd7",
|
|
36
|
+
"@agoric/time": "0.3.3-dev-afcbcd7.0+afcbcd7",
|
|
37
|
+
"@agoric/vat-data": "0.5.3-dev-afcbcd7.0+afcbcd7",
|
|
38
|
+
"@agoric/xsnap": "0.14.3-dev-afcbcd7.0+afcbcd7",
|
|
39
|
+
"@agoric/xsnap-lockdown": "0.14.1-dev-afcbcd7.0+afcbcd7",
|
|
40
40
|
"@endo/base64": "^0.2.34",
|
|
41
41
|
"@endo/bundle-source": "^2.7.0",
|
|
42
42
|
"@endo/captp": "^3.1.4",
|
|
@@ -97,5 +97,8 @@
|
|
|
97
97
|
"publishConfig": {
|
|
98
98
|
"access": "public"
|
|
99
99
|
},
|
|
100
|
-
"
|
|
100
|
+
"typeCoverage": {
|
|
101
|
+
"atLeast": 75.26
|
|
102
|
+
},
|
|
103
|
+
"gitHead": "afcbcd727d7c9a4c6330d619c7846c9963b1e25a"
|
|
101
104
|
}
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
insistVatSyscallObject,
|
|
8
8
|
insistVatDeliveryResult,
|
|
9
9
|
} from '../../lib/message.js';
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
|
|
11
|
+
/// <reference path="../../types-ambient.js" />
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* @typedef {import('@agoric/swingset-liveslots').VatDeliveryObject} VatDeliveryObject
|
|
@@ -27,7 +27,7 @@ function parentLog(first, ...args) {
|
|
|
27
27
|
const encoder = new TextEncoder();
|
|
28
28
|
const decoder = new TextDecoder();
|
|
29
29
|
|
|
30
|
-
/** @param { (item: Tagged) => unknown } [handleUpstream] */
|
|
30
|
+
/** @param { (item: import('./types.js').Tagged) => unknown } [handleUpstream] */
|
|
31
31
|
const makeRevokableHandleCommandKit = handleUpstream => {
|
|
32
32
|
/**
|
|
33
33
|
* @param {Uint8Array} msg
|
|
@@ -96,7 +96,7 @@ export function makeXsSubprocessFactory({
|
|
|
96
96
|
|
|
97
97
|
const mk = makeManagerKit();
|
|
98
98
|
|
|
99
|
-
/** @type { (item: Tagged) => unknown } */
|
|
99
|
+
/** @type { (item: import('./types.js').Tagged) => unknown } */
|
|
100
100
|
function handleUpstream([type, ...args]) {
|
|
101
101
|
parentLog(vatID, `handleUpstream`, type, args.length);
|
|
102
102
|
switch (type) {
|
|
@@ -148,7 +148,7 @@ export function makeXsSubprocessFactory({
|
|
|
148
148
|
init: snapshotInfo && { from: 'snapStore', vatID },
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
/** @type { (item: Tagged) => Promise<WorkerResults> } */
|
|
151
|
+
/** @type { (item: import('./types.js').Tagged) => Promise<import('./types.js').WorkerResults> } */
|
|
152
152
|
async function issueTagged(item) {
|
|
153
153
|
parentLog(item[0], '...', item.length - 1);
|
|
154
154
|
const result = await worker.issueStringCommand(JSON.stringify(item));
|
|
@@ -185,7 +185,7 @@ export function makeXsSubprocessFactory({
|
|
|
185
185
|
*/
|
|
186
186
|
async function deliverToWorker(delivery) {
|
|
187
187
|
parentLog(vatID, `sending delivery`, delivery);
|
|
188
|
-
/** @type { WorkerResults } */
|
|
188
|
+
/** @type { import('./types.js').WorkerResults } */
|
|
189
189
|
let result;
|
|
190
190
|
await null;
|
|
191
191
|
try {
|