@agoric/async-flow 0.1.1-dev-cc6a9e5.0 → 0.1.1-dev-bd50e5e.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/test/async-flow.test.js +2 -2
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-bd50e5e.0+bd50e5e",
|
|
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-
|
|
28
|
-
"@agoric/internal": "0.3.3-dev-
|
|
29
|
-
"@agoric/store": "0.9.3-dev-
|
|
30
|
-
"@agoric/vow": "0.1.1-dev-
|
|
27
|
+
"@agoric/base-zone": "0.1.1-dev-bd50e5e.0+bd50e5e",
|
|
28
|
+
"@agoric/internal": "0.3.3-dev-bd50e5e.0+bd50e5e",
|
|
29
|
+
"@agoric/store": "0.9.3-dev-bd50e5e.0+bd50e5e",
|
|
30
|
+
"@agoric/vow": "0.1.1-dev-bd50e5e.0+bd50e5e",
|
|
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-
|
|
41
|
-
"@agoric/zone": "0.2.3-dev-
|
|
40
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-bd50e5e.0+bd50e5e",
|
|
41
|
+
"@agoric/zone": "0.2.3-dev-bd50e5e.0+bd50e5e",
|
|
42
42
|
"@endo/env-options": "^1.1.4",
|
|
43
43
|
"@endo/ses-ava": "^1.2.2",
|
|
44
44
|
"ava": "^5.3.0",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"typeCoverage": {
|
|
64
64
|
"atLeast": 76.95
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "bd50e5e0a7ed5ce1da8faf901c28ea4328bbe84c"
|
|
67
67
|
}
|
package/test/async-flow.test.js
CHANGED
|
@@ -242,7 +242,7 @@ const testGoodReplay = async (t, zone) => {
|
|
|
242
242
|
// same question. different answer
|
|
243
243
|
t.is(prod2, 42);
|
|
244
244
|
t.log('about to await p3');
|
|
245
|
-
await p3;
|
|
245
|
+
t.is(await p3.catch(r => r), 'done');
|
|
246
246
|
t.log('p3 settled');
|
|
247
247
|
},
|
|
248
248
|
};
|
|
@@ -294,7 +294,7 @@ const testGoodReplay = async (t, zone) => {
|
|
|
294
294
|
]);
|
|
295
295
|
|
|
296
296
|
// @ts-expect-error TS doesn't know it is a resolver
|
|
297
|
-
r3.
|
|
297
|
+
r3.reject('done');
|
|
298
298
|
await eventLoopIteration();
|
|
299
299
|
|
|
300
300
|
t.is(await when(outcomeV), undefined);
|