@agoric/async-flow 0.1.1-dev-249a5d4.0 → 0.1.1-dev-5856dc0.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-249a5d4.0+249a5d4",
3
+ "version": "0.1.1-dev-5856dc0.0+5856dc0",
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,9 +24,9 @@
24
24
  "author": "Agoric",
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@agoric/base-zone": "0.1.1-dev-249a5d4.0+249a5d4",
28
- "@agoric/store": "0.9.3-dev-249a5d4.0+249a5d4",
29
- "@agoric/vow": "0.1.1-dev-249a5d4.0+249a5d4",
27
+ "@agoric/base-zone": "0.1.1-dev-5856dc0.0+5856dc0",
28
+ "@agoric/store": "0.9.3-dev-5856dc0.0+5856dc0",
29
+ "@agoric/vow": "0.1.1-dev-5856dc0.0+5856dc0",
30
30
  "@endo/common": "^1.2.2",
31
31
  "@endo/errors": "^1.2.2",
32
32
  "@endo/eventual-send": "^1.2.2",
@@ -36,9 +36,9 @@
36
36
  "@endo/promise-kit": "^1.1.2"
37
37
  },
38
38
  "devDependencies": {
39
- "@agoric/internal": "0.3.3-dev-249a5d4.0+249a5d4",
40
- "@agoric/swingset-liveslots": "0.10.3-dev-249a5d4.0+249a5d4",
41
- "@agoric/zone": "0.2.3-dev-249a5d4.0+249a5d4",
39
+ "@agoric/internal": "0.3.3-dev-5856dc0.0+5856dc0",
40
+ "@agoric/swingset-liveslots": "0.10.3-dev-5856dc0.0+5856dc0",
41
+ "@agoric/zone": "0.2.3-dev-5856dc0.0+5856dc0",
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": "249a5d429ebf18be65e8e04ada7acda06e7be02d"
65
+ "gitHead": "5856dc0a002031bdcc1d22a68a6fcf6fa9be38e0"
66
66
  }
@@ -18,7 +18,7 @@ export function makeReplayMembrane(log: import("@endo/exo").Guarded<{
18
18
  guestToHost(g: any): any;
19
19
  hostToGuest(h: any): any;
20
20
  }>, vowTools: {
21
- when: <T, TResult1 = import("@agoric/vow").Unwrap<T>, TResult2 = never>(specimenP: T, onFulfilled?: ((value: import("@agoric/vow").Unwrap<T>) => TResult1 | PromiseLike<TResult1>) | undefined, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined) => Promise<TResult1 | TResult2>;
21
+ when: <T, TResult1 = import("@agoric/vow").EUnwrap<T>, TResult2 = never>(specimenP: T, onFulfilled?: ((value: import("@agoric/vow").EUnwrap<T>) => TResult1 | PromiseLike<TResult1>) | undefined, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined) => Promise<TResult1 | TResult2>;
22
22
  /**
23
23
  * When replaying, this comes from interpreting the log.
24
24
  * Otherwise, it is triggered by a watcher watching hostVow,
@@ -69,7 +69,7 @@ export type ReplayMembrane = ReturnType<(log: import("@endo/exo").Guarded<{
69
69
  guestToHost(g: any): any;
70
70
  hostToGuest(h: any): any;
71
71
  }>, vowTools: {
72
- when: <T, TResult1 = import("@agoric/vow").Unwrap<T>, TResult2 = never>(specimenP: T, onFulfilled?: ((value: import("@agoric/vow").Unwrap<T>) => TResult1 | PromiseLike<TResult1>) | undefined, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined) => Promise<TResult1 | TResult2>;
72
+ when: <T, TResult1 = import("@agoric/vow").EUnwrap<T>, TResult2 = never>(specimenP: T, onFulfilled?: ((value: import("@agoric/vow").EUnwrap<T>) => TResult1 | PromiseLike<TResult1>) | undefined, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined) => Promise<TResult1 | TResult2>;
73
73
  /**
74
74
  * When replaying, this comes from interpreting the log.
75
75
  * Otherwise, it is triggered by a watcher watching hostVow,
@@ -1 +1 @@
1
- {"version":3,"file":"replay-membrane.d.ts","sourceRoot":"","sources":["replay-membrane.js"],"names":[],"mappings":"AAqBO;;;;;;;;;;;;;;;;;;;;uFATqC,CAAC;IA4B3C;;;;;;;OAOG;;IAPH;;;;;;;OAOG;;oBAbM,SAAS;8CAhBkB,IAAI,SAC/B,CAAC,OAAO,EAAE,KAAK,KAAK,KAAK;;;;;;;;;;GAqdnC;6BAGa,UAAU;;;;;;;;;;;;;;;;;;;;uFA/doB,CAAC;IA4B3C;;;;;;;OAOG;;IAPH;;;;;;;OAOG;;oBAbM,SAAS;2DAfT,CAAC,OAAO,EAAE,KAAK,KAAK,KAAK;;;;;;;;;;GAwdQ"}
1
+ {"version":3,"file":"replay-membrane.d.ts","sourceRoot":"","sources":["replay-membrane.js"],"names":[],"mappings":"AAqBO;;;;;;;;;;;;;;;;;;;;wFATuC,CAAC;IA4B7C;;;;;;;OAOG;;IAPH;;;;;;;OAOG;;oBAbM,SAAS;8CAhBkB,IAAI,SAC/B,CAAC,OAAO,EAAE,KAAK,KAAK,KAAK;;;;;;;;;;GAqdnC;6BAGa,UAAU;;;;;;;;;;;;;;;;;;;;wFA/dsB,CAAC;IA4B7C;;;;;;;OAOG;;IAPH;;;;;;;OAOG;;oBAbM,SAAS;2DAfT,CAAC,OAAO,EAAE,KAAK,KAAK,KAAK;;;;;;;;;;GAwdQ"}
package/src/types.d.ts CHANGED
@@ -12,7 +12,7 @@ type GuestAsyncFunc = (...activationArgs: Guest[]) => Guest<Promise<any>>;
12
12
  type HostAsyncFuncWrapper = (...activationArgs: Host[]) => HostVow;
13
13
  type PreparationOptions = {
14
14
  vowTools?: {
15
- when: <T, TResult1 = import("@agoric/vow").Unwrap<T>, TResult2 = never>(specimenP: T, onFulfilled?: ((value: import("@agoric/vow").Unwrap<T>) => TResult1 | PromiseLike<TResult1>) | undefined, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined) => Promise<TResult1 | TResult2>;
15
+ when: <T, TResult1 = import("@agoric/vow").EUnwrap<T>, TResult2 = never>(specimenP: T, onFulfilled?: ((value: import("@agoric/vow").EUnwrap<T>) => TResult1 | PromiseLike<TResult1>) | undefined, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined) => Promise<TResult1 | TResult2>;
16
16
  watch: <T_1 = any, TResult1_1 = T_1, TResult2_1 = never, C = any>(specimenP: import("@agoric/vow").ERef<T_1 | Vow<T_1>>, watcher?: import("@agoric/vow").Watcher<T_1, TResult1_1, TResult2_1> | undefined, watcherContext?: C | undefined) => Vow<Exclude<TResult1_1, void> | Exclude<TResult2_1, void> extends never ? TResult1_1 : Exclude<TResult1_1, void> | Exclude<TResult2_1, void>>;
17
17
  makeVowKit: <T_2>() => import("@agoric/vow").VowKit<T_2>;
18
18
  allVows: (vows: unknown[]) => Vow<any[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":"iBAWa,SAAS,GACrB,UAAsB,GACtB,WAAuB,GACvB,QAAoB,GACpB,MAAkB;WAMN,CAAC,gCAAD,CAAC;UAKD,CAAC,gCAAD,CAAC;;;;;aAQQ,CAAC;;;sBAIV,CAAC,GAAG,cAAc,EAAE,KAAK,EAAE,KAAK,KAAK,cAAS;4BAI9C,CAAC,GAAG,cAAc,EAAE,IAAI,EAAE,KAAK,OAAO;;;2FA3BjC,CAAC;;;wBA2BP,SAAQ;;;;;;;;;;;;;;;;;;;;;;;;mBAWP,QAAQ,GAAC,OAAO;eAIhB;IAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,GAAG,CAAA;CAAC,GAC7B;IAAC,IAAI,EAAE,OAAO,CAAC;IAAE,OAAO,EAAE,GAAG,CAAA;CAAC;cAStB,CAAC,4BADK,CAAC;SAAd,C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