@agoric/vats 0.15.2-dev-0c96ea5.0 → 0.15.2-dev-77fcd1a.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-0c96ea5.0+0c96ea5",
3
+ "version": "0.15.2-dev-77fcd1a.0+77fcd1a",
4
4
  "description": "Agoric's Vat library",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -22,19 +22,19 @@
22
22
  "author": "Agoric",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@agoric/cosmic-proto": "0.4.1-dev-0c96ea5.0+0c96ea5",
26
- "@agoric/ertp": "0.16.3-dev-0c96ea5.0+0c96ea5",
27
- "@agoric/governance": "0.10.4-dev-0c96ea5.0+0c96ea5",
28
- "@agoric/internal": "0.3.3-dev-0c96ea5.0+0c96ea5",
29
- "@agoric/network": "0.1.1-dev-0c96ea5.0+0c96ea5",
30
- "@agoric/notifier": "0.6.3-dev-0c96ea5.0+0c96ea5",
31
- "@agoric/store": "0.9.3-dev-0c96ea5.0+0c96ea5",
32
- "@agoric/swingset-vat": "0.32.3-dev-0c96ea5.0+0c96ea5",
33
- "@agoric/time": "0.3.3-dev-0c96ea5.0+0c96ea5",
34
- "@agoric/vat-data": "0.5.3-dev-0c96ea5.0+0c96ea5",
35
- "@agoric/vow": "0.1.1-dev-0c96ea5.0+0c96ea5",
36
- "@agoric/zoe": "0.26.3-dev-0c96ea5.0+0c96ea5",
37
- "@agoric/zone": "0.2.3-dev-0c96ea5.0+0c96ea5",
25
+ "@agoric/cosmic-proto": "0.4.1-dev-77fcd1a.0+77fcd1a",
26
+ "@agoric/ertp": "0.16.3-dev-77fcd1a.0+77fcd1a",
27
+ "@agoric/governance": "0.10.4-dev-77fcd1a.0+77fcd1a",
28
+ "@agoric/internal": "0.3.3-dev-77fcd1a.0+77fcd1a",
29
+ "@agoric/network": "0.1.1-dev-77fcd1a.0+77fcd1a",
30
+ "@agoric/notifier": "0.6.3-dev-77fcd1a.0+77fcd1a",
31
+ "@agoric/store": "0.9.3-dev-77fcd1a.0+77fcd1a",
32
+ "@agoric/swingset-vat": "0.32.3-dev-77fcd1a.0+77fcd1a",
33
+ "@agoric/time": "0.3.3-dev-77fcd1a.0+77fcd1a",
34
+ "@agoric/vat-data": "0.5.3-dev-77fcd1a.0+77fcd1a",
35
+ "@agoric/vow": "0.1.1-dev-77fcd1a.0+77fcd1a",
36
+ "@agoric/zoe": "0.26.3-dev-77fcd1a.0+77fcd1a",
37
+ "@agoric/zone": "0.2.3-dev-77fcd1a.0+77fcd1a",
38
38
  "@endo/errors": "^1.2.2",
39
39
  "@endo/far": "^1.1.2",
40
40
  "@endo/import-bundle": "^1.1.2",
@@ -46,7 +46,7 @@
46
46
  "jessie.js": "^0.3.4"
47
47
  },
48
48
  "devDependencies": {
49
- "@agoric/swingset-liveslots": "0.10.3-dev-0c96ea5.0+0c96ea5",
49
+ "@agoric/swingset-liveslots": "0.10.3-dev-77fcd1a.0+77fcd1a",
50
50
  "@endo/bundle-source": "^3.2.3",
51
51
  "@endo/init": "^1.1.2",
52
52
  "ava": "^5.3.0",
@@ -78,5 +78,5 @@
78
78
  "typeCoverage": {
79
79
  "atLeast": 91.41
80
80
  },
81
- "gitHead": "0c96ea5a63bb001d5f11e99a1fa58de4cce475c1"
81
+ "gitHead": "77fcd1ad792f5c30ead15a2081f7f63a6ab6f8af"
82
82
  }
@@ -1 +1 @@
1
- {"version":3,"file":"client-behaviors.d.ts","sourceRoot":"","sources":["client-behaviors.js"],"names":[],"mappings":"AA2FO,8HAPI,WAAW,CAAC,WAAW,CAAC,GAClC,cAAkB,GAAG;IACrB,aAAmB,EAAE,kBAAkB,CAAC;IACxC,IAAU,EAAE,YAAY,GAAG,QAAQ,CAAC;IACpC,IAAU,EAAE,OAAO,mBAAmB,EAAE,IAAI,CAAC;CACxC,iBAwEL;AAGD,wDAAwD;AACxD,wCADW,OAAO,eAAe,EAAE,iBAAiB,CAoCjD"}
1
+ {"version":3,"file":"client-behaviors.d.ts","sourceRoot":"","sources":["client-behaviors.js"],"names":[],"mappings":"AA0FO,8HAPI,WAAW,CAAC,WAAW,CAAC,GAClC,cAAkB,GAAG;IACrB,aAAmB,EAAE,kBAAkB,CAAC;IACxC,IAAU,EAAE,YAAY,GAAG,QAAQ,CAAC;IACpC,IAAU,EAAE,OAAO,mBAAmB,EAAE,IAAI,CAAC;CACxC,iBA8EL;AAGD,wDAAwD;AACxD,wCADW,OAAO,eAAe,EAAE,iBAAiB,CAoCjD"}
@@ -1,4 +1,3 @@
1
- import { Fail } from '@endo/errors';
2
1
  import { E, Far } from '@endo/far';
3
2
  import { makePluginManager } from '@agoric/swingset-vat/src/vats/plugin-manager.js';
4
3
  import { observeNotifier } from '@agoric/notifier';
@@ -136,7 +135,13 @@ export const startClient = async ({
136
135
  }
137
136
 
138
137
  const addChainPresences = async () => {
139
- FIXME_GCI || Fail`client must be given GCI`;
138
+ if (!FIXME_GCI) {
139
+ chainBundle = {
140
+ DISCONNECTED: `Chain is disconnected: no GCI provided`,
141
+ };
142
+ void updatePresences();
143
+ return;
144
+ }
140
145
  await addRemote(FIXME_GCI);
141
146
  // addEgress(..., index, ...) is called in vat-provisioning.
142
147
  const chainProvider = E(vats.comms).addIngress(