@agoric/zoe 0.27.0-u21.0.1 → 0.27.0-u22.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/bundles/bundle-contractFacet-js-meta.json +291 -281
- package/bundles/bundle-contractFacet.d.ts +3 -3
- package/bundles/bundle-contractFacet.js +1 -1
- package/package.json +32 -33
- package/tools/setup-zoe.d.ts +1 -1
- package/tools/setup-zoe.d.ts.map +1 -1
- package/tools/setup-zoe.js +4 -2
- package/bundles/bundle-valueVow.contract-js-meta.json +0 -545
- package/bundles/bundle-valueVow.contract.js +0 -1
- package/bundles/zcf.b64 +0 -1
- package/bundles/zcf.zip +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/zoe",
|
|
3
|
-
"version": "0.27.0-
|
|
3
|
+
"version": "0.27.0-u22.0",
|
|
4
4
|
"description": "Zoe: the Smart Contract Framework for Offer Enforcement",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/zoeService/zoe.js",
|
|
@@ -11,9 +11,9 @@
|
|
|
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
|
|
14
|
+
"postpack": "git clean -f '*.d.*ts*' '*.tsbuildinfo'",
|
|
15
15
|
"test": "ava --verbose",
|
|
16
|
-
"test:c8": "c8 --all $C8_OPTIONS ava",
|
|
16
|
+
"test:c8": "c8 --all ${C8_OPTIONS:-} ava",
|
|
17
17
|
"test:unit": "ava 'test/unitTests' -T 1m --verbose",
|
|
18
18
|
"test:swingset": "ava 'test/swingsetTests' -T 10m --verbose",
|
|
19
19
|
"test:xs": "yarn test:xs-worker",
|
|
@@ -43,40 +43,39 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@agoric/base-zone": "0.
|
|
47
|
-
"@agoric/ertp": "0.
|
|
48
|
-
"@agoric/internal": "0.4.0-
|
|
49
|
-
"@agoric/notifier": "0.7.0-
|
|
50
|
-
"@agoric/store": "0.
|
|
51
|
-
"@agoric/swingset-liveslots": "0.
|
|
52
|
-
"@agoric/swingset-vat": "0.33.0-
|
|
53
|
-
"@agoric/time": "0.
|
|
54
|
-
"@agoric/vat-data": "0.
|
|
55
|
-
"@agoric/vow": "0.2.0-
|
|
56
|
-
"@agoric/zone": "0.3.0-
|
|
57
|
-
"@endo/bundle-source": "^4.
|
|
58
|
-
"@endo/captp": "^4.4.
|
|
59
|
-
"@endo/common": "^1.2.
|
|
60
|
-
"@endo/errors": "^1.2.
|
|
61
|
-
"@endo/eventual-send": "^1.3.
|
|
62
|
-
"@endo/exo": "^1.5.
|
|
63
|
-
"@endo/far": "^1.1.
|
|
64
|
-
"@endo/import-bundle": "^1.
|
|
65
|
-
"@endo/marshal": "^1.
|
|
66
|
-
"@endo/nat": "^5.1.
|
|
67
|
-
"@endo/pass-style": "^1.
|
|
68
|
-
"@endo/patterns": "^1.
|
|
69
|
-
"@endo/promise-kit": "^1.1.
|
|
46
|
+
"@agoric/base-zone": "0.2.0-u22.0",
|
|
47
|
+
"@agoric/ertp": "0.17.0-u22.0",
|
|
48
|
+
"@agoric/internal": "0.4.0-u22.0",
|
|
49
|
+
"@agoric/notifier": "0.7.0-u22.0",
|
|
50
|
+
"@agoric/store": "0.10.0-u22.0",
|
|
51
|
+
"@agoric/swingset-liveslots": "0.11.0-u22.0",
|
|
52
|
+
"@agoric/swingset-vat": "0.33.0-u22.0",
|
|
53
|
+
"@agoric/time": "0.4.0-u22.0",
|
|
54
|
+
"@agoric/vat-data": "0.6.0-u22.0",
|
|
55
|
+
"@agoric/vow": "0.2.0-u22.0",
|
|
56
|
+
"@agoric/zone": "0.3.0-u22.0",
|
|
57
|
+
"@endo/bundle-source": "^4.1.2",
|
|
58
|
+
"@endo/captp": "^4.4.8",
|
|
59
|
+
"@endo/common": "^1.2.13",
|
|
60
|
+
"@endo/errors": "^1.2.13",
|
|
61
|
+
"@endo/eventual-send": "^1.3.4",
|
|
62
|
+
"@endo/exo": "^1.5.12",
|
|
63
|
+
"@endo/far": "^1.1.14",
|
|
64
|
+
"@endo/import-bundle": "^1.5.2",
|
|
65
|
+
"@endo/marshal": "^1.8.0",
|
|
66
|
+
"@endo/nat": "^5.1.3",
|
|
67
|
+
"@endo/pass-style": "^1.6.3",
|
|
68
|
+
"@endo/patterns": "^1.7.0",
|
|
69
|
+
"@endo/promise-kit": "^1.1.13",
|
|
70
70
|
"yargs-parser": "^21.1.1"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@agoric/kmarshal": "0.
|
|
74
|
-
"@
|
|
75
|
-
"@endo/init": "^1.1.9",
|
|
73
|
+
"@agoric/kmarshal": "0.2.0-u22.0",
|
|
74
|
+
"@endo/init": "^1.1.12",
|
|
76
75
|
"ava": "^5.3.0",
|
|
77
76
|
"c8": "^10.1.3",
|
|
78
77
|
"import-meta-resolve": "^4.1.0",
|
|
79
|
-
"tsd": "^0.
|
|
78
|
+
"tsd": "^0.33.0"
|
|
80
79
|
},
|
|
81
80
|
"files": [
|
|
82
81
|
"bundles/",
|
|
@@ -99,7 +98,7 @@
|
|
|
99
98
|
"access": "public"
|
|
100
99
|
},
|
|
101
100
|
"typeCoverage": {
|
|
102
|
-
"atLeast": 84.
|
|
101
|
+
"atLeast": 84.66
|
|
103
102
|
},
|
|
104
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "dbf78c32d14bf4a38bfd7a10d061011a0ff368e6"
|
|
105
104
|
}
|
package/tools/setup-zoe.d.ts
CHANGED
|
@@ -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;
|
package/tools/setup-zoe.d.ts.map
CHANGED
|
@@ -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;;;
|
|
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"}
|
package/tools/setup-zoe.js
CHANGED
|
@@ -78,6 +78,7 @@ export const setUpZoeForTest = async ({
|
|
|
78
78
|
);
|
|
79
79
|
// Copy all the properties so this object can be hardened.
|
|
80
80
|
const exports = { ...pathOrExports };
|
|
81
|
+
// @ts-expect-error Test bundle type needs to make 'test' const.
|
|
81
82
|
return bundleTestExports(exports);
|
|
82
83
|
}
|
|
83
84
|
};
|
|
@@ -88,15 +89,16 @@ export const setUpZoeForTest = async ({
|
|
|
88
89
|
* upon in tests of this variety.
|
|
89
90
|
*
|
|
90
91
|
* @param {object} pathOrExports
|
|
92
|
+
* @param {string} [bundleId]
|
|
91
93
|
* @returns {Promise<Installation>}
|
|
92
94
|
*/
|
|
93
|
-
const bundleAndInstall = async pathOrExports => {
|
|
95
|
+
const bundleAndInstall = async (pathOrExports, bundleId) => {
|
|
94
96
|
const bundle = await bundleModule(pathOrExports);
|
|
95
97
|
assert(
|
|
96
98
|
vatAdminState,
|
|
97
99
|
'bundleAndInstall called before vatAdminState defined',
|
|
98
100
|
);
|
|
99
|
-
const id = `b1-zoe-test-${Math.random()}`;
|
|
101
|
+
const id = bundleId || `b1-zoe-test-${Math.random()}`;
|
|
100
102
|
vatAdminState.installBundle(id, bundle);
|
|
101
103
|
return E(zoeService).installBundleID(id);
|
|
102
104
|
};
|