@agoric/deploy-script-support 0.10.4-dev-5dc325b.0 → 0.10.4-getting-started-dev-d127d1d.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/CHANGELOG.md ADDED
@@ -0,0 +1,563 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ### [0.10.4-u12.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.4-u11wf.0...@agoric/deploy-script-support@0.10.4-u12.0) (2023-11-10)
7
+
8
+ **Note:** Version bump only for package @agoric/deploy-script-support
9
+
10
+
11
+
12
+
13
+
14
+ ### [0.10.4-u11wf.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.4-u11.0...@agoric/deploy-script-support@0.10.4-u11wf.0) (2023-09-23)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **deploy-scripts-support:** correct bare module resolution ([f1e7109](https://github.com/Agoric/agoric-sdk/commit/f1e710937cd25fc261ca34c670c206fbaed583d3))
20
+
21
+
22
+
23
+ ### [0.10.4-u11.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.3...@agoric/deploy-script-support@0.10.4-u11.0) (2023-08-24)
24
+
25
+ **Note:** Version bump only for package @agoric/deploy-script-support
26
+
27
+
28
+
29
+
30
+
31
+ ### [0.10.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.2...@agoric/deploy-script-support@0.10.3) (2023-06-09)
32
+
33
+ **Note:** Version bump only for package @agoric/deploy-script-support
34
+
35
+
36
+
37
+
38
+
39
+ ### [0.10.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.1...@agoric/deploy-script-support@0.10.2) (2023-06-02)
40
+
41
+ **Note:** Version bump only for package @agoric/deploy-script-support
42
+
43
+
44
+
45
+
46
+
47
+ ### [0.10.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.0...@agoric/deploy-script-support@0.10.1) (2023-05-24)
48
+
49
+ **Note:** Version bump only for package @agoric/deploy-script-support
50
+
51
+
52
+
53
+
54
+
55
+ ## [0.10.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.4...@agoric/deploy-script-support@0.10.0) (2023-05-19)
56
+
57
+
58
+ ### Features
59
+
60
+ * **core-proposals:** use bundle hash for label ([2eec093](https://github.com/Agoric/agoric-sdk/commit/2eec0939bd87bfcc48634ab75e2ba830cdb321e3))
61
+ * **deploy-script-support:** Publish bundles to chain if possible ([e8209da](https://github.com/Agoric/agoric-sdk/commit/e8209daec69fc6fd60f5d865cf29271eb106a995))
62
+ * **deploy-script-support:** reenable for `agoric run init-core.js` without `ag-solo` ([2b2bc96](https://github.com/Agoric/agoric-sdk/commit/2b2bc96780b00d9c964dba6e6c5de36acd4a83c6))
63
+
64
+
65
+ ### Bug Fixes
66
+
67
+ * **deploy-script-support:** avoid pulling in notifiers ([#7522](https://github.com/Agoric/agoric-sdk/issues/7522)) ([c73675d](https://github.com/Agoric/agoric-sdk/commit/c73675dad025b6600f0eafe9f8e768086e50b626))
68
+ * **deploy-script-support:** update permits for `vatAdminSvc` ([73fef25](https://github.com/Agoric/agoric-sdk/commit/73fef256ab9abda1bda7e0619e8eee08c19f8883))
69
+ * avoid using top-level `require` ([57ca2db](https://github.com/Agoric/agoric-sdk/commit/57ca2dbfbadb373f97d43b2fb4e90302c9149976))
70
+ * change manifestInstallRef to manifestBundleRef ([4b87694](https://github.com/Agoric/agoric-sdk/commit/4b8769494eec1ce6bb5beda295389e8b982a9f37))
71
+ * remove unused overridded restoreRef, fix default version ([7f1cd48](https://github.com/Agoric/agoric-sdk/commit/7f1cd488e2aa7f89473b2187016f7f0dcbc989e8))
72
+ * rename makeEnactCoreProposalsFromBundleName to ..BundleRef ([7403f06](https://github.com/Agoric/agoric-sdk/commit/7403f06f58f0f50ecd154ad076a0a82317f3018b))
73
+ * replace unsafe then with E.when ([#6684](https://github.com/Agoric/agoric-sdk/issues/6684)) ([d7a749e](https://github.com/Agoric/agoric-sdk/commit/d7a749eec4ddec9ba39bbc65434f03ec113cae7c))
74
+ * replace zoe.install with zoe.installBundleID ([8a91b1b](https://github.com/Agoric/agoric-sdk/commit/8a91b1b06bf1a62c08156e595cf46f5194f73337)), closes [#6826](https://github.com/Agoric/agoric-sdk/issues/6826)
75
+ * **deploy-script-support:** Use versioned bundleSource ([41af48e](https://github.com/Agoric/agoric-sdk/commit/41af48e0d44e0615a53d5e3fe9f019895a58f96d))
76
+
77
+
78
+
79
+ ### [0.9.6](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.5...@agoric/deploy-script-support@0.9.6) (2023-02-17)
80
+
81
+ **Note:** Version bump only for package @agoric/deploy-script-support
82
+
83
+
84
+
85
+
86
+
87
+ ### [0.9.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.4...@agoric/deploy-script-support@0.9.5) (2022-12-14)
88
+
89
+ **Note:** Version bump only for package @agoric/deploy-script-support
90
+
91
+
92
+
93
+
94
+
95
+ ### [0.9.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.3...@agoric/deploy-script-support@0.9.4) (2022-10-18)
96
+
97
+ **Note:** Version bump only for package @agoric/deploy-script-support
98
+
99
+
100
+
101
+
102
+
103
+ ### [0.9.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.2...@agoric/deploy-script-support@0.9.3) (2022-10-08)
104
+
105
+ **Note:** Version bump only for package @agoric/deploy-script-support
106
+
107
+
108
+
109
+
110
+
111
+ ### [0.9.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.1...@agoric/deploy-script-support@0.9.2) (2022-10-05)
112
+
113
+ **Note:** Version bump only for package @agoric/deploy-script-support
114
+
115
+
116
+
117
+
118
+
119
+ ### [0.9.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.9.0...@agoric/deploy-script-support@0.9.1) (2022-09-20)
120
+
121
+
122
+ ### Bug Fixes
123
+
124
+ * Use new `||` assert style, but when TS confused use `if` instead ([#6174](https://github.com/Agoric/agoric-sdk/issues/6174)) ([94625d3](https://github.com/Agoric/agoric-sdk/commit/94625d38c3bb5333b00a69dd3086b1ac13490f62))
125
+ * **deploy-script-helpers:** Update core proposal behavior test ([abeb52e](https://github.com/Agoric/agoric-sdk/commit/abeb52e6bd121d508b72662135926a1b405fc9c3))
126
+
127
+
128
+
129
+ ## [0.9.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.8.0...@agoric/deploy-script-support@0.9.0) (2022-05-28)
130
+
131
+
132
+ ### ⚠ BREAKING CHANGES
133
+
134
+ * **extract-proposal:** insist on an explicit `entrypoint`
135
+
136
+ ### Features
137
+
138
+ * **core-proposal:** provide an `overrideManifest` to make the manifest explicit ([6557ecf](https://github.com/Agoric/agoric-sdk/commit/6557ecfb965fd668cf9538132e63a0419b86bd54))
139
+ * **extract-proposal:** allow specifying module, entrypoint, args ([af712eb](https://github.com/Agoric/agoric-sdk/commit/af712eb979483e14bae765a018911b018d76b973))
140
+
141
+
142
+ ### Bug Fixes
143
+
144
+ * **extract-proposal:** insist on an explicit `entrypoint` ([02df38b](https://github.com/Agoric/agoric-sdk/commit/02df38b8a5ef96a78fd6ff7f5c20ffcdba161038))
145
+
146
+
147
+
148
+ ## [0.8.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.7.0...@agoric/deploy-script-support@0.8.0) (2022-05-09)
149
+
150
+
151
+ ### Features
152
+
153
+ * **deploy-script-support:** persist option for installInPieces ([8241a0e](https://github.com/Agoric/agoric-sdk/commit/8241a0e0977a1ef2bbfd7e68197cb969bc80e1f1))
154
+
155
+
156
+ ### Bug Fixes
157
+
158
+ * **deploy-script-support:** permit agoricNamesAdmin for installation ([49b5e89](https://github.com/Agoric/agoric-sdk/commit/49b5e89e287b9f5e8ccc5cb7c26dea53c09c42de))
159
+ * **extract-proposal:** avoid reiterating bundleHandles ([9a0886d](https://github.com/Agoric/agoric-sdk/commit/9a0886d7d96699cf5698bbe81820626e3ee8c64b))
160
+ * **extract-proposal:** coreProposal source paths were leaked onto the chain ([acc6672](https://github.com/Agoric/agoric-sdk/commit/acc66729cfa8459ef549b96f6fbeed1d55a4be3f))
161
+
162
+
163
+
164
+ ## [0.7.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.6.3...@agoric/deploy-script-support@0.7.0) (2022-04-18)
165
+
166
+
167
+ ### ⚠ BREAKING CHANGES
168
+
169
+ * consistent Node engine requirement (>=14.15.0)
170
+
171
+ ### Features
172
+
173
+ * **build-bundles:** create source bundles with helper ([732292a](https://github.com/Agoric/agoric-sdk/commit/732292acf817ab774dea3d15209c0b5a2b2e326d))
174
+ * **deploy-script-support:** `getBundlerMaker` helper ([542786d](https://github.com/Agoric/agoric-sdk/commit/542786dfc7ef67ed718d8f1548d13dd45dbfc34f))
175
+ * **deploy-script-support:** `installInPieces` interim implementation ([3db8233](https://github.com/Agoric/agoric-sdk/commit/3db823391f39d23e4dc42d8ca256bf9fa28466e7))
176
+ * **deploy-script-support:** first cut at `writeCoreProposal` ([6129b38](https://github.com/Agoric/agoric-sdk/commit/6129b38201f80a4e195d4675981e693c06c8c547))
177
+ * **deploy-script-support:** more `createBundles` work ([009b49f](https://github.com/Agoric/agoric-sdk/commit/009b49fc133ca9f6740bdebaec9baf7c549aec1f))
178
+ * **deploy-script-support:** shell out to `bundle-source` ([18e8c88](https://github.com/Agoric/agoric-sdk/commit/18e8c88223da0f4ef6998e0bc0e39a7979dd317b))
179
+ * **deploy-script-suppport:** e2e `writeCoreProposal` ([88a0cf7](https://github.com/Agoric/agoric-sdk/commit/88a0cf70c9078f0e9e2c46a6cc30bcb736e6e379))
180
+ * implement the durable kind API ([56bad98](https://github.com/Agoric/agoric-sdk/commit/56bad985275787d18c34ac14b377a4d0348d699b)), closes [#4495](https://github.com/Agoric/agoric-sdk/issues/4495)
181
+
182
+
183
+ ### Bug Fixes
184
+
185
+ * **deploy-script-support:** `makeEnactCoreProposals` for bootstrap ([cbff644](https://github.com/Agoric/agoric-sdk/commit/cbff644eb379fd61f38a64cd09140439551a6e80))
186
+ * **writeCoreProposal:** linearize the `installInPieces` calls ([a92a22a](https://github.com/Agoric/agoric-sdk/commit/a92a22a124e5cf18b677b3067bc59aa508e9d5f1))
187
+ * **writeCoreProposal:** merge permits and less ambient authority ([f34f7b7](https://github.com/Agoric/agoric-sdk/commit/f34f7b72aa2827e0f12ba46a8500d3b259c910f9))
188
+
189
+
190
+ ### Miscellaneous Chores
191
+
192
+ * consistent Node engine requirement (>=14.15.0) ([ddc40fa](https://github.com/Agoric/agoric-sdk/commit/ddc40fa525f845ed900512c38b99f01458a3d131))
193
+
194
+
195
+
196
+ ### [0.6.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.6.2...@agoric/deploy-script-support@0.6.3) (2022-02-24)
197
+
198
+
199
+ ### Features
200
+
201
+ * overhaul the virtual object API ([e40674b](https://github.com/Agoric/agoric-sdk/commit/e40674b0b19f29adde2f5e6a460bafb7340d42b6)), closes [#4606](https://github.com/Agoric/agoric-sdk/issues/4606)
202
+
203
+
204
+
205
+ ### [0.6.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.6.1...@agoric/deploy-script-support@0.6.2) (2022-02-21)
206
+
207
+
208
+ ### Features
209
+
210
+ * implement persistent stores ([e1050b0](https://github.com/Agoric/agoric-sdk/commit/e1050b010e095b23547a38d48a12e5c8841a7466))
211
+
212
+
213
+ ### Bug Fixes
214
+
215
+ * Enhance TypeScript node_modules traversal depth ([000f738](https://github.com/Agoric/agoric-sdk/commit/000f73850d46dc7272b2399c06ad774dd3b8fe6e))
216
+
217
+
218
+
219
+ ### [0.6.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.6.0...@agoric/deploy-script-support@0.6.1) (2021-12-22)
220
+
221
+ **Note:** Version bump only for package @agoric/deploy-script-support
222
+
223
+
224
+
225
+
226
+
227
+ ## [0.6.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.5.5...@agoric/deploy-script-support@0.6.0) (2021-12-02)
228
+
229
+
230
+ ### ⚠ BREAKING CHANGES
231
+
232
+ * **ERTP:** NatValues now only accept bigints, lower-case amountMath is removed, and AmountMath methods always follow the order of: brand, value
233
+
234
+ * chore: fix up INPUT_VALIDATON.md
235
+
236
+ * chore: address PR comments
237
+
238
+ ### Miscellaneous Chores
239
+
240
+ * **ERTP:** additional input validation and clean up ([#3892](https://github.com/Agoric/agoric-sdk/issues/3892)) ([067ea32](https://github.com/Agoric/agoric-sdk/commit/067ea32b069596202d7f8e7c5e09d5ea7821f6b2))
241
+
242
+
243
+
244
+ ### [0.5.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.5.4...@agoric/deploy-script-support@0.5.5) (2021-10-13)
245
+
246
+ **Note:** Version bump only for package @agoric/deploy-script-support
247
+
248
+
249
+
250
+
251
+
252
+ ### [0.5.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.5.3...@agoric/deploy-script-support@0.5.4) (2021-09-23)
253
+
254
+ **Note:** Version bump only for package @agoric/deploy-script-support
255
+
256
+
257
+
258
+
259
+
260
+ ### [0.5.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.5.2...@agoric/deploy-script-support@0.5.3) (2021-09-15)
261
+
262
+ **Note:** Version bump only for package @agoric/deploy-script-support
263
+
264
+
265
+
266
+
267
+
268
+ ### [0.5.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.5.1...@agoric/deploy-script-support@0.5.2) (2021-08-21)
269
+
270
+ **Note:** Version bump only for package @agoric/deploy-script-support
271
+
272
+
273
+
274
+
275
+
276
+ ### [0.5.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.5.0...@agoric/deploy-script-support@0.5.1) (2021-08-18)
277
+
278
+ **Note:** Version bump only for package @agoric/deploy-script-support
279
+
280
+
281
+
282
+
283
+
284
+ ## [0.5.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.4.1...@agoric/deploy-script-support@0.5.0) (2021-08-17)
285
+
286
+
287
+ ### ⚠ BREAKING CHANGES
288
+
289
+ * make the run mint within Zoe, and give only the treasury the ability to create a ZCFMint with it
290
+
291
+ * chore: change 'makeZoe' to 'makeZoeKit'
292
+
293
+ * chore: add "shutdownZoeVat" argument to Zoe, and pass it to `makeIssuerKit` for invitation issuerKit and fee issuerKit
294
+
295
+ * chore: manually lint-fix install-on-chain.js
296
+
297
+ See https://github.com/Agoric/agoric-sdk/issues/3672 for the issue to fix the root problem
298
+
299
+ * BREAKING CHANGE: create the RUN Mint within Zoe (#3647) ([48762aa](https://github.com/Agoric/agoric-sdk/commit/48762aa83a30eaa0a14b2fd87777456758594262)), closes [#3647](https://github.com/Agoric/agoric-sdk/issues/3647)
300
+
301
+
302
+
303
+ ### [0.4.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.4.0...@agoric/deploy-script-support@0.4.1) (2021-08-16)
304
+
305
+ **Note:** Version bump only for package @agoric/deploy-script-support
306
+
307
+
308
+
309
+
310
+
311
+ ## [0.4.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.18...@agoric/deploy-script-support@0.4.0) (2021-08-15)
312
+
313
+
314
+ ### ⚠ BREAKING CHANGES
315
+
316
+ * **deploy-script-support:** Convert RESM to NESM (breaking)
317
+
318
+ ### Code Refactoring
319
+
320
+ * **deploy-script-support:** Convert RESM to NESM (breaking) ([0d59ac2](https://github.com/Agoric/agoric-sdk/commit/0d59ac2a1f748d8e3cc87b8cbb221b0188d729cc))
321
+
322
+ ### 0.26.10 (2021-07-28)
323
+
324
+
325
+
326
+ ## [0.3.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.18...@agoric/deploy-script-support@0.3.0) (2021-08-14)
327
+
328
+
329
+ ### ⚠ BREAKING CHANGES
330
+
331
+ * **deploy-script-support:** Convert RESM to NESM (breaking)
332
+
333
+ ### Code Refactoring
334
+
335
+ * **deploy-script-support:** Convert RESM to NESM (breaking) ([0d59ac2](https://github.com/Agoric/agoric-sdk/commit/0d59ac2a1f748d8e3cc87b8cbb221b0188d729cc))
336
+
337
+ ### 0.26.10 (2021-07-28)
338
+
339
+
340
+
341
+ ### [0.2.19](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.18...@agoric/deploy-script-support@0.2.19) (2021-07-28)
342
+
343
+ **Note:** Version bump only for package @agoric/deploy-script-support
344
+
345
+
346
+
347
+
348
+
349
+ ### [0.2.18](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.17...@agoric/deploy-script-support@0.2.18) (2021-07-01)
350
+
351
+ **Note:** Version bump only for package @agoric/deploy-script-support
352
+
353
+
354
+
355
+
356
+
357
+ ### [0.2.17](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.16...@agoric/deploy-script-support@0.2.17) (2021-07-01)
358
+
359
+ **Note:** Version bump only for package @agoric/deploy-script-support
360
+
361
+
362
+
363
+
364
+
365
+ ### [0.2.16](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.15...@agoric/deploy-script-support@0.2.16) (2021-06-28)
366
+
367
+ **Note:** Version bump only for package @agoric/deploy-script-support
368
+
369
+
370
+
371
+
372
+
373
+ ### [0.2.15](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.14...@agoric/deploy-script-support@0.2.15) (2021-06-25)
374
+
375
+ **Note:** Version bump only for package @agoric/deploy-script-support
376
+
377
+
378
+
379
+
380
+
381
+ ### [0.2.14](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.13...@agoric/deploy-script-support@0.2.14) (2021-06-24)
382
+
383
+ **Note:** Version bump only for package @agoric/deploy-script-support
384
+
385
+
386
+
387
+
388
+
389
+ ### [0.2.13](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.12...@agoric/deploy-script-support@0.2.13) (2021-06-24)
390
+
391
+ **Note:** Version bump only for package @agoric/deploy-script-support
392
+
393
+
394
+
395
+
396
+
397
+ ### [0.2.12](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.11...@agoric/deploy-script-support@0.2.12) (2021-06-23)
398
+
399
+
400
+ ### Bug Fixes
401
+
402
+ * **deploy-script-support:** Relax constraint on repository clone path ([6ec7a4d](https://github.com/Agoric/agoric-sdk/commit/6ec7a4d440cb60a54dbcd86c5e359bac1689e672))
403
+
404
+
405
+
406
+ ### [0.2.11](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.10...@agoric/deploy-script-support@0.2.11) (2021-06-16)
407
+
408
+ **Note:** Version bump only for package @agoric/deploy-script-support
409
+
410
+
411
+
412
+
413
+
414
+ ### [0.2.10](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.9...@agoric/deploy-script-support@0.2.10) (2021-06-15)
415
+
416
+
417
+ ### Bug Fixes
418
+
419
+ * Pin ESM to forked version ([54dbb55](https://github.com/Agoric/agoric-sdk/commit/54dbb55d64d7ff7adb395bc4bd9d1461dd2d3c17))
420
+
421
+
422
+
423
+ ## [0.2.9](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.8...@agoric/deploy-script-support@0.2.9) (2021-05-10)
424
+
425
+ **Note:** Version bump only for package @agoric/deploy-script-support
426
+
427
+
428
+
429
+
430
+
431
+ ## [0.2.8](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.7...@agoric/deploy-script-support@0.2.8) (2021-05-05)
432
+
433
+ **Note:** Version bump only for package @agoric/deploy-script-support
434
+
435
+
436
+
437
+
438
+
439
+ ## [0.2.7](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.6...@agoric/deploy-script-support@0.2.7) (2021-05-05)
440
+
441
+
442
+ ### Bug Fixes
443
+
444
+ * **deploy-script-support:** update to new vats package ([9de6ed1](https://github.com/Agoric/agoric-sdk/commit/9de6ed12dca1346912bb3255bbb48601ac09693e))
445
+ * settle REMOTE_STYLE name ([#2900](https://github.com/Agoric/agoric-sdk/issues/2900)) ([3dc6638](https://github.com/Agoric/agoric-sdk/commit/3dc66385b85cb3e8a1056b8d6e64cd3e448c041f))
446
+
447
+
448
+
449
+
450
+
451
+ ## [0.2.6](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.5...@agoric/deploy-script-support@0.2.6) (2021-04-22)
452
+
453
+ **Note:** Version bump only for package @agoric/deploy-script-support
454
+
455
+
456
+
457
+
458
+
459
+ ## [0.2.5](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.4...@agoric/deploy-script-support@0.2.5) (2021-04-18)
460
+
461
+ **Note:** Version bump only for package @agoric/deploy-script-support
462
+
463
+
464
+
465
+
466
+
467
+ ## [0.2.4](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.3...@agoric/deploy-script-support@0.2.4) (2021-04-16)
468
+
469
+ **Note:** Version bump only for package @agoric/deploy-script-support
470
+
471
+
472
+
473
+
474
+
475
+ ## [0.2.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.2...@agoric/deploy-script-support@0.2.3) (2021-04-14)
476
+
477
+ **Note:** Version bump only for package @agoric/deploy-script-support
478
+
479
+
480
+
481
+
482
+
483
+ ## [0.2.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.1...@agoric/deploy-script-support@0.2.2) (2021-04-13)
484
+
485
+ **Note:** Version bump only for package @agoric/deploy-script-support
486
+
487
+
488
+
489
+
490
+
491
+ ## [0.2.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.2.0...@agoric/deploy-script-support@0.2.1) (2021-04-07)
492
+
493
+ **Note:** Version bump only for package @agoric/deploy-script-support
494
+
495
+
496
+
497
+
498
+
499
+ # [0.2.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.1.1...@agoric/deploy-script-support@0.2.0) (2021-04-06)
500
+
501
+
502
+ ### Bug Fixes
503
+
504
+ * Many more tests use ses-ava ([#2733](https://github.com/Agoric/agoric-sdk/issues/2733)) ([d1e0f0f](https://github.com/Agoric/agoric-sdk/commit/d1e0f0fef8251f014b96ca7f3975efd37e1925f8))
505
+ * update to depend on ses 0.12.5 ([#2718](https://github.com/Agoric/agoric-sdk/issues/2718)) ([08dbe0d](https://github.com/Agoric/agoric-sdk/commit/08dbe0db5ce06944dc92c710865e441a60b31b5b))
506
+ * use ses-ava in SwingSet where possible ([#2709](https://github.com/Agoric/agoric-sdk/issues/2709)) ([85b674e](https://github.com/Agoric/agoric-sdk/commit/85b674e7942443219fa9828841cc7bd8ef909b47))
507
+
508
+
509
+ ### Features
510
+
511
+ * more logging for deploy helpers ([#2744](https://github.com/Agoric/agoric-sdk/issues/2744)) ([fe459fb](https://github.com/Agoric/agoric-sdk/commit/fe459fb6bd47638a2c3cb72c1150762fcce844c8))
512
+
513
+
514
+
515
+
516
+
517
+ ## [0.1.1](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.1.0...@agoric/deploy-script-support@0.1.1) (2021-03-24)
518
+
519
+
520
+ ### Bug Fixes
521
+
522
+ * deploy-script-support tests ([#2677](https://github.com/Agoric/agoric-sdk/issues/2677)) ([0d1b1de](https://github.com/Agoric/agoric-sdk/commit/0d1b1deaffba124457ab50377e781b2185cc3098))
523
+
524
+
525
+
526
+
527
+
528
+ # [0.1.0](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.0.3...@agoric/deploy-script-support@0.1.0) (2021-03-16)
529
+
530
+
531
+ ### Bug Fixes
532
+
533
+ * make separate 'test:xs' target, remove XS from 'test' target ([b9c1a69](https://github.com/Agoric/agoric-sdk/commit/b9c1a6987093fc8e09e8aba7acd2a1618413bac8)), closes [#2647](https://github.com/Agoric/agoric-sdk/issues/2647)
534
+
535
+
536
+ ### Features
537
+
538
+ * add static amountMath. Backwards compatible with old amountMath ([#2561](https://github.com/Agoric/agoric-sdk/issues/2561)) ([1620307](https://github.com/Agoric/agoric-sdk/commit/1620307ee1b45033032617cc14dfabfb338b0dc2))
539
+
540
+
541
+
542
+
543
+
544
+ ## [0.0.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.0.2...@agoric/deploy-script-support@0.0.3) (2021-02-22)
545
+
546
+ **Note:** Version bump only for package @agoric/deploy-script-support
547
+
548
+
549
+
550
+
551
+
552
+ ## 0.0.2 (2021-02-16)
553
+
554
+
555
+ ### Bug Fixes
556
+
557
+ * review comments ([7db7e5c](https://github.com/Agoric/agoric-sdk/commit/7db7e5c4c569dfedff8d748dd58893218b0a2458))
558
+
559
+
560
+
561
+
562
+
563
+ # Change Log
package/exported.js CHANGED
@@ -1 +1,3 @@
1
+ import '@endo/bundle-source/exported.js';
2
+
1
3
  import './src/externalTypes.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/deploy-script-support",
3
- "version": "0.10.4-dev-5dc325b.0+5dc325b",
3
+ "version": "0.10.4-getting-started-dev-d127d1d.0+d127d1d",
4
4
  "description": "Helpers and other support for writing deploy scripts",
5
5
  "type": "module",
6
6
  "main": "src/helpers.js",
@@ -13,7 +13,7 @@
13
13
  "test:xs": "exit 0",
14
14
  "lint-fix": "yarn lint:eslint --fix",
15
15
  "lint:eslint": "eslint .",
16
- "lint:types": "tsc",
16
+ "lint:types": "tsc -p jsconfig.json",
17
17
  "lint": "run-s --continue-on-error lint:*"
18
18
  },
19
19
  "repository": {
@@ -34,26 +34,25 @@
34
34
  },
35
35
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
36
36
  "dependencies": {
37
- "@agoric/assert": "0.6.1-dev-5dc325b.0+5dc325b",
38
- "@agoric/ertp": "0.16.3-dev-5dc325b.0+5dc325b",
39
- "@agoric/import-manager": "0.3.12-dev-5dc325b.0+5dc325b",
40
- "@agoric/internal": "0.3.3-dev-5dc325b.0+5dc325b",
41
- "@agoric/notifier": "0.6.3-dev-5dc325b.0+5dc325b",
42
- "@agoric/store": "0.9.3-dev-5dc325b.0+5dc325b",
43
- "@agoric/time": "0.3.3-dev-5dc325b.0+5dc325b",
44
- "@agoric/zoe": "0.26.3-dev-5dc325b.0+5dc325b",
45
- "@endo/base64": "^0.2.34",
46
- "@endo/bundle-source": "^2.7.0",
47
- "@endo/far": "^0.2.21",
48
- "@endo/marshal": "^0.8.8",
49
- "@endo/nat": "^4.1.30",
50
- "@endo/promise-kit": "^0.2.59",
51
- "@endo/zip": "^0.2.34"
37
+ "@agoric/assert": "0.6.1-getting-started-dev-d127d1d.0+d127d1d",
38
+ "@agoric/ertp": "0.16.3-getting-started-dev-d127d1d.0+d127d1d",
39
+ "@agoric/import-manager": "0.3.12-getting-started-dev-d127d1d.0+d127d1d",
40
+ "@agoric/internal": "0.4.0-getting-started-dev-d127d1d.0+d127d1d",
41
+ "@agoric/notifier": "0.6.3-getting-started-dev-d127d1d.0+d127d1d",
42
+ "@agoric/store": "0.9.3-getting-started-dev-d127d1d.0+d127d1d",
43
+ "@agoric/zoe": "0.26.3-getting-started-dev-d127d1d.0+d127d1d",
44
+ "@endo/base64": "0.2.31",
45
+ "@endo/bundle-source": "2.5.2-upstream-rollup",
46
+ "@endo/far": "0.2.18",
47
+ "@endo/marshal": "0.8.5",
48
+ "@endo/nat": "4.1.27",
49
+ "@endo/promise-kit": "0.2.56",
50
+ "@endo/zip": "0.2.31"
52
51
  },
53
52
  "devDependencies": {
54
- "@agoric/vats": "0.15.2-dev-5dc325b.0+5dc325b",
55
- "@endo/init": "^0.5.59",
56
- "ava": "^5.3.0",
53
+ "@agoric/vats": "0.15.2-getting-started-dev-d127d1d.0+d127d1d",
54
+ "@endo/init": "0.5.56",
55
+ "ava": "^5.2.0",
57
56
  "import-meta-resolve": "^2.2.1"
58
57
  },
59
58
  "files": [
@@ -64,16 +63,10 @@
64
63
  "ava": {
65
64
  "files": [
66
65
  "test/**/test-*.js"
67
- ],
68
- "require": [
69
- "@endo/init/debug.js"
70
66
  ]
71
67
  },
72
68
  "publishConfig": {
73
69
  "access": "public"
74
70
  },
75
- "typeCoverage": {
76
- "atLeast": 79.84
77
- },
78
- "gitHead": "5dc325b8cc1d94f46ecc18a7c67a14989feade11"
71
+ "gitHead": "d127d1db6a8d22a5c56c6408f69ae753c8215372"
79
72
  }
@@ -24,12 +24,12 @@ export const permits = {
24
24
  * definitions.
25
25
  *
26
26
  * @param {object} opts
27
- * @param {import('./externalTypes.js').ManifestBundleRef} opts.manifestBundleRef
27
+ * @param {{ bundleName: string } | { bundleID: string }} opts.manifestBundleRef
28
28
  * @param {[string, ...unknown[]]} opts.getManifestCall
29
29
  * @param {Record<string, Record<string, unknown>>} [opts.overrideManifest]
30
30
  * @param {typeof import('@endo/far').E} opts.E
31
31
  * @param {(...args: unknown[]) => void} [opts.log]
32
- * @param {(ref: import('./externalTypes.js').ManifestBundleRef) => Promise<import('@agoric/zoe/src/zoeService/utils.js').Installation<unknown>>} [opts.restoreRef]
32
+ * @param {(ref: unknown) => Promise<unknown>} [opts.restoreRef]
33
33
  * @returns {(vatPowers: unknown) => Promise<unknown>}
34
34
  */
35
35
  export const makeCoreProposalBehavior = ({
@@ -70,15 +70,13 @@ export const makeCoreProposalBehavior = ({
70
70
  } = allPowers;
71
71
  const [exportedGetManifest, ...manifestArgs] = getManifestCall;
72
72
 
73
- /** @type {(ref: import('./externalTypes.js').ManifestBundleRef) => Promise<Installation<unknown>>} */
74
73
  const defaultRestoreRef = async ref => {
75
74
  // extract-proposal.js creates these records, and bundleName is
76
75
  // the name under which the bundle was installed into
77
76
  // config.bundles
78
- const p =
79
- 'bundleName' in ref
80
- ? E(vatAdminSvc).getBundleIDByName(ref.bundleName)
81
- : ref.bundleID;
77
+ const p = ref.bundleName
78
+ ? E(vatAdminSvc).getBundleIDByName(ref.bundleName)
79
+ : ref.bundleID;
82
80
  const bundleID = await p;
83
81
  const label = bundleID.slice(0, 8);
84
82
  return E(zoe).installBundleID(bundleID, label);
@@ -16,13 +16,14 @@ export {};
16
16
  */
17
17
 
18
18
  /**
19
- * @typedef {{ bundleName: string } | { bundleID: string} } ManifestBundleRef
19
+ * @typedef BundleHandle
20
+ * @property {string} [bundleName]
20
21
  */
21
22
 
22
23
  /**
23
24
  * @callback PublishBundleRef
24
- * @param {ERef<ManifestBundleRef>} bundle
25
- * @returns {Promise<ManifestBundleRef>}
25
+ * @param {ERef<BundleHandle>} bundle
26
+ * @returns {Promise<BundleHandle>}
26
27
  */
27
28
 
28
29
  /**
@@ -30,7 +31,7 @@ export {};
30
31
  * @param {string} srcSpec
31
32
  * @param {string} bundlePath
32
33
  * @param {any} [opts]
33
- * @returns {Promise<ManifestBundleRef>}
34
+ * @returns {BundleHandle}
34
35
  */
35
36
 
36
37
  /**
@@ -40,19 +40,6 @@ const findModule = (initDir, srcSpec) =>
40
40
  ? pathResolve(initDir, srcSpec)
41
41
  : req.resolve(srcSpec);
42
42
 
43
- /**
44
- * @param {{ bundleID?: string, bundleName?: string }} handle - mutated then hardened
45
- * @param {string} sourceSpec - the specifier of a module to load
46
- * @param {number} sequence - the sequence number of the proposal
47
- * @param {string} piece - the piece of the proposal
48
- * @returns {Promise<[string, any]>}
49
- */
50
- const namedHandleToBundleSpec = async (handle, sourceSpec, sequence, piece) => {
51
- handle.bundleName = `coreProposal${sequence}_${piece}`;
52
- harden(handle);
53
- return harden([handle.bundleName, { sourceSpec }]);
54
- };
55
-
56
43
  /**
57
44
  * Format core proposals to be run at bootstrap:
58
45
  * SwingSet `bundles` configuration
@@ -67,28 +54,26 @@ const namedHandleToBundleSpec = async (handle, sourceSpec, sequence, piece) => {
67
54
  * @param {ConfigProposal[]} coreProposals - governance
68
55
  * proposals to run at chain bootstrap for scenarios such as sim-chain.
69
56
  * @param {FilePath} [dirname]
70
- * @param {object} [opts]
71
- * @param {typeof makeEnactCoreProposalsFromBundleRef} [opts.makeEnactCoreProposals]
72
- * @param {(i: number) => number} [opts.getSequenceForProposal]
73
- * @param {typeof namedHandleToBundleSpec} [opts.handleToBundleSpec]
57
+ * @param {typeof makeEnactCoreProposalsFromBundleRef} [makeEnactCoreProposals]
58
+ * @param {(i: number) => number} [getSequenceForProposal]
74
59
  */
75
60
  export const extractCoreProposalBundles = async (
76
61
  coreProposals,
77
62
  dirname = '.',
78
- opts,
63
+ makeEnactCoreProposals = makeEnactCoreProposalsFromBundleRef,
64
+ getSequenceForProposal,
79
65
  ) => {
80
- const {
81
- makeEnactCoreProposals = makeEnactCoreProposalsFromBundleRef,
82
- getSequenceForProposal = i => i,
83
- handleToBundleSpec = namedHandleToBundleSpec,
84
- } = opts || {};
66
+ if (!getSequenceForProposal) {
67
+ // Deterministic proposal numbers.
68
+ getSequenceForProposal = i => i;
69
+ }
85
70
 
86
71
  dirname = pathResolve(dirname);
87
72
  dirname = await fs.promises
88
73
  .stat(dirname)
89
74
  .then(stbuf => (stbuf.isDirectory() ? dirname : path.dirname(dirname)));
90
75
 
91
- /** @type {Map<{ bundleID?: string, bundleName?: string }, { source: string, bundle?: string }>} */
76
+ /** @type {Map<{ bundleName?: string }, { source: string, bundle?: string }>} */
92
77
  const bundleHandleToAbsolutePaths = new Map();
93
78
 
94
79
  const bundleToSource = new Map();
@@ -150,46 +135,36 @@ export const extractCoreProposalBundles = async (
150
135
  /** @type {import('./externalTypes.js').PublishBundleRef} */
151
136
  const publishRef = async handleP => {
152
137
  const handle = await handleP;
153
- // eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error -- https://github.com/Agoric/agoric-sdk/issues/4620 */
154
- // @ts-ignore xxx types
155
138
  bundleHandleToAbsolutePaths.has(handle) ||
156
139
  Fail`${handle} not in installed bundles`;
157
140
  return handle;
158
141
  };
159
- const proposal = await ns[entrypoint](
160
- {
161
- publishRef,
162
- // @ts-expect-error not statically verified to return a full obj
163
- install,
164
- },
165
- ...args,
166
- );
142
+ const proposal = await ns[entrypoint]({ publishRef, install }, ...args);
167
143
 
168
144
  // Add the proposal bundle handles in sorted order.
169
- const bundleSpecEntries = await Promise.all(
170
- [...thisProposalBundleHandles.keys()]
171
- .map(handle => [handle, bundleHandleToAbsolutePaths.get(handle)])
172
- .sort(([_hnda, { source: a }], [_hndb, { source: b }]) => {
173
- if (a < b) {
174
- return -1;
175
- }
176
- if (a > b) {
177
- return 1;
178
- }
179
- return 0;
180
- })
181
- .map(async ([handle, absolutePaths], j) => {
182
- // Transform the bundle handle identity into a bundleName reference.
183
- const specEntry = await handleToBundleSpec(
184
- handle,
185
- absolutePaths.source,
186
- thisProposalSequence,
187
- String(j),
188
- );
189
- harden(handle);
190
- return specEntry;
191
- }),
192
- );
145
+ const bundleSpecEntries = [...thisProposalBundleHandles.keys()]
146
+ .map(handle => [handle, bundleHandleToAbsolutePaths.get(handle)])
147
+ .sort(([_hnda, { source: a }], [_hndb, { source: b }]) => {
148
+ if (a < b) {
149
+ return -1;
150
+ }
151
+ if (a > b) {
152
+ return 1;
153
+ }
154
+ return 0;
155
+ })
156
+ .map(([handle, absolutePaths], j) => {
157
+ // Transform the bundle handle identity into a bundleName reference.
158
+ handle.bundleName = `coreProposal${thisProposalSequence}_${j}`;
159
+ harden(handle);
160
+
161
+ /** @type {[string, { sourceSpec: string }]} */
162
+ const specEntry = [
163
+ handle.bundleName,
164
+ { sourceSpec: absolutePaths.source },
165
+ ];
166
+ return specEntry;
167
+ });
193
168
 
194
169
  // Now that we've assigned all the bundleNames and hardened the
195
170
  // handles, we can extract the behavior bundle.
@@ -200,30 +175,26 @@ export const extractCoreProposalBundles = async (
200
175
  const behaviorSource = pathResolve(initDir, sourceSpec);
201
176
  const behaviors = await import(behaviorSource);
202
177
  const [exportedGetManifest, ...manifestArgs] = getManifestCall;
203
- assert(
204
- exportedGetManifest in behaviors,
205
- `behavior ${behaviorSource} missing ${exportedGetManifest}`,
206
- );
207
178
  const { manifest: overrideManifest } = await behaviors[
208
179
  exportedGetManifest
209
180
  ](harden({ restoreRef: () => null }), ...manifestArgs);
210
181
 
211
- const behaviorBundleHandle = {};
212
- const specEntry = await handleToBundleSpec(
213
- behaviorBundleHandle,
214
- behaviorSource,
215
- thisProposalSequence,
216
- 'behaviors',
217
- );
218
- bundleSpecEntries.unshift(specEntry);
219
-
182
+ const behaviorBundleHandle = harden({
183
+ bundleName: `coreProposal${thisProposalSequence}_behaviors`,
184
+ });
185
+ const behaviorAbsolutePaths = harden({
186
+ source: behaviorSource,
187
+ });
220
188
  bundleHandleToAbsolutePaths.set(
221
189
  behaviorBundleHandle,
222
- harden({
223
- source: behaviorSource,
224
- }),
190
+ behaviorAbsolutePaths,
225
191
  );
226
192
 
193
+ bundleSpecEntries.unshift([
194
+ behaviorBundleHandle.bundleName,
195
+ { sourceSpec: behaviorAbsolutePaths.source },
196
+ ]);
197
+
227
198
  return harden({
228
199
  ref: behaviorBundleHandle,
229
200
  call: getManifestCall,
@@ -13,8 +13,6 @@
13
13
  import { E } from '@endo/far';
14
14
  import url from 'url';
15
15
 
16
- /** @typedef {ReturnType<import('./endo-pieces-contract.js')['start']>['publicFacet']} BundleMaker */
17
-
18
16
  export const makeGetBundlerMaker =
19
17
  (homeP, { lookup, bundleSource }) =>
20
18
  async ({
@@ -22,7 +20,6 @@ export const makeGetBundlerMaker =
22
20
  log = console.log,
23
21
  } = {}) => {
24
22
  const { board: optionalBoard, zoe, scratch } = await homeP;
25
- /** @type {() => Promise<BundleMaker>} */
26
23
  const lookupOrCreate = async () => {
27
24
  // Locate the bundler maker if any already exists at the given path.
28
25
  let bundlerMaker = await lookup(JSON.parse(BUNDLER_MAKER_LOOKUP));
package/src/helpers.js CHANGED
@@ -1,8 +1,5 @@
1
1
  // @ts-check
2
-
3
- /// <reference types="../../time/src/types.js" />
4
- /// <reference path="../../zoe/exported.js" />
5
-
2
+ import '@agoric/zoe/exported.js';
6
3
  import { E } from '@endo/far';
7
4
  import bundleSource from '@endo/bundle-source';
8
5
 
package/src/install.js CHANGED
@@ -5,9 +5,18 @@ import { E } from '@endo/far';
5
5
 
6
6
  /** @typedef {import('@agoric/deploy-script-support/src/externalTypes').Petname} Petname */
7
7
 
8
+ /**
9
+ * @callback BundleSource
10
+ * @param {string} startFilename - the filepath to start the bundling from
11
+ * @param {ModuleFormat | BundleOptions} [moduleFormat]
12
+ * @param {object} [powers]
13
+ * @param {ReadFn} [powers.read]
14
+ * @param {CanonicalFn} [powers.canonical]
15
+ */
16
+
8
17
  // XXX board is Board but specifying that leads to type errors with imports which aren't worth fixing right now
9
18
  /**
10
- * @param {typeof import('@endo/bundle-source')['default']} bundleSource
19
+ * @param {BundleSource} bundleSource
11
20
  * @param {ERef<ZoeService>} zoe
12
21
  * @param {ERef<import('./startInstance.js').InstallationManager>} installationManager
13
22
  * @param {ERef<any>} board
package/src/offer.js CHANGED
@@ -114,8 +114,9 @@ export const makeOfferAndFindInvitationAmount = (
114
114
  } = config;
115
115
 
116
116
  const invitationToUse = getInvitation(invitation, partialInvitationDetails);
117
- const invitationDetails =
118
- await E(zoe).getInvitationDetails(invitationToUse);
117
+ const invitationDetails = await E(zoe).getInvitationDetails(
118
+ invitationToUse,
119
+ );
119
120
  const payments = withdrawPayments(proposal, paymentsWithPursePetnames);
120
121
 
121
122
  const seat = E(zoe).offer(invitationToUse, proposal, payments);
@@ -100,8 +100,9 @@ export const makeStartInstance = (
100
100
  `creatorInvitation must be defined to be deposited`,
101
101
  );
102
102
  console.log(`-- Adding Invitation for: ${instancePetname}`);
103
- const invitationAmount =
104
- await E(zoeInvitationPurse).deposit(creatorInvitation);
103
+ const invitationAmount = await E(zoeInvitationPurse).deposit(
104
+ creatorInvitation,
105
+ );
105
106
  console.log(`- Created Contract Instance: ${instancePetname}`);
106
107
 
107
108
  const creatorInvitationDetails = invitationAmount.value[0];
@@ -7,25 +7,6 @@ import { createBundles } from '@agoric/internal/src/node/createBundles.js';
7
7
  import { defangAndTrim, mergePermits, stringify } from './code-gen.js';
8
8
  import { makeCoreProposalBehavior, permits } from './coreProposalBehavior.js';
9
9
 
10
- /**
11
- * @callback WriteCoreProposal
12
- * @param {string} filePrefix
13
- * @param {import('./externalTypes.js').ProposalBuilder} proposalBuilder
14
- * @returns {Promise<void>}
15
- */
16
-
17
- /**
18
- *
19
- * @param {*} homeP
20
- * @param {*} endowments
21
- * @param {{
22
- * getBundlerMaker: () => Promise<import('./getBundlerMaker.js').BundleMaker>,
23
- * getBundleSpec: (...args: *) => Promise<import('./externalTypes.js').ManifestBundleRef>,
24
- * log?: typeof console.log,
25
- * writeFile?: typeof fs.promises.writeFile
26
- * }} io
27
- * @returns {WriteCoreProposal}
28
- */
29
10
  export const makeWriteCoreProposal = (
30
11
  homeP,
31
12
  endowments,
@@ -69,18 +50,8 @@ export const makeWriteCoreProposal = (
69
50
  };
70
51
  };
71
52
 
72
- let mutex =
73
- /** @type {Promise<import('./externalTypes.js').ManifestBundleRef | undefined>} */ (
74
- Promise.resolve()
75
- );
76
- /** @type {WriteCoreProposal} */
53
+ let mutex = Promise.resolve();
77
54
  const writeCoreProposal = async (filePrefix, proposalBuilder) => {
78
- /**
79
- *
80
- * @param {string} entrypoint
81
- * @param {string} [bundlePath]
82
- * @returns {Promise<NodeModule>}
83
- */
84
55
  const getBundle = async (entrypoint, bundlePath) => {
85
56
  if (!bundlePath) {
86
57
  return bundleSource(pathResolve(entrypoint));
@@ -91,14 +62,7 @@ export const makeWriteCoreProposal = (
91
62
  return ns.default;
92
63
  };
93
64
 
94
- /**
95
- * Install an entrypoint.
96
- *
97
- * @param {string} entrypoint
98
- * @param {string} [bundlePath]
99
- * @param [opts]
100
- * @returns {Promise<import('./externalTypes.js').ManifestBundleRef>}
101
- */
65
+ // Install an entrypoint.
102
66
  const install = async (entrypoint, bundlePath, opts) => {
103
67
  const bundle = getBundle(entrypoint, bundlePath);
104
68
 
@@ -107,7 +71,6 @@ export const makeWriteCoreProposal = (
107
71
  // console.log('installing', { filePrefix, entrypoint, bundlePath });
108
72
  return getBundleSpec(bundle, getBundler, opts);
109
73
  });
110
- // @ts-expect-error xxx mutex type narrowing
111
74
  return mutex;
112
75
  };
113
76