@agoric/builders 0.1.1-dev-55a0902.0 → 0.1.1-dev-1cea34c.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/builders",
3
- "version": "0.1.1-dev-55a0902.0+55a0902",
3
+ "version": "0.1.1-dev-1cea34c.0+1cea34c",
4
4
  "description": "Build scripts for proposals to an Agoric chain",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -23,14 +23,14 @@
23
23
  "author": "Agoric",
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@agoric/ertp": "0.16.3-dev-55a0902.0+55a0902",
27
- "@agoric/internal": "0.3.3-dev-55a0902.0+55a0902",
28
- "@agoric/network": "0.1.1-dev-55a0902.0+55a0902",
29
- "@agoric/notifier": "0.6.3-dev-55a0902.0+55a0902",
30
- "@agoric/smart-wallet": "0.5.4-dev-55a0902.0+55a0902",
31
- "@agoric/vat-data": "0.5.3-dev-55a0902.0+55a0902",
32
- "@agoric/vats": "0.15.2-dev-55a0902.0+55a0902",
33
- "@agoric/zoe": "0.26.3-dev-55a0902.0+55a0902",
26
+ "@agoric/ertp": "0.16.3-dev-1cea34c.0+1cea34c",
27
+ "@agoric/internal": "0.3.3-dev-1cea34c.0+1cea34c",
28
+ "@agoric/network": "0.1.1-dev-1cea34c.0+1cea34c",
29
+ "@agoric/notifier": "0.6.3-dev-1cea34c.0+1cea34c",
30
+ "@agoric/smart-wallet": "0.5.4-dev-1cea34c.0+1cea34c",
31
+ "@agoric/vat-data": "0.5.3-dev-1cea34c.0+1cea34c",
32
+ "@agoric/vats": "0.15.2-dev-1cea34c.0+1cea34c",
33
+ "@agoric/zoe": "0.26.3-dev-1cea34c.0+1cea34c",
34
34
  "@endo/bundle-source": "^3.0.2",
35
35
  "@endo/captp": "^4.0.2",
36
36
  "@endo/eventual-send": "^1.1.0",
@@ -42,14 +42,14 @@
42
42
  "import-meta-resolve": "^2.2.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@agoric/assert": "0.6.1-dev-55a0902.0+55a0902",
46
- "@agoric/deploy-script-support": "0.10.4-dev-55a0902.0+55a0902",
47
- "@agoric/governance": "0.10.4-dev-55a0902.0+55a0902",
48
- "@agoric/inter-protocol": "0.16.2-dev-55a0902.0+55a0902",
49
- "@agoric/store": "0.9.3-dev-55a0902.0+55a0902",
50
- "@agoric/swing-store": "0.9.2-dev-55a0902.0+55a0902",
51
- "@agoric/swingset-liveslots": "0.10.3-dev-55a0902.0+55a0902",
52
- "@agoric/time": "0.3.3-dev-55a0902.0+55a0902",
45
+ "@agoric/assert": "0.6.1-dev-1cea34c.0+1cea34c",
46
+ "@agoric/deploy-script-support": "0.10.4-dev-1cea34c.0+1cea34c",
47
+ "@agoric/governance": "0.10.4-dev-1cea34c.0+1cea34c",
48
+ "@agoric/inter-protocol": "0.16.2-dev-1cea34c.0+1cea34c",
49
+ "@agoric/store": "0.9.3-dev-1cea34c.0+1cea34c",
50
+ "@agoric/swing-store": "0.9.2-dev-1cea34c.0+1cea34c",
51
+ "@agoric/swingset-liveslots": "0.10.3-dev-1cea34c.0+1cea34c",
52
+ "@agoric/time": "0.3.3-dev-1cea34c.0+1cea34c",
53
53
  "ava": "^5.3.0",
54
54
  "c8": "^7.13.0"
55
55
  },
@@ -81,5 +81,5 @@
81
81
  "typeCoverage": {
82
82
  "atLeast": 67.05
83
83
  },
84
- "gitHead": "55a09026e240a75c7ea13c4d679302b8e0238d20"
84
+ "gitHead": "1cea34c3072bf77eaef776b819672bbf5641c7c2"
85
85
  }
@@ -112,6 +112,7 @@ export default async (homeP, endowments) => {
112
112
 
113
113
  await writeCoreProposal('gov-add-collateral', defaultProposalBuilder);
114
114
  await writeCoreProposal('gov-start-psm', opts =>
115
+ // @ts-expect-error XXX makeInstallCache types
115
116
  psmProposalBuilder({ ...opts, wrapInstall: tool.wrapInstall }),
116
117
  );
117
118
  };
@@ -192,9 +192,11 @@ export default async (homeP, endowments) => {
192
192
  });
193
193
  await Promise.all([
194
194
  writeCoreProposal('gov-econ-committee', opts =>
195
+ // @ts-expect-error XXX makeInstallCache types
195
196
  committeeProposalBuilder({ ...opts, wrapInstall: tool.wrapInstall }),
196
197
  ),
197
198
  writeCoreProposal('gov-amm-vaults-etc', opts =>
199
+ // @ts-expect-error XXX makeInstallCache types
198
200
  mainProposalBuilder({ ...opts, wrapInstall: tool.wrapInstall }),
199
201
  ),
200
202
  ]);
@@ -27,7 +27,6 @@ export const game1ProposalBuilder = async ({ publishRef, install }) => {
27
27
  });
28
28
  };
29
29
 
30
- /** @type {DeployScriptFunction} */
31
30
  export default async (homeP, endowments) => {
32
31
  const { writeCoreProposal } = await makeHelpers(homeP, endowments);
33
32
  await writeCoreProposal('start-game1', game1ProposalBuilder);
@@ -16,7 +16,6 @@ export const defaultProposalBuilder = async ({ publishRef, install }) =>
16
16
  'getManifestForUpgradeWallet',
17
17
  {
18
18
  walletRef: publishRef(
19
- // @ts-expect-error eslint is confused. The call is correct.
20
19
  install('@agoric/smart-wallet/src/walletFactory.js'),
21
20
  ),
22
21
  },
@@ -28,7 +28,6 @@ export const defaultProposalBuilder = async ({ publishRef, install }) => {
28
28
  });
29
29
  };
30
30
 
31
- /** @type {DeployScriptFunction} */
32
31
  export default async (homeP, endowments) => {
33
32
  const { writeCoreProposal } = await makeHelpers(homeP, endowments);
34
33
  await writeCoreProposal('upgrade-walletFactory', defaultProposalBuilder);
@@ -10,7 +10,7 @@ if (!spec) {
10
10
  }
11
11
 
12
12
  const vatConfigFile = require.resolve(spec);
13
- const configJson = fs.readFileSync(vatConfigFile);
13
+ const configJson = fs.readFileSync(vatConfigFile, 'utf-8');
14
14
  const config = JSON.parse(configJson);
15
15
 
16
16
  const envs = new Map();
package/tsconfig.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "extends": "../../tsconfig.json",
3
3
  "compilerOptions": {
4
- "checkJs": false,
4
+ "allowSyntheticDefaultImports": true,
5
+ "checkJs": true,
6
+ "maxNodeModuleJsDepth": 2,
5
7
  },
6
8
  "include": [
7
9
  "*.js",