@agoric/async-flow 0.1.1-dev-c19f1b5.0 → 0.1.1-dev-5a03adc.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 +8 -8
- package/src/replay-membrane.d.ts +4 -4
- package/src/replay-membrane.d.ts.map +1 -1
- package/src/types.d.ts +2 -2
- package/src/types.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/async-flow",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-5a03adc.0+5a03adc",
|
|
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-
|
|
28
|
-
"@agoric/store": "0.9.3-dev-
|
|
29
|
-
"@agoric/vow": "0.1.1-dev-
|
|
27
|
+
"@agoric/base-zone": "0.1.1-dev-5a03adc.0+5a03adc",
|
|
28
|
+
"@agoric/store": "0.9.3-dev-5a03adc.0+5a03adc",
|
|
29
|
+
"@agoric/vow": "0.1.1-dev-5a03adc.0+5a03adc",
|
|
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-
|
|
40
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
41
|
-
"@agoric/zone": "0.2.3-dev-
|
|
39
|
+
"@agoric/internal": "0.3.3-dev-5a03adc.0+5a03adc",
|
|
40
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-5a03adc.0+5a03adc",
|
|
41
|
+
"@agoric/zone": "0.2.3-dev-5a03adc.0+5a03adc",
|
|
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": "
|
|
65
|
+
"gitHead": "5a03adce8cbd015d9b10b3c52267dc4fe1a3b8ab"
|
|
66
66
|
}
|
package/src/replay-membrane.d.ts
CHANGED
|
@@ -19,9 +19,9 @@ export function makeReplayMembrane(log: import("@endo/exo").Guarded<{
|
|
|
19
19
|
hostToGuest(h: any): any;
|
|
20
20
|
}>, vowTools: {
|
|
21
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>;
|
|
22
|
-
watch: <T_1 =
|
|
22
|
+
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>>;
|
|
23
23
|
makeVowKit: <T_2>() => import("@agoric/vow").VowKit<T_2>;
|
|
24
|
-
allVows: (vows:
|
|
24
|
+
allVows: (vows: unknown[]) => Vow<any[]>;
|
|
25
25
|
}, watchWake: (vowish: Promise<any> | Vow) => void, panic: (problem: Error) => never): {
|
|
26
26
|
hostToGuest: (specimen: Passable, label?: string | undefined) => any;
|
|
27
27
|
guestToHost: (specimen: Passable, label?: string | undefined) => any;
|
|
@@ -54,9 +54,9 @@ export type ReplayMembrane = ReturnType<(log: import("@endo/exo").Guarded<{
|
|
|
54
54
|
hostToGuest(h: any): any;
|
|
55
55
|
}>, vowTools: {
|
|
56
56
|
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>;
|
|
57
|
-
watch: <T_1 =
|
|
57
|
+
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>>;
|
|
58
58
|
makeVowKit: <T_2>() => import("@agoric/vow").VowKit<T_2>;
|
|
59
|
-
allVows: (vows:
|
|
59
|
+
allVows: (vows: unknown[]) => Vow<any[]>;
|
|
60
60
|
}, watchWake: (vowish: Promise<any> | Vow) => void, panic: (problem: Error) => never) => {
|
|
61
61
|
hostToGuest: (specimen: Passable, label?: string | undefined) => any;
|
|
62
62
|
guestToHost: (specimen: Passable, label?: string | undefined) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay-membrane.d.ts","sourceRoot":"","sources":["replay-membrane.js"],"names":[],"mappings":"AAkBO;;;;;;;;;;;;;;;;;;;;uFATK,CAAC
|
|
1
|
+
{"version":3,"file":"replay-membrane.d.ts","sourceRoot":"","sources":["replay-membrane.js"],"names":[],"mappings":"AAkBO;;;;;;;;;;;;;;;;;;;;uFATK,CAAC;;;oBAkBwB,SAEhC;8CAdiC,IAAI,SAC/B,CAAC,OAAO,EAAE,KAAK,KAAK,KAAK;;;;;;;;;;GA+ZnC;6BAGa,UAAU;;;;;;;;;;;;;;;;;;;;uFAzaZ,CAAC;;;oBAkBwB,SAEhC;2DAbM,CAAC,OAAO,EAAE,KAAK,KAAK,KAAK;;;;;;;;;;GAkaQ"}
|
package/src/types.d.ts
CHANGED
|
@@ -13,9 +13,9 @@ type HostAsyncFuncWrapper = (...activationArgs: Host[]) => HostVow;
|
|
|
13
13
|
type PreparationOptions = {
|
|
14
14
|
vowTools?: {
|
|
15
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>;
|
|
16
|
-
watch: <T_1 =
|
|
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
|
-
allVows: (vows:
|
|
18
|
+
allVows: (vows: unknown[]) => Vow<any[]>;
|
|
19
19
|
} | undefined;
|
|
20
20
|
makeLogStore?: (() => import("@endo/exo").Guarded<{
|
|
21
21
|
reset(): void;
|
package/src/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.js"],"names":[],"mappings":"iBAWa,SAAS,GACrB,UAAsB,GACtB,WAAuB,GACvB,QAAoB,GACpB,M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