@agoric/zoe 0.26.3-dev-d34e615.0.d34e615 → 0.26.3-dev-65740e1.0.65740e1

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/zoe",
3
- "version": "0.26.3-dev-d34e615.0.d34e615",
3
+ "version": "0.26.3-dev-65740e1.0.65740e1",
4
4
  "description": "Zoe: the Smart Contract Framework for Offer Enforcement",
5
5
  "type": "module",
6
6
  "main": "./src/zoeService/zoe.js",
@@ -11,7 +11,7 @@
11
11
  "build": "yarn build:bundles",
12
12
  "build:bundles": "node scripts/build-bundles.js",
13
13
  "prepack": "yarn run -T tsc --build tsconfig.build.json",
14
- "postpack": "git clean -f '*.d.ts*' '*.tsbuildinfo'",
14
+ "postpack": "git clean -f '*.d.*ts*' '*.tsbuildinfo'",
15
15
  "test": "ava --verbose",
16
16
  "test:c8": "c8 --all ${C8_OPTIONS:-} ava",
17
17
  "test:unit": "ava 'test/unitTests' -T 1m --verbose",
@@ -43,17 +43,17 @@
43
43
  },
44
44
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
45
45
  "dependencies": {
46
- "@agoric/base-zone": "0.1.1-dev-d34e615.0.d34e615",
47
- "@agoric/ertp": "0.16.3-dev-d34e615.0.d34e615",
48
- "@agoric/internal": "0.3.3-dev-d34e615.0.d34e615",
49
- "@agoric/notifier": "0.6.3-dev-d34e615.0.d34e615",
50
- "@agoric/store": "0.9.3-dev-d34e615.0.d34e615",
51
- "@agoric/swingset-liveslots": "0.10.3-dev-d34e615.0.d34e615",
52
- "@agoric/swingset-vat": "0.32.3-dev-d34e615.0.d34e615",
53
- "@agoric/time": "0.3.3-dev-d34e615.0.d34e615",
54
- "@agoric/vat-data": "0.5.3-dev-d34e615.0.d34e615",
55
- "@agoric/vow": "0.1.1-dev-d34e615.0.d34e615",
56
- "@agoric/zone": "0.2.3-dev-d34e615.0.d34e615",
46
+ "@agoric/base-zone": "0.1.1-dev-65740e1.0.65740e1",
47
+ "@agoric/ertp": "0.16.3-dev-65740e1.0.65740e1",
48
+ "@agoric/internal": "0.3.3-dev-65740e1.0.65740e1",
49
+ "@agoric/notifier": "0.6.3-dev-65740e1.0.65740e1",
50
+ "@agoric/store": "0.9.3-dev-65740e1.0.65740e1",
51
+ "@agoric/swingset-liveslots": "0.10.3-dev-65740e1.0.65740e1",
52
+ "@agoric/swingset-vat": "0.32.3-dev-65740e1.0.65740e1",
53
+ "@agoric/time": "0.3.3-dev-65740e1.0.65740e1",
54
+ "@agoric/vat-data": "0.5.3-dev-65740e1.0.65740e1",
55
+ "@agoric/vow": "0.1.1-dev-65740e1.0.65740e1",
56
+ "@agoric/zone": "0.2.3-dev-65740e1.0.65740e1",
57
57
  "@endo/bundle-source": "^4.1.2",
58
58
  "@endo/captp": "^4.4.8",
59
59
  "@endo/common": "^1.2.13",
@@ -70,8 +70,8 @@
70
70
  "yargs-parser": "^21.1.1"
71
71
  },
72
72
  "devDependencies": {
73
- "@agoric/kmarshal": "0.1.1-dev-d34e615.0.d34e615",
74
- "@agoric/xsnap": "0.14.3-dev-d34e615.0.d34e615",
73
+ "@agoric/kmarshal": "0.1.1-dev-65740e1.0.65740e1",
74
+ "@agoric/xsnap": "0.14.3-dev-65740e1.0.65740e1",
75
75
  "@endo/init": "^1.1.12",
76
76
  "ava": "^5.3.0",
77
77
  "c8": "^10.1.3",
@@ -101,5 +101,5 @@
101
101
  "typeCoverage": {
102
102
  "atLeast": 84.66
103
103
  },
104
- "gitHead": "d34e615197fd9a78543e25932f995e1084f0aaa6"
104
+ "gitHead": "65740e135c794987d86381deef225a83eefcdefd"
105
105
  }
@@ -15,7 +15,7 @@ export function setUpZoeForTest<T extends unknown = any>({ setJig, feeIssuerConf
15
15
  }): Promise<{
16
16
  zoe: import("@endo/exo").Guarded<globalThis.ZoeService>;
17
17
  feeMintAccessP: FeeMintAccess;
18
- bundleAndInstall: (pathOrExports: object) => Promise<Installation>;
18
+ bundleAndInstall: (pathOrExports: object, bundleId?: string) => Promise<Installation>;
19
19
  vatAdminSvc: VatAdminSvc;
20
20
  vatAdminState: {
21
21
  getExitMessage: () => any;
@@ -1 +1 @@
1
- {"version":3,"file":"setup-zoe.d.ts","sourceRoot":"","sources":["setup-zoe.js"],"names":[],"mappings":"AAgBO,gDAFI,WAAW;;;;;;;EAOrB;AAKM,6CAFI,WAAW,sDAGqB;AAapC,gCAPgB,CAAC,mFAErB;IAAmC,MAAM,UAA3B,CAAC,KAAK,IAAI;IACU,eAAe;IACnB,WAAW;IACf,aAAa;CAAC;;;sCAoD9B,MAAM,KACJ,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;GAoBnC;qCArG+C,uBAAuB;kCAAvB,uBAAuB;yCADrB,sBAAsB;gCAAtB,sBAAsB"}
1
+ {"version":3,"file":"setup-zoe.d.ts","sourceRoot":"","sources":["setup-zoe.js"],"names":[],"mappings":"AAgBO,gDAFI,WAAW;;;;;;;EAOrB;AAKM,6CAFI,WAAW,sDAGqB;AAapC,gCAPgB,CAAC,mFAErB;IAAmC,MAAM,UAA3B,CAAC,KAAK,IAAI;IACU,eAAe;IACnB,WAAW;IACf,aAAa;CAAC;;;sCAoD9B,MAAM,aACN,MAAM,KACJ,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;GAoBnC;qCAtG+C,uBAAuB;kCAAvB,uBAAuB;yCADrB,sBAAsB;gCAAtB,sBAAsB"}
@@ -89,15 +89,16 @@ export const setUpZoeForTest = async ({
89
89
  * upon in tests of this variety.
90
90
  *
91
91
  * @param {object} pathOrExports
92
+ * @param {string} [bundleId]
92
93
  * @returns {Promise<Installation>}
93
94
  */
94
- const bundleAndInstall = async pathOrExports => {
95
+ const bundleAndInstall = async (pathOrExports, bundleId) => {
95
96
  const bundle = await bundleModule(pathOrExports);
96
97
  assert(
97
98
  vatAdminState,
98
99
  'bundleAndInstall called before vatAdminState defined',
99
100
  );
100
- const id = `b1-zoe-test-${Math.random()}`;
101
+ const id = bundleId || `b1-zoe-test-${Math.random()}`;
101
102
  vatAdminState.installBundle(id, bundle);
102
103
  return E(zoeService).installBundleID(id);
103
104
  };