@agoric/zoe 0.26.3-dev-d48e752.0 → 0.26.3-dev-00137a3.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-d48e752.0+d48e752",
3
+ "version": "0.26.3-dev-00137a3.0+00137a3",
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-d48e752.0+d48e752",
47
- "@agoric/ertp": "0.16.3-dev-d48e752.0+d48e752",
48
- "@agoric/internal": "0.3.3-dev-d48e752.0+d48e752",
49
- "@agoric/notifier": "0.6.3-dev-d48e752.0+d48e752",
50
- "@agoric/store": "0.9.3-dev-d48e752.0+d48e752",
51
- "@agoric/swingset-liveslots": "0.10.3-dev-d48e752.0+d48e752",
52
- "@agoric/swingset-vat": "0.32.3-dev-d48e752.0+d48e752",
53
- "@agoric/time": "0.3.3-dev-d48e752.0+d48e752",
54
- "@agoric/vat-data": "0.5.3-dev-d48e752.0+d48e752",
46
+ "@agoric/assert": "0.6.1-dev-00137a3.0+00137a3",
47
+ "@agoric/ertp": "0.16.3-dev-00137a3.0+00137a3",
48
+ "@agoric/internal": "0.3.3-dev-00137a3.0+00137a3",
49
+ "@agoric/notifier": "0.6.3-dev-00137a3.0+00137a3",
50
+ "@agoric/store": "0.9.3-dev-00137a3.0+00137a3",
51
+ "@agoric/swingset-liveslots": "0.10.3-dev-00137a3.0+00137a3",
52
+ "@agoric/swingset-vat": "0.32.3-dev-00137a3.0+00137a3",
53
+ "@agoric/time": "0.3.3-dev-00137a3.0+00137a3",
54
+ "@agoric/vat-data": "0.5.3-dev-00137a3.0+00137a3",
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-d48e752.0+d48e752",
67
+ "@agoric/kmarshal": "0.1.1-dev-00137a3.0+00137a3",
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": "d48e752ddd82e04a7677082ac87a60c83c27bf07"
140
+ "gitHead": "00137a3dd689ca6255e11dc171c9b1cc8b8261ba"
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<string>} `Deposit and reallocation successful.`
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.string()),
130
+ handle: M.call(SeatShape).optional(M.any()).returns(M.any()),
131
131
  });
132
132
 
133
133
  export const SeatHandleAllocationsShape = M.arrayOf(