@agoric/deploy-script-support 0.10.4-dev-d355030.0 → 0.10.4-dev-386dc7c.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/exported.js CHANGED
@@ -1,3 +1 @@
1
- import '@endo/bundle-source/exported.js';
2
-
3
1
  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-d355030.0+d355030",
3
+ "version": "0.10.4-dev-386dc7c.0+386dc7c",
4
4
  "description": "Helpers and other support for writing deploy scripts",
5
5
  "type": "module",
6
6
  "main": "src/helpers.js",
@@ -34,25 +34,25 @@
34
34
  },
35
35
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
36
36
  "dependencies": {
37
- "@agoric/assert": "0.6.1-dev-d355030.0+d355030",
38
- "@agoric/ertp": "0.16.3-dev-d355030.0+d355030",
39
- "@agoric/import-manager": "0.3.12-dev-d355030.0+d355030",
40
- "@agoric/internal": "0.3.3-dev-d355030.0+d355030",
41
- "@agoric/notifier": "0.6.3-dev-d355030.0+d355030",
42
- "@agoric/store": "0.9.3-dev-d355030.0+d355030",
43
- "@agoric/time": "0.3.3-dev-d355030.0+d355030",
44
- "@agoric/zoe": "0.26.3-dev-d355030.0+d355030",
45
- "@endo/base64": "^0.2.32",
46
- "@endo/bundle-source": "^2.5.2",
47
- "@endo/far": "^0.2.19",
48
- "@endo/marshal": "^0.8.6",
49
- "@endo/nat": "^4.1.28",
50
- "@endo/promise-kit": "^0.2.57",
51
- "@endo/zip": "^0.2.32"
37
+ "@agoric/assert": "0.6.1-dev-386dc7c.0+386dc7c",
38
+ "@agoric/ertp": "0.16.3-dev-386dc7c.0+386dc7c",
39
+ "@agoric/import-manager": "0.3.12-dev-386dc7c.0+386dc7c",
40
+ "@agoric/internal": "0.3.3-dev-386dc7c.0+386dc7c",
41
+ "@agoric/notifier": "0.6.3-dev-386dc7c.0+386dc7c",
42
+ "@agoric/store": "0.9.3-dev-386dc7c.0+386dc7c",
43
+ "@agoric/time": "0.3.3-dev-386dc7c.0+386dc7c",
44
+ "@agoric/zoe": "0.26.3-dev-386dc7c.0+386dc7c",
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"
52
52
  },
53
53
  "devDependencies": {
54
- "@agoric/vats": "0.15.2-dev-d355030.0+d355030",
55
- "@endo/init": "^0.5.57",
54
+ "@agoric/vats": "0.15.2-dev-386dc7c.0+386dc7c",
55
+ "@endo/init": "^0.5.59",
56
56
  "ava": "^5.3.0",
57
57
  "import-meta-resolve": "^2.2.1"
58
58
  },
@@ -72,5 +72,5 @@
72
72
  "publishConfig": {
73
73
  "access": "public"
74
74
  },
75
- "gitHead": "d35503027f8de03dfedf7bc3a5adce00d0985435"
75
+ "gitHead": "386dc7cf179bf610841dec4a0b1f55d5d5c50878"
76
76
  }
package/src/install.js CHANGED
@@ -5,18 +5,9 @@ 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
-
17
8
  // XXX board is Board but specifying that leads to type errors with imports which aren't worth fixing right now
18
9
  /**
19
- * @param {BundleSource} bundleSource
10
+ * @param {typeof import('@endo/bundle-source')['default']} bundleSource
20
11
  * @param {ERef<ZoeService>} zoe
21
12
  * @param {ERef<import('./startInstance.js').InstallationManager>} installationManager
22
13
  * @param {ERef<any>} board
package/src/offer.js CHANGED
@@ -114,9 +114,8 @@ export const makeOfferAndFindInvitationAmount = (
114
114
  } = config;
115
115
 
116
116
  const invitationToUse = getInvitation(invitation, partialInvitationDetails);
117
- const invitationDetails = await E(zoe).getInvitationDetails(
118
- invitationToUse,
119
- );
117
+ const invitationDetails =
118
+ await E(zoe).getInvitationDetails(invitationToUse);
120
119
  const payments = withdrawPayments(proposal, paymentsWithPursePetnames);
121
120
 
122
121
  const seat = E(zoe).offer(invitationToUse, proposal, payments);
@@ -100,9 +100,8 @@ 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 = await E(zoeInvitationPurse).deposit(
104
- creatorInvitation,
105
- );
103
+ const invitationAmount =
104
+ await E(zoeInvitationPurse).deposit(creatorInvitation);
106
105
  console.log(`- Created Contract Instance: ${instancePetname}`);
107
106
 
108
107
  const creatorInvitationDetails = invitationAmount.value[0];