@agoric/zoe 0.26.3-dev-d48e752.0 → 0.26.3-dev-87e4ef4.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/zoe",
|
|
3
|
-
"version": "0.26.3-dev-
|
|
3
|
+
"version": "0.26.3-dev-87e4ef4.0+87e4ef4",
|
|
4
4
|
"description": "Zoe: the Smart Contract Framework for Offer Enforcement",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/zoeService/zoe.js",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@agoric/assert": "0.6.1-dev-
|
|
47
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
48
|
-
"@agoric/internal": "0.3.3-dev-
|
|
49
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
50
|
-
"@agoric/store": "0.9.3-dev-
|
|
51
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
52
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
53
|
-
"@agoric/time": "0.3.3-dev-
|
|
54
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
46
|
+
"@agoric/assert": "0.6.1-dev-87e4ef4.0+87e4ef4",
|
|
47
|
+
"@agoric/ertp": "0.16.3-dev-87e4ef4.0+87e4ef4",
|
|
48
|
+
"@agoric/internal": "0.3.3-dev-87e4ef4.0+87e4ef4",
|
|
49
|
+
"@agoric/notifier": "0.6.3-dev-87e4ef4.0+87e4ef4",
|
|
50
|
+
"@agoric/store": "0.9.3-dev-87e4ef4.0+87e4ef4",
|
|
51
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-87e4ef4.0+87e4ef4",
|
|
52
|
+
"@agoric/swingset-vat": "0.32.3-dev-87e4ef4.0+87e4ef4",
|
|
53
|
+
"@agoric/time": "0.3.3-dev-87e4ef4.0+87e4ef4",
|
|
54
|
+
"@agoric/vat-data": "0.5.3-dev-87e4ef4.0+87e4ef4",
|
|
55
55
|
"@endo/bundle-source": "^3.0.1",
|
|
56
56
|
"@endo/captp": "^4.0.1",
|
|
57
57
|
"@endo/eventual-send": "^1.0.1",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"yargs-parser": "^21.1.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@agoric/kmarshal": "0.1.1-dev-
|
|
67
|
+
"@agoric/kmarshal": "0.1.1-dev-87e4ef4.0+87e4ef4",
|
|
68
68
|
"@endo/init": "^1.0.1",
|
|
69
69
|
"ava": "^5.3.0",
|
|
70
70
|
"c8": "^7.13.0",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"typeCoverage": {
|
|
138
138
|
"atLeast": 84.82
|
|
139
139
|
},
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "87e4ef498bd57ac1577e46ecdcc3bb96c0a98c88"
|
|
141
141
|
}
|
|
@@ -176,11 +176,12 @@ export const depositToSeatSuccessMsg = `Deposit and reallocation successful.`;
|
|
|
176
176
|
* The `amounts` and `payments` records must have corresponding
|
|
177
177
|
* keywords.
|
|
178
178
|
*
|
|
179
|
+
* @template {object} [OR=unknown]
|
|
179
180
|
* @param {ZCF} zcf
|
|
180
181
|
* @param {ZCFSeat} recipientSeat
|
|
181
182
|
* @param {AmountKeywordRecord} amounts
|
|
182
183
|
* @param {PaymentPKeywordRecord} payments
|
|
183
|
-
* @returns {Promise<
|
|
184
|
+
* @returns {Promise<OR>} `Deposit and reallocation successful.`
|
|
184
185
|
*/
|
|
185
186
|
export const depositToSeat = async (zcf, recipientSeat, amounts, payments) => {
|
|
186
187
|
!recipientSeat.hasExited() || Fail`The recipientSeat cannot have exited.`;
|
package/src/typeGuards.js
CHANGED
|
@@ -127,7 +127,7 @@ export const InvitationElementShape = M.splitRecord({
|
|
|
127
127
|
});
|
|
128
128
|
|
|
129
129
|
export const OfferHandlerI = M.interface('OfferHandler', {
|
|
130
|
-
handle: M.call(SeatShape).optional(M.any()).returns(M.
|
|
130
|
+
handle: M.call(SeatShape).optional(M.any()).returns(M.any()),
|
|
131
131
|
});
|
|
132
132
|
|
|
133
133
|
export const SeatHandleAllocationsShape = M.arrayOf(
|