agoric 0.21.2-dev-d34e615.0.d34e615 → 0.21.2-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 +26 -26
- package/src/deploy.js +7 -1
- package/src/entrypoint.js +1 -0
- package/src/sdk-package-names.js +2 -0
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-65740e1.0.65740e1",
|
|
4
4
|
"description": "Manage the Agoric Javascript smart contract platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/main.js",
|
|
@@ -30,33 +30,33 @@
|
|
|
30
30
|
"lint:eslint": "yarn run -T eslint ."
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@agoric/cosmic-swingset": "0.41.4-dev-
|
|
34
|
-
"@agoric/deploy-script-support": "0.10.4-dev-
|
|
33
|
+
"@agoric/cosmic-swingset": "0.41.4-dev-65740e1.0.65740e1",
|
|
34
|
+
"@agoric/deploy-script-support": "0.10.4-dev-65740e1.0.65740e1",
|
|
35
35
|
"ava": "^5.3.0",
|
|
36
36
|
"c8": "^10.1.2"
|
|
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/client-utils": "0.1.1-dev-
|
|
43
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
44
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
45
|
-
"@agoric/governance": "0.10.4-dev-
|
|
46
|
-
"@agoric/inter-protocol": "0.16.2-dev-
|
|
47
|
-
"@agoric/internal": "0.3.3-dev-
|
|
48
|
-
"@agoric/network": "0.1.1-dev-
|
|
49
|
-
"@agoric/smart-wallet": "0.5.4-dev-
|
|
50
|
-
"@agoric/store": "0.9.3-dev-
|
|
51
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
52
|
-
"@agoric/vats": "0.15.2-dev-
|
|
53
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
54
|
-
"@agoric/zone": "0.2.3-dev-
|
|
55
|
-
"@cosmjs/crypto": "^0.
|
|
56
|
-
"@cosmjs/encoding": "^0.
|
|
57
|
-
"@cosmjs/math": "^0.
|
|
58
|
-
"@cosmjs/proto-signing": "^0.
|
|
59
|
-
"@cosmjs/stargate": "^0.
|
|
39
|
+
"@agoric/access-token": "0.4.22-dev-65740e1.0.65740e1",
|
|
40
|
+
"@agoric/cache": "0.3.3-dev-65740e1.0.65740e1",
|
|
41
|
+
"@agoric/casting": "0.4.3-dev-65740e1.0.65740e1",
|
|
42
|
+
"@agoric/client-utils": "0.1.1-dev-65740e1.0.65740e1",
|
|
43
|
+
"@agoric/cosmic-proto": "0.4.1-dev-65740e1.0.65740e1",
|
|
44
|
+
"@agoric/ertp": "0.16.3-dev-65740e1.0.65740e1",
|
|
45
|
+
"@agoric/governance": "0.10.4-dev-65740e1.0.65740e1",
|
|
46
|
+
"@agoric/inter-protocol": "0.16.2-dev-65740e1.0.65740e1",
|
|
47
|
+
"@agoric/internal": "0.3.3-dev-65740e1.0.65740e1",
|
|
48
|
+
"@agoric/network": "0.1.1-dev-65740e1.0.65740e1",
|
|
49
|
+
"@agoric/smart-wallet": "0.5.4-dev-65740e1.0.65740e1",
|
|
50
|
+
"@agoric/store": "0.9.3-dev-65740e1.0.65740e1",
|
|
51
|
+
"@agoric/swingset-vat": "0.32.3-dev-65740e1.0.65740e1",
|
|
52
|
+
"@agoric/vats": "0.15.2-dev-65740e1.0.65740e1",
|
|
53
|
+
"@agoric/zoe": "0.26.3-dev-65740e1.0.65740e1",
|
|
54
|
+
"@agoric/zone": "0.2.3-dev-65740e1.0.65740e1",
|
|
55
|
+
"@cosmjs/crypto": "^0.36.0",
|
|
56
|
+
"@cosmjs/encoding": "^0.36.0",
|
|
57
|
+
"@cosmjs/math": "^0.36.0",
|
|
58
|
+
"@cosmjs/proto-signing": "^0.36.0",
|
|
59
|
+
"@cosmjs/stargate": "^0.36.0",
|
|
60
60
|
"@endo/base64": "^1.0.12",
|
|
61
61
|
"@endo/bundle-source": "^4.1.2",
|
|
62
62
|
"@endo/captp": "^4.4.8",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"workerThreads": false
|
|
100
100
|
},
|
|
101
101
|
"typeCoverage": {
|
|
102
|
-
"atLeast": 79.
|
|
102
|
+
"atLeast": 79.88
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "65740e135c794987d86381deef225a83eefcdefd"
|
|
105
105
|
}
|
package/src/deploy.js
CHANGED
|
@@ -190,6 +190,12 @@ const connectAndRun = async (
|
|
|
190
190
|
return retryWebsocket().then(() => exit.promise);
|
|
191
191
|
};
|
|
192
192
|
|
|
193
|
+
/**
|
|
194
|
+
* @param {string} progname
|
|
195
|
+
* @param {string[]} rawArgs
|
|
196
|
+
* @param {{ makeWebSocket?: (...args: ConstructorParameters<typeof WebSocket>) => WebSocket; anylogger: (name: string) => Console; now?: () => number; fs?: any; }} powers
|
|
197
|
+
* @param {{ allowUnsafePlugins: any; provide: string; sdk: any; need: string; hostport: string; target: string | number | undefined; scriptArgs: any; }} opts
|
|
198
|
+
*/
|
|
193
199
|
export default async function deployMain(progname, rawArgs, powers, opts) {
|
|
194
200
|
const { anylogger, now, fs } = powers;
|
|
195
201
|
const console = anylogger('agoric:deploy');
|
|
@@ -238,7 +244,7 @@ export default async function deployMain(progname, rawArgs, powers, opts) {
|
|
|
238
244
|
|
|
239
245
|
const match = opts.hostport.match(/^(.*):(\d+)$/);
|
|
240
246
|
const host = match ? match[1] : 'localhost';
|
|
241
|
-
const port = match ? match[2] :
|
|
247
|
+
const port = match ? +match[2] : 8000;
|
|
242
248
|
|
|
243
249
|
const wsurl = opts.hostport.includes('//')
|
|
244
250
|
? new URL(opts.hostport, 'ws://localhost:8000')
|
package/src/entrypoint.js
CHANGED
|
@@ -21,6 +21,7 @@ const log = anylogger('agoric');
|
|
|
21
21
|
const progname = path.basename(process.argv[1]);
|
|
22
22
|
|
|
23
23
|
const stdout = str => process.stdout.write(str);
|
|
24
|
+
/** @type {(...args: ConstructorParameters<typeof WebSocket>) => WebSocket} */
|
|
24
25
|
const makeWebSocket = (...args) => new WebSocket(...args);
|
|
25
26
|
|
|
26
27
|
const rawArgs = process.argv.slice(2);
|
package/src/sdk-package-names.js
CHANGED
|
@@ -9,6 +9,7 @@ export default [
|
|
|
9
9
|
"@aglocal/portfolio-contract",
|
|
10
10
|
"@aglocal/portfolio-deploy",
|
|
11
11
|
"@aglocal/swingset-runner",
|
|
12
|
+
"@aglocal/ymax-planner",
|
|
12
13
|
"@agoric/access-token",
|
|
13
14
|
"@agoric/async-flow",
|
|
14
15
|
"@agoric/base-zone",
|
|
@@ -34,6 +35,7 @@ export default [
|
|
|
34
35
|
"@agoric/orchestration",
|
|
35
36
|
"@agoric/pegasus",
|
|
36
37
|
"@agoric/pola-io",
|
|
38
|
+
"@agoric/portfolio-api",
|
|
37
39
|
"@agoric/smart-wallet",
|
|
38
40
|
"@agoric/solo",
|
|
39
41
|
"@agoric/sparse-ints",
|