@agoric/deploy-script-support 0.10.4-ymax-v0.2-alpha-dev-a527ef4.0 → 0.11.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/deploy-script-support",
3
- "version": "0.10.4-ymax-v0.2-alpha-dev-a527ef4.0+a527ef4",
3
+ "version": "0.11.0-u22.0",
4
4
  "description": "Helpers and other support for writing deploy scripts",
5
5
  "type": "module",
6
6
  "main": "src/helpers.js",
@@ -34,26 +34,26 @@
34
34
  },
35
35
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
36
36
  "dependencies": {
37
- "@agoric/ertp": "workspace:*",
38
- "@agoric/import-manager": "workspace:*",
39
- "@agoric/internal": "workspace:*",
40
- "@agoric/notifier": "workspace:*",
41
- "@agoric/pola-io": "workspace:*",
42
- "@agoric/store": "workspace:*",
43
- "@agoric/time": "workspace:*",
44
- "@agoric/zoe": "workspace:*",
45
- "@endo/base64": "^1.0.9",
46
- "@endo/bundle-source": "^4.0.0",
47
- "@endo/errors": "^1.2.10",
48
- "@endo/far": "^1.1.11",
49
- "@endo/marshal": "^1.6.4",
50
- "@endo/nat": "^5.1.0",
51
- "@endo/promise-kit": "^1.1.10",
52
- "@endo/zip": "^1.0.9"
37
+ "@agoric/ertp": "0.17.0-u22.0",
38
+ "@agoric/import-manager": "0.3.12-u22.0",
39
+ "@agoric/internal": "0.4.0-u22.0",
40
+ "@agoric/notifier": "0.7.0-u22.0",
41
+ "@agoric/pola-io": "0.2.0-u22.0",
42
+ "@agoric/store": "0.10.0-u22.0",
43
+ "@agoric/time": "0.4.0-u22.0",
44
+ "@agoric/zoe": "0.27.0-u22.0",
45
+ "@endo/base64": "^1.0.12",
46
+ "@endo/bundle-source": "^4.1.2",
47
+ "@endo/errors": "^1.2.13",
48
+ "@endo/far": "^1.1.14",
49
+ "@endo/marshal": "^1.8.0",
50
+ "@endo/nat": "^5.1.3",
51
+ "@endo/promise-kit": "^1.1.13",
52
+ "@endo/zip": "^1.0.11"
53
53
  },
54
54
  "devDependencies": {
55
- "@agoric/vats": "workspace:*",
56
- "@endo/init": "^1.1.9",
55
+ "@agoric/vats": "0.16.0-u22.0",
56
+ "@endo/init": "^1.1.12",
57
57
  "ava": "^5.3.0",
58
58
  "import-meta-resolve": "^4.1.0"
59
59
  },
@@ -73,7 +73,7 @@
73
73
  "access": "public"
74
74
  },
75
75
  "typeCoverage": {
76
- "atLeast": 83.27
76
+ "atLeast": 83.26
77
77
  },
78
- "gitHead": "a527ef456b970107c2395833dce9abd87689959e"
78
+ "gitHead": "dbf78c32d14bf4a38bfd7a10d061011a0ff368e6"
79
79
  }
@@ -34,7 +34,7 @@ import { toCLIOptions } from '@agoric/internal/src/cli-utils.js';
34
34
  *
35
35
  * @param {CmdRunner} agoric
36
36
  * @param {FileRd} builder
37
- * @param {Record<string, string | string[]>} [builderOpts]
37
+ * @param {string[]} [builderOpts]
38
38
  * @param {{cwd?: FileRd}} [io]
39
39
  *
40
40
  * @returns {Promise<Plan>}
@@ -49,12 +49,10 @@ import { toCLIOptions } from '@agoric/internal/src/cli-utils.js';
49
49
  export const runBuilder = async (
50
50
  agoric,
51
51
  builder,
52
- builderOpts = {},
52
+ builderOpts = [],
53
53
  { cwd = builder.join('../../') } = {},
54
54
  ) => {
55
- const cmd = agoric.withFlags(
56
- ...(builderOpts ? toCLIOptions(builderOpts) : []),
57
- );
55
+ const cmd = agoric.withFlags(...builderOpts);
58
56
  const { stdout } = await cmd.exec(['run', String(builder)]);
59
57
  const match = stdout?.match(/ (?<name>[-\w]+)-permit.json/);
60
58
  if (!(match && match.groups)) {
@@ -89,7 +87,8 @@ export const txFlags = ({
89
87
  export const waitForBlock = async (agd, n = 1) => {
90
88
  const getHeight = async () => {
91
89
  const { stdout } = await agd.exec(['status']);
92
- const { latest_block_height: height } = JSON.parse(stdout).SyncInfo;
90
+ const status = JSON.parse(stdout);
91
+ const { latest_block_height: height } = status.sync_info || status.SyncInfo;
93
92
  return height;
94
93
  };
95
94
  const initialHeight = await getHeight();