@agoric/async-flow 0.1.1-dev-62ea793.0 → 0.1.1-dev-6581fd3.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/async-flow",
3
- "version": "0.1.1-dev-62ea793.0+62ea793",
3
+ "version": "0.1.1-dev-6581fd3.0+6581fd3",
4
4
  "description": "Upgrade async functions at await points by replay",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/Agoric/agoric-sdk",
@@ -24,10 +24,10 @@
24
24
  "author": "Agoric",
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@agoric/base-zone": "0.1.1-dev-62ea793.0+62ea793",
28
- "@agoric/internal": "0.3.3-dev-62ea793.0+62ea793",
29
- "@agoric/store": "0.9.3-dev-62ea793.0+62ea793",
30
- "@agoric/vow": "0.1.1-dev-62ea793.0+62ea793",
27
+ "@agoric/base-zone": "0.1.1-dev-6581fd3.0+6581fd3",
28
+ "@agoric/internal": "0.3.3-dev-6581fd3.0+6581fd3",
29
+ "@agoric/store": "0.9.3-dev-6581fd3.0+6581fd3",
30
+ "@agoric/vow": "0.1.1-dev-6581fd3.0+6581fd3",
31
31
  "@endo/common": "^1.2.2",
32
32
  "@endo/errors": "^1.2.2",
33
33
  "@endo/eventual-send": "^1.2.2",
@@ -37,8 +37,8 @@
37
37
  "@endo/promise-kit": "^1.1.2"
38
38
  },
39
39
  "devDependencies": {
40
- "@agoric/swingset-liveslots": "0.10.3-dev-62ea793.0+62ea793",
41
- "@agoric/zone": "0.2.3-dev-62ea793.0+62ea793",
40
+ "@agoric/swingset-liveslots": "0.10.3-dev-6581fd3.0+6581fd3",
41
+ "@agoric/zone": "0.2.3-dev-6581fd3.0+6581fd3",
42
42
  "@endo/env-options": "^1.1.4",
43
43
  "@endo/ses-ava": "^1.2.2",
44
44
  "ava": "^5.3.0"
@@ -62,5 +62,5 @@
62
62
  "typeCoverage": {
63
63
  "atLeast": 77.83
64
64
  },
65
- "gitHead": "62ea79368de79a697b8ef04ea9946cf621c81239"
65
+ "gitHead": "6581fd366ea1284a2da3a63f851da88aa1d1ea6f"
66
66
  }
@@ -1 +1 @@
1
- {"version":3,"file":"replay-membrane.d.ts","sourceRoot":"","sources":["replay-membrane.js"],"names":[],"mappings":"AAsCO,oFANJ;IAAsB,GAAG,EAAjB,QAAQ;IACO,SAAS,EAAxB,SAAS;IACK,QAAQ,EAAtB,QAAQ;IAC6B,SAAS,EAA9C,CAAC,MAAM,EAAE,eAAU,GAAG,KAAK,IAAI;IACA,KAAK,EAApC,CAAC,OAAO,EAAE,KAAK,KAAK,KAAK;CACnC;;;;;;;;;;GAyrBA;6BAGa,UAAU,mDAjsBrB;IAAsB,GAAG,EAAjB,QAAQ;IACO,SAAS,EAAxB,SAAS;IACK,QAAQ,EAAtB,QAAQ;IAC6B,SAAS,EAA9C,CAAC,MAAM,EAAE,eAAU,GAAG,KAAK,IAAI;IACA,KAAK,EAApC,CAAC,OAAO,EAAE,KAAK,KAAK,KAAK;CACnC;;;;;;;;;;GA4rB2C;8BA1sBjB,qBAAqB;+BACpB,qBAAqB;8BAFT,aAAa;yBAAb,aAAa;8BADD,kBAAkB"}
1
+ {"version":3,"file":"replay-membrane.d.ts","sourceRoot":"","sources":["replay-membrane.js"],"names":[],"mappings":"AAsCO,oFANJ;IAAsB,GAAG,EAAjB,QAAQ;IACO,SAAS,EAAxB,SAAS;IACK,QAAQ,EAAtB,QAAQ;IAC6B,SAAS,EAA9C,CAAC,MAAM,EAAE,eAAU,GAAG,KAAK,IAAI;IACA,KAAK,EAApC,CAAC,OAAO,EAAE,KAAK,KAAK,KAAK;CACnC;;;;;;;;;;GAusBA;6BAGa,UAAU,mDA/sBrB;IAAsB,GAAG,EAAjB,QAAQ;IACO,SAAS,EAAxB,SAAS;IACK,QAAQ,EAAtB,QAAQ;IAC6B,SAAS,EAA9C,CAAC,MAAM,EAAE,eAAU,GAAG,KAAK,IAAI;IACA,KAAK,EAApC,CAAC,OAAO,EAAE,KAAK,KAAK,KAAK;CACnC;;;;;;;;;;GA0sB2C;8BAxtBjB,qBAAqB;+BACpB,qBAAqB;8BAFT,aAAa;yBAAb,aAAa;8BADD,kBAAkB"}
@@ -285,7 +285,14 @@ export const makeReplayMembrane = ({
285
285
  try {
286
286
  optVerb
287
287
  ? heapVowE.sendOnly(hostTarget)[optVerb](...hostArgs)
288
- : // @ts-expect-error XXX heapVowE
288
+ : // eslint-disable-next-line @typescript-eslint/ban-ts-comment
289
+ // @ts-ignore once we changed this from E to heapVowE,
290
+ // typescript started complaining that heapVowE(hostTarget)
291
+ // is not callable. I'm not sure if this is a just a typing bug
292
+ // in heapVowE or also reflects a runtime deficiency. But this
293
+ // case it not used yet anyway. We disable it
294
+ // with at-ts-ignore rather than at-ts-expect-error because
295
+ // the dependency-graph tests complains that the latter is unused.
289
296
  heapVowE.sendOnly(hostTarget)(...hostArgs);
290
297
  } catch (hostProblem) {
291
298
  throw Panic`internal: eventual sendOnly synchrously failed ${hostProblem}`;
@@ -313,7 +320,14 @@ export const makeReplayMembrane = ({
313
320
  try {
314
321
  const hostPromise = optVerb
315
322
  ? heapVowE(hostTarget)[optVerb](...hostArgs)
316
- : // @ts-expect-error XXX heapVowE
323
+ : // eslint-disable-next-line @typescript-eslint/ban-ts-comment
324
+ // @ts-ignore once we changed this from E to heapVowE,
325
+ // typescript started complaining that heapVowE(hostTarget)
326
+ // is not callable. I'm not sure if this is a just a typing bug
327
+ // in heapVowE or also reflects a runtime deficiency. But this
328
+ // case it not used yet anyway. We disable it
329
+ // with at-ts-ignore rather than at-ts-expect-error because
330
+ // the dependency-graph tests complains that the latter is unused.
317
331
  heapVowE(hostTarget)(...hostArgs);
318
332
  resolver.resolve(hostPromise); // TODO does this always work?
319
333
  } catch (hostProblem) {