@agoric/vats 0.15.2-dev-5eb596e.0 → 0.15.2-dev-e6e23eb.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-5eb596e.0+5eb596e",
3
+ "version": "0.15.2-dev-e6e23eb.0+e6e23eb",
4
4
  "description": "Agoric's Vat library",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -30,19 +30,19 @@
30
30
  "author": "Agoric",
31
31
  "license": "Apache-2.0",
32
32
  "dependencies": {
33
- "@agoric/assert": "0.6.1-dev-5eb596e.0+5eb596e",
34
- "@agoric/ertp": "0.16.3-dev-5eb596e.0+5eb596e",
35
- "@agoric/governance": "0.10.4-dev-5eb596e.0+5eb596e",
36
- "@agoric/inter-protocol": "0.16.2-dev-5eb596e.0+5eb596e",
37
- "@agoric/internal": "0.3.3-dev-5eb596e.0+5eb596e",
38
- "@agoric/notifier": "0.6.3-dev-5eb596e.0+5eb596e",
39
- "@agoric/sharing-service": "0.2.12-dev-5eb596e.0+5eb596e",
40
- "@agoric/store": "0.9.3-dev-5eb596e.0+5eb596e",
41
- "@agoric/swingset-vat": "0.32.3-dev-5eb596e.0+5eb596e",
42
- "@agoric/time": "0.3.3-dev-5eb596e.0+5eb596e",
43
- "@agoric/vat-data": "0.5.3-dev-5eb596e.0+5eb596e",
44
- "@agoric/zoe": "0.26.3-dev-5eb596e.0+5eb596e",
45
- "@agoric/zone": "0.2.3-dev-5eb596e.0+5eb596e",
33
+ "@agoric/assert": "0.6.1-dev-e6e23eb.0+e6e23eb",
34
+ "@agoric/ertp": "0.16.3-dev-e6e23eb.0+e6e23eb",
35
+ "@agoric/governance": "0.10.4-dev-e6e23eb.0+e6e23eb",
36
+ "@agoric/inter-protocol": "0.16.2-dev-e6e23eb.0+e6e23eb",
37
+ "@agoric/internal": "0.3.3-dev-e6e23eb.0+e6e23eb",
38
+ "@agoric/notifier": "0.6.3-dev-e6e23eb.0+e6e23eb",
39
+ "@agoric/sharing-service": "0.2.12-dev-e6e23eb.0+e6e23eb",
40
+ "@agoric/store": "0.9.3-dev-e6e23eb.0+e6e23eb",
41
+ "@agoric/swingset-vat": "0.32.3-dev-e6e23eb.0+e6e23eb",
42
+ "@agoric/time": "0.3.3-dev-e6e23eb.0+e6e23eb",
43
+ "@agoric/vat-data": "0.5.3-dev-e6e23eb.0+e6e23eb",
44
+ "@agoric/zoe": "0.26.3-dev-e6e23eb.0+e6e23eb",
45
+ "@agoric/zone": "0.2.3-dev-e6e23eb.0+e6e23eb",
46
46
  "@endo/far": "^0.2.19",
47
47
  "@endo/import-bundle": "^0.3.5",
48
48
  "@endo/init": "^0.5.57",
@@ -53,11 +53,11 @@
53
53
  "jessie.js": "^0.3.2"
54
54
  },
55
55
  "devDependencies": {
56
- "@agoric/cosmic-swingset": "0.41.4-dev-5eb596e.0+5eb596e",
57
- "@agoric/deploy-script-support": "0.10.4-dev-5eb596e.0+5eb596e",
58
- "@agoric/smart-wallet": "0.5.4-dev-5eb596e.0+5eb596e",
59
- "@agoric/swing-store": "0.9.2-dev-5eb596e.0+5eb596e",
60
- "@agoric/swingset-liveslots": "0.10.3-dev-5eb596e.0+5eb596e",
56
+ "@agoric/cosmic-swingset": "0.41.4-dev-e6e23eb.0+e6e23eb",
57
+ "@agoric/deploy-script-support": "0.10.4-dev-e6e23eb.0+e6e23eb",
58
+ "@agoric/smart-wallet": "0.5.4-dev-e6e23eb.0+e6e23eb",
59
+ "@agoric/swing-store": "0.9.2-dev-e6e23eb.0+e6e23eb",
60
+ "@agoric/swingset-liveslots": "0.10.3-dev-e6e23eb.0+e6e23eb",
61
61
  "@endo/bundle-source": "^2.5.2",
62
62
  "@endo/captp": "^3.1.2",
63
63
  "@endo/eventual-send": "^0.17.3",
@@ -87,5 +87,5 @@
87
87
  "timeout": "20m",
88
88
  "workerThreads": false
89
89
  },
90
- "gitHead": "5eb596e63bf4d5b416d4eff187e87af366b34928"
90
+ "gitHead": "e6e23eba10df33d32b027a61fd7bb7e382abc20c"
91
91
  }
package/src/vat-zoe.d.ts CHANGED
@@ -3,10 +3,12 @@ export function buildRootObject(vatPowers: any, _vatParams: any, zoeBaggage: any
3
3
  zoeService: ZoeService;
4
4
  feeMintAccess: FeeMintAccess;
5
5
  }>;
6
+ getZoeConfigFacet: () => any;
6
7
  } & import("@endo/eventual-send").RemotableBrand<{}, {
7
8
  buildZoe: (adminVat: any, feeIssuerConfig: any, zcfBundleName: any) => Promise<{
8
9
  zoeService: ZoeService;
9
10
  feeMintAccess: FeeMintAccess;
10
11
  }>;
12
+ getZoeConfigFacet: () => any;
11
13
  }>;
12
14
  //# sourceMappingURL=vat-zoe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vat-zoe.d.ts","sourceRoot":"","sources":["vat-zoe.js"],"names":[],"mappings":"AAKA;;;;;;;;;;GA0CC"}
1
+ {"version":3,"file":"vat-zoe.d.ts","sourceRoot":"","sources":["vat-zoe.js"],"names":[],"mappings":"AAKA;;;;;;;;;;;;GAgDC"}
package/src/vat-zoe.js CHANGED
@@ -6,15 +6,20 @@ const BUILD_PARAMS_KEY = 'buildZoeParams';
6
6
  export function buildRootObject(vatPowers, _vatParams, zoeBaggage) {
7
7
  const shutdownZoeVat = vatPowers.exitVatWithFailure;
8
8
 
9
+ let zoeConfigFacet;
10
+
9
11
  if (zoeBaggage.has(BUILD_PARAMS_KEY)) {
10
12
  const { feeIssuerConfig, zcfSpec } = zoeBaggage.get(BUILD_PARAMS_KEY);
11
- makeDurableZoeKit({
13
+ // The return value is `{ zoeService, zoeConfigFacet, feeMintAccess }`. This
14
+ // call only needs zoeConfigFacet because the others have been returned.
15
+ // zoeConfigFacet was added after the first release of Zoe on-chain.
16
+ ({ zoeConfigFacet } = makeDurableZoeKit({
12
17
  // For now Zoe will rewire vatAdminSvc on its own
13
18
  shutdownZoeVat,
14
19
  feeIssuerConfig,
15
20
  zcfSpec,
16
21
  zoeBaggage,
17
- });
22
+ }));
18
23
  }
19
24
 
20
25
  return Far('root', {
@@ -44,5 +49,6 @@ export function buildRootObject(vatPowers, _vatParams, zoeBaggage) {
44
49
  feeMintAccess,
45
50
  });
46
51
  },
52
+ getZoeConfigFacet: () => zoeConfigFacet,
47
53
  });
48
54
  }