@agoric/swingset-xsnap-supervisor
Advanced tools
Comparing version 0.9.1-dev-5933241.0 to 0.9.1-dev-594511b.0
@@ -38,3 +38,3 @@ import { assert } from '@agoric/assert'; | ||
.then( | ||
() => harden(['ok', null, null]), | ||
res => harden(['ok', res, null]), | ||
err => { | ||
@@ -41,0 +41,0 @@ // TODO react more thoughtfully, maybe terminate the vat |
@@ -273,2 +273,3 @@ /* global globalThis WeakRef FinalizationRegistry */ | ||
) { | ||
assert(bundle, 'bundle undefined (duplicate buildVatNamespace call?)'); | ||
const vatNS = await importBundle(bundle, { | ||
@@ -278,2 +279,3 @@ endowments: { ...workerEndowments, ...lsEndowments }, | ||
}); | ||
bundle = undefined; // overwrite to allow GC to discard big string | ||
workerLog(`got vatNS:`, Object.keys(vatNS).join(',')); | ||
@@ -280,0 +282,0 @@ return vatNS; |
{ | ||
"name": "@agoric/swingset-xsnap-supervisor", | ||
"version": "0.9.1-dev-5933241.0+5933241", | ||
"version": "0.9.1-dev-594511b.0+594511b", | ||
"description": "Supervisor/Liveslots bundle for swingset xsnap workers", | ||
@@ -26,8 +26,8 @@ "author": "Agoric", | ||
"devDependencies": { | ||
"@agoric/assert": "0.5.2-dev-5933241.0+5933241", | ||
"@agoric/swingset-liveslots": "0.9.1-dev-5933241.0+5933241", | ||
"@endo/bundle-source": "^2.4.2", | ||
"@endo/import-bundle": "^0.3.0", | ||
"@endo/init": "^0.5.52", | ||
"@endo/marshal": "^0.8.1", | ||
"@agoric/assert": "0.5.2-dev-594511b.0+594511b", | ||
"@agoric/swingset-liveslots": "0.9.1-dev-594511b.0+594511b", | ||
"@endo/bundle-source": "^2.5.0", | ||
"@endo/import-bundle": "^0.3.3", | ||
"@endo/init": "^0.5.55", | ||
"@endo/marshal": "^0.8.4", | ||
"ava": "^5.2.0", | ||
@@ -52,3 +52,3 @@ "c8": "^7.13.0" | ||
}, | ||
"gitHead": "5933241100b910022eca47f872451a82207d0dfd" | ||
"gitHead": "594511ba433d34e4a725b23f22f96befe82b6d4f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
621
751040