@agoric/swingset-vat 0.32.3-dev-da3b8a8.0 → 0.32.3-dev-7710838.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/README.md CHANGED
@@ -15,7 +15,7 @@ this is insufficient to provide persistence across restarts.
15
15
 
16
16
  More docs are in the works. For now, try:
17
17
 
18
- ```
18
+ ```console
19
19
  $ npm install
20
20
  $ npm test
21
21
  $ bin/vat run demo/encouragementBot
@@ -26,7 +26,7 @@ expected to stabilize for a while.
26
26
 
27
27
  ## REPL Shell
28
28
 
29
- ```
29
+ ```console
30
30
  $ bin/vat shell demo/encouragementBot
31
31
  vat>
32
32
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/swingset-vat",
3
- "version": "0.32.3-dev-da3b8a8.0+da3b8a8",
3
+ "version": "0.32.3-dev-7710838.0+7710838",
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-da3b8a8.0+da3b8a8",
31
- "@agoric/internal": "0.3.3-dev-da3b8a8.0+da3b8a8",
32
- "@agoric/store": "0.9.3-dev-da3b8a8.0+da3b8a8",
33
- "@agoric/swing-store": "0.9.2-dev-da3b8a8.0+da3b8a8",
34
- "@agoric/swingset-liveslots": "0.10.3-dev-da3b8a8.0+da3b8a8",
35
- "@agoric/swingset-xsnap-supervisor": "0.10.3-dev-da3b8a8.0+da3b8a8",
36
- "@agoric/time": "0.3.3-dev-da3b8a8.0+da3b8a8",
37
- "@agoric/vat-data": "0.5.3-dev-da3b8a8.0+da3b8a8",
38
- "@agoric/xsnap": "0.14.3-dev-da3b8a8.0+da3b8a8",
39
- "@agoric/xsnap-lockdown": "0.14.1-dev-da3b8a8.0+da3b8a8",
30
+ "@agoric/assert": "0.6.1-dev-7710838.0+7710838",
31
+ "@agoric/internal": "0.3.3-dev-7710838.0+7710838",
32
+ "@agoric/store": "0.9.3-dev-7710838.0+7710838",
33
+ "@agoric/swing-store": "0.9.2-dev-7710838.0+7710838",
34
+ "@agoric/swingset-liveslots": "0.10.3-dev-7710838.0+7710838",
35
+ "@agoric/swingset-xsnap-supervisor": "0.10.3-dev-7710838.0+7710838",
36
+ "@agoric/time": "0.3.3-dev-7710838.0+7710838",
37
+ "@agoric/vat-data": "0.5.3-dev-7710838.0+7710838",
38
+ "@agoric/xsnap": "0.14.3-dev-7710838.0+7710838",
39
+ "@agoric/xsnap-lockdown": "0.14.1-dev-7710838.0+7710838",
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
- "gitHead": "da3b8a80f4ae8ccf73bfd7cdeef376a67c673b7d"
100
+ "typeCoverage": {
101
+ "atLeast": 75.26
102
+ },
103
+ "gitHead": "7710838df55e651ca2c8777950df5b3a3bba9059"
101
104
  }
@@ -7,8 +7,8 @@ import {
7
7
  insistVatSyscallObject,
8
8
  insistVatDeliveryResult,
9
9
  } from '../../lib/message.js';
10
- import '../../types-ambient.js';
11
- import './types.js';
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 {
@@ -1,3 +1,5 @@
1
+ export {};
2
+
1
3
  /**
2
4
  * @typedef { [string, ...unknown[]] } Tagged
3
5
  * @typedef { { meterType: string, allocate: number|null, compute: number|null } }