agoric 0.21.2-dev-17c73b7.0 → 0.21.2-dev-074c43c.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 +20 -20
- package/src/scripts.js +11 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agoric",
|
|
3
|
-
"version": "0.21.2-dev-
|
|
3
|
+
"version": "0.21.2-dev-074c43c.0+074c43c",
|
|
4
4
|
"description": "Manage the Agoric Javascript smart contract platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/main.js",
|
|
@@ -29,35 +29,35 @@
|
|
|
29
29
|
"lint:eslint": "eslint ."
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@agoric/cosmic-swingset": "0.41.4-dev-
|
|
33
|
-
"@agoric/deploy-script-support": "0.10.4-dev-
|
|
32
|
+
"@agoric/cosmic-swingset": "0.41.4-dev-074c43c.0+074c43c",
|
|
33
|
+
"@agoric/deploy-script-support": "0.10.4-dev-074c43c.0+074c43c",
|
|
34
34
|
"ava": "^5.3.0",
|
|
35
35
|
"c8": "^9.1.0",
|
|
36
36
|
"dd-trace": "^4.11.1"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@agoric/access-token": "0.4.22-dev-
|
|
40
|
-
"@agoric/cache": "0.3.3-dev-
|
|
41
|
-
"@agoric/casting": "0.4.3-dev-
|
|
42
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
43
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
44
|
-
"@agoric/governance": "0.10.4-dev-
|
|
45
|
-
"@agoric/inter-protocol": "0.16.2-dev-
|
|
46
|
-
"@agoric/internal": "0.3.3-dev-
|
|
47
|
-
"@agoric/network": "0.1.1-dev-
|
|
48
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
49
|
-
"@agoric/store": "0.9.3-dev-
|
|
50
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
51
|
-
"@agoric/vats": "0.15.2-dev-
|
|
52
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
53
|
-
"@agoric/zone": "0.2.3-dev-
|
|
39
|
+
"@agoric/access-token": "0.4.22-dev-074c43c.0+074c43c",
|
|
40
|
+
"@agoric/cache": "0.3.3-dev-074c43c.0+074c43c",
|
|
41
|
+
"@agoric/casting": "0.4.3-dev-074c43c.0+074c43c",
|
|
42
|
+
"@agoric/cosmic-proto": "0.4.1-dev-074c43c.0+074c43c",
|
|
43
|
+
"@agoric/ertp": "0.16.3-dev-074c43c.0+074c43c",
|
|
44
|
+
"@agoric/governance": "0.10.4-dev-074c43c.0+074c43c",
|
|
45
|
+
"@agoric/inter-protocol": "0.16.2-dev-074c43c.0+074c43c",
|
|
46
|
+
"@agoric/internal": "0.3.3-dev-074c43c.0+074c43c",
|
|
47
|
+
"@agoric/network": "0.1.1-dev-074c43c.0+074c43c",
|
|
48
|
+
"@agoric/smart-wallet": "0.5.4-dev-074c43c.0+074c43c",
|
|
49
|
+
"@agoric/store": "0.9.3-dev-074c43c.0+074c43c",
|
|
50
|
+
"@agoric/swingset-vat": "0.32.3-dev-074c43c.0+074c43c",
|
|
51
|
+
"@agoric/vats": "0.15.2-dev-074c43c.0+074c43c",
|
|
52
|
+
"@agoric/zoe": "0.26.3-dev-074c43c.0+074c43c",
|
|
53
|
+
"@agoric/zone": "0.2.3-dev-074c43c.0+074c43c",
|
|
54
54
|
"@confio/relayer": "^0.11.3",
|
|
55
55
|
"@cosmjs/crypto": "^0.32.3",
|
|
56
56
|
"@cosmjs/encoding": "^0.32.3",
|
|
57
57
|
"@cosmjs/math": "^0.32.3",
|
|
58
58
|
"@cosmjs/proto-signing": "^0.32.3",
|
|
59
59
|
"@cosmjs/stargate": "^0.32.3",
|
|
60
|
-
"@endo/bundle-source": "^3.
|
|
60
|
+
"@endo/bundle-source": "^3.4.0",
|
|
61
61
|
"@endo/captp": "^4.2.2",
|
|
62
62
|
"@endo/compartment-mapper": "^1.2.1",
|
|
63
63
|
"@endo/env-options": "^1.1.5",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"typeCoverage": {
|
|
102
102
|
"atLeast": 77.36
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "074c43c8204f46dbc5179a498b7f004514528296"
|
|
105
105
|
}
|
package/src/scripts.js
CHANGED
|
@@ -161,8 +161,17 @@ export { bootPlugin } from ${JSON.stringify(absPath)};
|
|
|
161
161
|
|
|
162
162
|
const allEndowments = harden({
|
|
163
163
|
home: bootP,
|
|
164
|
-
|
|
165
|
-
|
|
164
|
+
/**
|
|
165
|
+
* @template {import('@endo/bundle-source').ModuleFormat} ModuleFormat
|
|
166
|
+
* @param {string} file
|
|
167
|
+
* @param {import('@endo/bundle-source').BundleOptions<ModuleFormat>} options
|
|
168
|
+
* @returns {Promise<import('@endo/bundle-source').BundleSourceResult<ModuleFormat>>}
|
|
169
|
+
*/
|
|
170
|
+
bundleSource: (file, options = {}) =>
|
|
171
|
+
bundleSource(pathResolve(file), {
|
|
172
|
+
elideComments: true,
|
|
173
|
+
...options,
|
|
174
|
+
}),
|
|
166
175
|
...endowments,
|
|
167
176
|
pathResolve,
|
|
168
177
|
installUnsafePlugin,
|