@agoric/deploy-script-support 0.10.4-dev-7cead9c.0 → 0.10.4-dev-97cb715.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 +11 -11
- package/src/offer.js +2 -3
- package/src/startInstance.js +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/deploy-script-support",
|
|
3
|
-
"version": "0.10.4-dev-
|
|
3
|
+
"version": "0.10.4-dev-97cb715.0+97cb715",
|
|
4
4
|
"description": "Helpers and other support for writing deploy scripts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/helpers.js",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@agoric/assert": "0.6.1-dev-
|
|
38
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
39
|
-
"@agoric/import-manager": "0.3.12-dev-
|
|
40
|
-
"@agoric/internal": "0.3.3-dev-
|
|
41
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
42
|
-
"@agoric/store": "0.9.3-dev-
|
|
43
|
-
"@agoric/time": "0.3.3-dev-
|
|
44
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
37
|
+
"@agoric/assert": "0.6.1-dev-97cb715.0+97cb715",
|
|
38
|
+
"@agoric/ertp": "0.16.3-dev-97cb715.0+97cb715",
|
|
39
|
+
"@agoric/import-manager": "0.3.12-dev-97cb715.0+97cb715",
|
|
40
|
+
"@agoric/internal": "0.3.3-dev-97cb715.0+97cb715",
|
|
41
|
+
"@agoric/notifier": "0.6.3-dev-97cb715.0+97cb715",
|
|
42
|
+
"@agoric/store": "0.9.3-dev-97cb715.0+97cb715",
|
|
43
|
+
"@agoric/time": "0.3.3-dev-97cb715.0+97cb715",
|
|
44
|
+
"@agoric/zoe": "0.26.3-dev-97cb715.0+97cb715",
|
|
45
45
|
"@endo/base64": "^0.2.34",
|
|
46
46
|
"@endo/bundle-source": "^2.7.0",
|
|
47
47
|
"@endo/far": "^0.2.21",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@endo/zip": "^0.2.34"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@agoric/vats": "0.15.2-dev-
|
|
54
|
+
"@agoric/vats": "0.15.2-dev-97cb715.0+97cb715",
|
|
55
55
|
"@endo/init": "^0.5.59",
|
|
56
56
|
"ava": "^5.3.0",
|
|
57
57
|
"import-meta-resolve": "^2.2.1"
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "97cb7158f1176d14b9a8d775328aa826458282ea"
|
|
76
76
|
}
|
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 =
|
|
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);
|
package/src/startInstance.js
CHANGED
|
@@ -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 =
|
|
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];
|