@agoric/vats 0.15.2-dev-3c781f6.0 → 0.15.2-dev-046eb05.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/vats",
3
- "version": "0.15.2-dev-3c781f6.0+3c781f6",
3
+ "version": "0.15.2-dev-046eb05.0+046eb05",
4
4
  "description": "Agoric's Vat library",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -29,19 +29,19 @@
29
29
  "author": "Agoric",
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@agoric/assert": "0.6.1-dev-3c781f6.0+3c781f6",
33
- "@agoric/ertp": "0.16.3-dev-3c781f6.0+3c781f6",
34
- "@agoric/governance": "0.10.4-dev-3c781f6.0+3c781f6",
35
- "@agoric/inter-protocol": "0.16.2-dev-3c781f6.0+3c781f6",
36
- "@agoric/internal": "0.3.3-dev-3c781f6.0+3c781f6",
37
- "@agoric/notifier": "0.6.3-dev-3c781f6.0+3c781f6",
38
- "@agoric/sharing-service": "0.2.12-dev-3c781f6.0+3c781f6",
39
- "@agoric/store": "0.9.3-dev-3c781f6.0+3c781f6",
40
- "@agoric/swingset-vat": "0.32.3-dev-3c781f6.0+3c781f6",
41
- "@agoric/time": "0.3.3-dev-3c781f6.0+3c781f6",
42
- "@agoric/vat-data": "0.5.3-dev-3c781f6.0+3c781f6",
43
- "@agoric/zoe": "0.26.3-dev-3c781f6.0+3c781f6",
44
- "@agoric/zone": "0.2.3-dev-3c781f6.0+3c781f6",
32
+ "@agoric/assert": "0.6.1-dev-046eb05.0+046eb05",
33
+ "@agoric/ertp": "0.16.3-dev-046eb05.0+046eb05",
34
+ "@agoric/governance": "0.10.4-dev-046eb05.0+046eb05",
35
+ "@agoric/inter-protocol": "0.16.2-dev-046eb05.0+046eb05",
36
+ "@agoric/internal": "0.3.3-dev-046eb05.0+046eb05",
37
+ "@agoric/notifier": "0.6.3-dev-046eb05.0+046eb05",
38
+ "@agoric/sharing-service": "0.2.12-dev-046eb05.0+046eb05",
39
+ "@agoric/store": "0.9.3-dev-046eb05.0+046eb05",
40
+ "@agoric/swingset-vat": "0.32.3-dev-046eb05.0+046eb05",
41
+ "@agoric/time": "0.3.3-dev-046eb05.0+046eb05",
42
+ "@agoric/vat-data": "0.5.3-dev-046eb05.0+046eb05",
43
+ "@agoric/zoe": "0.26.3-dev-046eb05.0+046eb05",
44
+ "@agoric/zone": "0.2.3-dev-046eb05.0+046eb05",
45
45
  "@endo/far": "^0.2.18",
46
46
  "@endo/import-bundle": "^0.3.4",
47
47
  "@endo/init": "^0.5.56",
@@ -51,11 +51,11 @@
51
51
  "jessie.js": "^0.3.2"
52
52
  },
53
53
  "devDependencies": {
54
- "@agoric/cosmic-swingset": "0.41.4-dev-3c781f6.0+3c781f6",
55
- "@agoric/deploy-script-support": "0.10.4-dev-3c781f6.0+3c781f6",
56
- "@agoric/smart-wallet": "0.5.4-dev-3c781f6.0+3c781f6",
57
- "@agoric/swing-store": "0.9.2-dev-3c781f6.0+3c781f6",
58
- "@agoric/swingset-liveslots": "0.10.3-dev-3c781f6.0+3c781f6",
54
+ "@agoric/cosmic-swingset": "0.41.4-dev-046eb05.0+046eb05",
55
+ "@agoric/deploy-script-support": "0.10.4-dev-046eb05.0+046eb05",
56
+ "@agoric/smart-wallet": "0.5.4-dev-046eb05.0+046eb05",
57
+ "@agoric/swing-store": "0.9.2-dev-046eb05.0+046eb05",
58
+ "@agoric/swingset-liveslots": "0.10.3-dev-046eb05.0+046eb05",
59
59
  "@endo/bundle-source": "^2.5.1",
60
60
  "@endo/captp": "^3.1.1",
61
61
  "@endo/stream": "^0.3.25",
@@ -86,5 +86,5 @@
86
86
  "timeout": "20m",
87
87
  "workerThreads": false
88
88
  },
89
- "gitHead": "3c781f643c6c321d676272060bdff04fc9dd0fd8"
89
+ "gitHead": "046eb05f824bddad6e1980c2bfab7b3f57f1e60f"
90
90
  }
@@ -1 +1 @@
1
- {"version":3,"file":"nameHub.d.ts","sourceRoot":"","sources":["nameHub.js"],"names":[],"mappings":";;;;AAgDO,4CADK,OAAO,cAAc,EAAE,IAAI,eAwB1B,OAAO,YAAY,EAAE,SAAS,WAC9B,MAAM,iGAalB;AA4CM,wCAFI,OAAO,cAAc,EAAE,IAAI,SAcnB,OAAO,SAAS,EAAE,UAAU,CAqN9C;AArNY,kCAAM,OAAO,SAAS,EAAE,UAAU,CAAA"}
1
+ {"version":3,"file":"nameHub.d.ts","sourceRoot":"","sources":["nameHub.js"],"names":[],"mappings":";;;;AAgDO,4CADK,OAAO,cAAc,EAAE,IAAI,eAwB1B,OAAO,YAAY,EAAE,SAAS,WAC9B,MAAM,iGAalB;AA4CM,wCAFI,OAAO,cAAc,EAAE,IAAI,SAcnB,OAAO,SAAS,EAAE,UAAU,CAoN9C;AApNY,kCAAM,OAAO,SAAS,EAAE,UAAU,CAAA"}
package/src/nameHub.js CHANGED
@@ -212,7 +212,6 @@ export const prepareNameHubKit = zone => {
212
212
  const { keyToAdmin, keyToValue } = this.state;
213
213
  if (keyToAdmin.has(key)) {
214
214
  const childAdmin = keyToAdmin.get(key);
215
- // XXX ts-ignore because @agoric/web-components lint fails
216
215
  /** @type {NameHub} */
217
216
  // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
218
217
  // @ts-ignore if an admin is present, it should be a namehub
@@ -1 +1 @@
1
- {"version":3,"file":"vat-provisioning.d.ts","sourceRoot":"","sources":["vat-provisioning.js"],"names":[],"mappings":"AA+EA;;;;GAIG;AACH,4CAJW,OAAO,kBACP,OAAO;kBAqBL,KAAK,aAAa,CAAC,KACnB,YAAY,KACZ,QAAQ;gCASR,MAAM,WACN,MAAM,cACN,MAAM,EAAE;;;;;;;;kBAbR,KAAK,aAAa,CAAC,KACnB,YAAY,KACZ,QAAQ;gCASR,MAAM,WACN,MAAM,cACN,MAAM,EAAE;;;;;;;GAsDpB"}
1
+ {"version":3,"file":"vat-provisioning.d.ts","sourceRoot":"","sources":["vat-provisioning.js"],"names":[],"mappings":"AA8EA;;;;GAIG;AACH,4CAJW,OAAO,kBACP,OAAO;kBAqBL,KAAK,aAAa,CAAC,KACnB,YAAY,KACZ,QAAQ;gCASR,MAAM,WACN,MAAM,cACN,MAAM,EAAE;;;;;;;;kBAbR,KAAK,aAAa,CAAC,KACnB,YAAY,KACZ,QAAQ;gCASR,MAAM,WACN,MAAM,cACN,MAAM,EAAE;;;;;;;GAsDpB"}
@@ -50,7 +50,6 @@ const prepareSpecializedNameAdmin = zone => {
50
50
  // XXX relies on callers not to provide other admins via update()
51
51
  // TODO: enforce?
52
52
 
53
- // XXX ts-ignore because @agoric/web-components lint:tyeps fails
54
53
  /** @type { import('./types').MyAddressNameAdmin } */
55
54
  // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
56
55
  // @ts-ignore cast
@@ -253,20 +253,31 @@ const main = async (args, { stdout, fsp, meta }) => {
253
253
  }
254
254
  };
255
255
 
256
- (async () => {
257
- await Promise.all([
256
+ const run = async () => {
257
+ const [fsp, metaResolve] = await Promise.all([
258
258
  import('fs/promises'),
259
259
  // eslint-disable-next-line import/no-extraneous-dependencies
260
260
  import('import-meta-resolve'),
261
- ]).then(([fsp, metaResolve]) => {
262
- return main(process.argv.slice(2), {
263
- stdout: process.stdout,
264
- fsp,
265
- meta: {
266
- resolve: metaResolve.resolve,
267
- url: import.meta.url,
268
- load: specifier => import(specifier),
269
- },
270
- });
261
+ ]);
262
+
263
+ return main(process.argv.slice(2), {
264
+ stdout: process.stdout,
265
+ fsp,
266
+ meta: {
267
+ resolve: metaResolve.resolve,
268
+ url: import.meta.url,
269
+ load: specifier => import(specifier),
270
+ },
271
271
  });
272
- })().catch(console.error);
272
+ };
273
+
274
+ process.exitCode = 1;
275
+ run().then(
276
+ () => {
277
+ process.exitCode = 0;
278
+ },
279
+ err => {
280
+ console.error('Failed with', err);
281
+ process.exit(process.exitCode || 1);
282
+ },
283
+ );