@agoric/deploy-script-support 0.10.4-dev-42a6f7b.0 → 0.10.4-dev-fafdb78.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-dev-42a6f7b.0+42a6f7b",
3
+ "version": "0.10.4-dev-fafdb78.0+fafdb78",
4
4
  "description": "Helpers and other support for writing deploy scripts",
5
5
  "type": "module",
6
6
  "main": "src/helpers.js",
@@ -75,5 +75,5 @@
75
75
  "typeCoverage": {
76
76
  "atLeast": 83.92
77
77
  },
78
- "gitHead": "42a6f7ba8fb40d6462177e61424266625a7a69bd"
78
+ "gitHead": "fafdb78c067dcc1cf7403527e38fc4e849643d15"
79
79
  }
@@ -13,7 +13,7 @@
13
13
  * @see {installBundles}
14
14
  * @see {submitCoreEval}
15
15
  */
16
- import { flags } from '@agoric/pola-io';
16
+ import { toCLIOptions } from '@agoric/internal/src/cli-utils.js';
17
17
 
18
18
  /**
19
19
  * @import {CmdRunner} from '@agoric/pola-io';
@@ -52,7 +52,9 @@ export const runBuilder = async (
52
52
  builderOpts = {},
53
53
  { cwd = builder.join('../../') } = {},
54
54
  ) => {
55
- const cmd = agoric.withFlags(...(builderOpts ? flags(builderOpts) : []));
55
+ const cmd = agoric.withFlags(
56
+ ...(builderOpts ? toCLIOptions(builderOpts) : []),
57
+ );
56
58
  const { stdout } = await cmd.exec(['run', String(builder)]);
57
59
  const match = stdout?.match(/ (?<name>[-\w]+)-permit.json/);
58
60
  if (!(match && match.groups)) {
@@ -163,5 +165,5 @@ export const submitCoreEval = async (
163
165
  runTx(agd, [
164
166
  ...'gov submit-proposal swingset-core-eval'.split(' '),
165
167
  ...evals.map(e => [e.permit, e.script]).flat(),
166
- ...flags({ title, description, deposit }),
168
+ ...toCLIOptions({ title, description, deposit }),
167
169
  ]);