@agoric/zoe 0.26.3-dev-4989f26.0 → 0.26.3-dev-9f34f9d.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-4989f26.0+4989f26",
3
+ "version": "0.26.3-dev-9f34f9d.0+9f34f9d",
4
4
  "description": "Zoe: the Smart Contract Framework for Offer Enforcement",
5
5
  "type": "module",
6
6
  "main": "./src/zoeService/zoe.js",
@@ -43,14 +43,14 @@
43
43
  },
44
44
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
45
45
  "dependencies": {
46
- "@agoric/assert": "0.6.1-dev-4989f26.0+4989f26",
47
- "@agoric/ertp": "0.16.3-dev-4989f26.0+4989f26",
48
- "@agoric/internal": "0.3.3-dev-4989f26.0+4989f26",
49
- "@agoric/notifier": "0.6.3-dev-4989f26.0+4989f26",
50
- "@agoric/store": "0.9.3-dev-4989f26.0+4989f26",
51
- "@agoric/swingset-vat": "0.32.3-dev-4989f26.0+4989f26",
52
- "@agoric/time": "0.3.3-dev-4989f26.0+4989f26",
53
- "@agoric/vat-data": "0.5.3-dev-4989f26.0+4989f26",
46
+ "@agoric/assert": "0.6.1-dev-9f34f9d.0+9f34f9d",
47
+ "@agoric/ertp": "0.16.3-dev-9f34f9d.0+9f34f9d",
48
+ "@agoric/internal": "0.3.3-dev-9f34f9d.0+9f34f9d",
49
+ "@agoric/notifier": "0.6.3-dev-9f34f9d.0+9f34f9d",
50
+ "@agoric/store": "0.9.3-dev-9f34f9d.0+9f34f9d",
51
+ "@agoric/swingset-vat": "0.32.3-dev-9f34f9d.0+9f34f9d",
52
+ "@agoric/time": "0.3.3-dev-9f34f9d.0+9f34f9d",
53
+ "@agoric/vat-data": "0.5.3-dev-9f34f9d.0+9f34f9d",
54
54
  "@endo/bundle-source": "^2.5.1",
55
55
  "@endo/captp": "^3.1.1",
56
56
  "@endo/eventual-send": "^0.17.2",
@@ -126,5 +126,5 @@
126
126
  "publishConfig": {
127
127
  "access": "public"
128
128
  },
129
- "gitHead": "4989f26753580251326c40fd6a7a7e3b853aff01"
129
+ "gitHead": "9f34f9d4e0c6c6db24b28bd6157df25b348b8232"
130
130
  }
@@ -1 +1 @@
1
- {"version":3,"file":"priceAuthority.d.ts","sourceRoot":"","sources":["priceAuthority.js"],"names":[],"mappings":"AA6DA;;;;;;;;;GASG;AACH;IAR+B,WAAW,EAA/B,OAAO,KAAK,CAAC;IACiB,QAAQ,EAAtC,KAAK,SAAS,OAAO,CAAC,CAAC;IACmC,KAAK,EAA/D,KAAK,OAAO,wBAAwB,EAAE,YAAY,CAAC;IAC5B,WAAW,EAAlC,gBAAgB;IACG,aAAa,EAAhC,MAAM,KAAK,CAAC;IACO,cAAc,EAAjC,MAAM,KAAK,CAAC;IACV,iBAAiB,CA6S7B;AAxUD,sEAiBG;qCA3CQ,MAAM,eACN,MAAM,KACJ,OAAO;2CAiBT,gBAAgB,KACd,QAAQ,IAAI,CAAC"}
1
+ {"version":3,"file":"priceAuthority.d.ts","sourceRoot":"","sources":["priceAuthority.js"],"names":[],"mappings":"AA6DA;;;;;;;;;GASG;AACH;IAR+B,WAAW,EAA/B,OAAO,KAAK,CAAC;IACiB,QAAQ,EAAtC,KAAK,SAAS,OAAO,CAAC,CAAC;IACmC,KAAK,EAA/D,KAAK,OAAO,wBAAwB,EAAE,YAAY,CAAC;IAC5B,WAAW,EAAlC,gBAAgB;IACG,aAAa,EAAhC,MAAM,KAAK,CAAC;IACO,cAAc,EAAjC,MAAM,KAAK,CAAC;IACV,iBAAiB,CA8S7B;AAzUD,sEAiBG;qCA3CQ,MAAM,eACN,MAAM,KACJ,OAAO;2CAiBT,gBAAgB,KACd,QAAQ,IAAI,CAAC"}
@@ -336,6 +336,7 @@ export function makeOnewayPriceAuthorityKit(opts) {
336
336
  deadline,
337
337
  Far('wakeObj', {
338
338
  async wake(timestamp) {
339
+ await null;
339
340
  try {
340
341
  const quoteP = createQuote(calcAmountOut => ({
341
342
  amountIn,
@@ -1 +1 @@
1
- {"version":3,"file":"oracle.d.ts","sourceRoot":"","sources":["oracle.js"],"names":[],"mappings":"6BAsGc,WAAW,YAAY,CAAC;0BACxB,YAAY;AAhG1B;;;;GAIG;AACH,2BAFW,GAAG;;;;;;;QAkDV,iCAAiC;qBAArB,WAAW;QAevB,iCAAiC;mCAArB,WAAW;;QAfvB,iCAAiC;qBAArB,WAAW;QAevB,iCAAiC;mCAArB,WAAW;;GAuB1B"}
1
+ {"version":3,"file":"oracle.d.ts","sourceRoot":"","sources":["oracle.js"],"names":[],"mappings":"6BAwGc,WAAW,YAAY,CAAC;0BACxB,YAAY;AAlG1B;;;;GAIG;AACH,2BAFW,GAAG;;;;;;;QAkDV,iCAAiC;qBAArB,WAAW;QAgBvB,iCAAiC;mCAArB,WAAW;;QAhBvB,iCAAiC;qBAArB,WAAW;QAgBvB,iCAAiC;mCAArB,WAAW;;GAwB1B"}
@@ -60,6 +60,7 @@ const start = async zcf => {
60
60
  const publicFacet = Far('publicFacet', {
61
61
  /** @param {OracleQuery} query */
62
62
  async query(query) {
63
+ await null;
63
64
  try {
64
65
  assert(!revoked, revokedMsg);
65
66
  const noFee = AmountMath.makeEmpty(feeBrand);
@@ -77,6 +78,7 @@ const start = async zcf => {
77
78
  async makeQueryInvitation(query) {
78
79
  /** @type {OfferHandler} */
79
80
  const doQuery = async querySeat => {
81
+ await null;
80
82
  try {
81
83
  const fee = querySeat.getAmountAllocated('Fee', feeBrand);
82
84
  const { requiredFee, reply } = await E(handler).onQuery(query, fee);
@@ -1 +1 @@
1
- {"version":3,"file":"fakePriceAuthority.d.ts","sourceRoot":"","sources":["fakePriceAuthority.js"],"names":[],"mappings":"AAsBA;;;;;;;;;;GAUG;AAEH;;;;;;GAMG;AACH,gDAHW,yBAAyB,GACvB,QAAQ,cAAc,CAAC,CAsSnC;;mBArTa,MAAM,KAAK,CAAC;oBACZ,MAAM,KAAK,CAAC;;;WAGZ,KAAK,OAAO,wBAAwB,EAAE,YAAY,CAAC"}
1
+ {"version":3,"file":"fakePriceAuthority.d.ts","sourceRoot":"","sources":["fakePriceAuthority.js"],"names":[],"mappings":"AAsBA;;;;;;;;;;GAUG;AAEH;;;;;;GAMG;AACH,gDAHW,yBAAyB,GACvB,QAAQ,cAAc,CAAC,CAoSnC;;mBAnTa,MAAM,KAAK,CAAC;oBACZ,MAAM,KAAK,CAAC;;;WAGZ,KAAK,OAAO,wBAAwB,EAAE,YAAY,CAAC"}
@@ -254,10 +254,8 @@ export async function makeFakePriceAuthority(options) {
254
254
  async function* generateQuotes(amountIn, brandOut) {
255
255
  let record = await ticker.getUpdateSince();
256
256
  while (record.updateCount !== undefined) {
257
- // eslint-disable-next-line no-await-in-loop
258
257
  const { value: timestamp } = record; // = await E(timer).getCurrentTimestamp();
259
258
  yield priceInQuote(amountIn, brandOut, timestamp);
260
- // eslint-disable-next-line no-await-in-loop
261
259
  record = await ticker.getUpdateSince(record.updateCount);
262
260
  }
263
261
  }
@@ -94,8 +94,8 @@ const buildManualTimer = (log = nolog, startValue = 0n, options = {}) => {
94
94
 
95
95
  const tickN = async (nTimes, msg) => {
96
96
  nTimes >= 1 || Fail`invariant nTimes >= 1`;
97
+ await null;
97
98
  for (let i = 0; i < nTimes; i += 1) {
98
- // eslint-disable-next-line no-await-in-loop
99
99
  await tick(msg);
100
100
  }
101
101
  };