@agoric/swingset-vat 0.32.3-dev-11eb408.0 → 0.32.3-dev-1feb156.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-11eb408.0+11eb408",
3
+ "version": "0.32.3-dev-1feb156.0+1feb156",
4
4
  "description": "Vat/Container Launcher",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -38,24 +38,24 @@
38
38
  "@agoric/time": "workspace:*",
39
39
  "@agoric/vat-data": "workspace:*",
40
40
  "@agoric/xsnap-lockdown": "workspace:*",
41
- "@endo/base64": "^1.0.9",
42
- "@endo/bundle-source": "^4.0.0",
43
- "@endo/captp": "^4.4.5",
44
- "@endo/check-bundle": "^1.0.14",
45
- "@endo/compartment-mapper": "^1.6.0",
46
- "@endo/errors": "^1.2.10",
47
- "@endo/eventual-send": "^1.3.1",
48
- "@endo/far": "^1.1.11",
49
- "@endo/import-bundle": "^1.4.0",
50
- "@endo/init": "^1.1.9",
51
- "@endo/marshal": "^1.6.4",
52
- "@endo/nat": "^5.1.0",
53
- "@endo/pass-style": "^1.5.0",
54
- "@endo/patterns": "^1.5.0",
55
- "@endo/promise-kit": "^1.1.10",
56
- "@endo/ses-ava": "^1.2.10",
57
- "@endo/stream": "^1.2.10",
58
- "@endo/zip": "^1.0.9",
41
+ "@endo/base64": "^1.0.12",
42
+ "@endo/bundle-source": "^4.1.2",
43
+ "@endo/captp": "^4.4.8",
44
+ "@endo/check-bundle": "^1.0.17",
45
+ "@endo/compartment-mapper": "^1.6.3",
46
+ "@endo/errors": "^1.2.13",
47
+ "@endo/eventual-send": "^1.3.4",
48
+ "@endo/far": "^1.1.14",
49
+ "@endo/import-bundle": "^1.5.2",
50
+ "@endo/init": "^1.1.12",
51
+ "@endo/marshal": "^1.8.0",
52
+ "@endo/nat": "^5.1.3",
53
+ "@endo/pass-style": "^1.6.3",
54
+ "@endo/patterns": "^1.7.0",
55
+ "@endo/promise-kit": "^1.1.13",
56
+ "@endo/ses-ava": "^1.3.2",
57
+ "@endo/stream": "^1.2.13",
58
+ "@endo/zip": "^1.0.11",
59
59
  "ansi-styles": "^6.2.1",
60
60
  "anylogger": "^0.21.0",
61
61
  "better-sqlite3": "^10.1.0",
@@ -104,5 +104,5 @@
104
104
  "typeCoverage": {
105
105
  "atLeast": 76.59
106
106
  },
107
- "gitHead": "11eb408c8ae129e3460620e4bcdcb53074961500"
107
+ "gitHead": "1feb156704f30892c9862050a125ccb93b341a83"
108
108
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { Nat } from '@endo/nat';
5
5
  import { assert, q, Fail } from '@endo/errors';
6
- import { isObject } from '@endo/marshal';
6
+ import { isPrimitive } from '@endo/pass-style';
7
7
  import { parseKernelSlot } from '../parseKernelSlots.js';
8
8
  import { makeVatSlot, parseVatSlot } from '../../lib/parseVatSlots.js';
9
9
  import { insistVatID } from '../../lib/id.js';
@@ -45,8 +45,8 @@ export const DEFAULT_REAP_DIRT_THRESHOLD_KEY =
45
45
 
46
46
  const isBundleSource = source => {
47
47
  return (
48
- isObject(source) &&
49
- (isObject(source.bundle) ||
48
+ !isPrimitive(source) &&
49
+ (!isPrimitive(source.bundle) ||
50
50
  typeof source.bundleName === 'string' ||
51
51
  typeof source.bundleID === 'string')
52
52
  );
@@ -70,7 +70,7 @@ export function initializeVatState(
70
70
  ) {
71
71
  assert(isBundleSource(source), `vat ${vatID} source has wrong shape`);
72
72
  assert(
73
- isObject(options) && isObject(options.workerOptions),
73
+ !isPrimitive(options) && !isPrimitive(options.workerOptions),
74
74
  `vat ${vatID} options is missing workerOptions`,
75
75
  );
76
76