@agoric/notifier 0.6.3-dev-4989f26.0 → 0.6.3-dev-779b73d.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/storesub.d.ts.map +1 -1
- package/src/storesub.js +1 -3
- package/src/subscribe.d.ts.map +1 -1
- package/src/subscribe.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/notifier",
|
|
3
|
-
"version": "0.6.3-dev-
|
|
3
|
+
"version": "0.6.3-dev-779b73d.0+779b73d",
|
|
4
4
|
"description": "Notifier allows services to update clients about state changes using a stream of promises",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@agoric/assert": "0.6.1-dev-
|
|
37
|
-
"@agoric/internal": "0.3.3-dev-
|
|
38
|
-
"@agoric/store": "0.9.3-dev-
|
|
39
|
-
"@agoric/swing-store": "0.9.2-dev-
|
|
40
|
-
"@agoric/swingset-vat": "0.32.3-dev-
|
|
41
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
36
|
+
"@agoric/assert": "0.6.1-dev-779b73d.0+779b73d",
|
|
37
|
+
"@agoric/internal": "0.3.3-dev-779b73d.0+779b73d",
|
|
38
|
+
"@agoric/store": "0.9.3-dev-779b73d.0+779b73d",
|
|
39
|
+
"@agoric/swing-store": "0.9.2-dev-779b73d.0+779b73d",
|
|
40
|
+
"@agoric/swingset-vat": "0.32.3-dev-779b73d.0+779b73d",
|
|
41
|
+
"@agoric/vat-data": "0.5.3-dev-779b73d.0+779b73d",
|
|
42
42
|
"@endo/far": "^0.2.18",
|
|
43
43
|
"@endo/marshal": "^0.8.5",
|
|
44
44
|
"@endo/promise-kit": "^0.2.56"
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
],
|
|
71
71
|
"timeout": "2m"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "779b73d11992c1e00cfe99bfe3444081107a34a1"
|
|
74
74
|
}
|
package/src/storesub.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storesub.d.ts","sourceRoot":"","sources":["storesub.js"],"names":[],"mappings":"AAgBO,+FAFc,IAAI,
|
|
1
|
+
{"version":3,"file":"storesub.d.ts","sourceRoot":"","sources":["storesub.js"],"names":[],"mappings":"AAgBO,+FAFc,IAAI,iBAcxB;AAiBM,gFAJI,KAAK,WAAW,CAAC,cACjB,KAAK,WAAW,kBAAkB,CAAC,CAAC,uBA8B9C;AAkBM;;;;;uCAmEN;AAoBM,4MAkBN;AAgBM,+DAJI,KAAK,WAAW,CAAC,cACjB,KAAK,UAAU,CAAC,uBAW1B;;gBAvDa,mBAAmB,CAAC,CAAC;eACrB,kBAAkB,CAAC,CAAC"}
|
package/src/storesub.js
CHANGED
|
@@ -20,11 +20,9 @@ export const forEachPublicationRecord = async (subscriber, consumeValue) => {
|
|
|
20
20
|
const iterator = subscribeEach(subscriber)[Symbol.asyncIterator]();
|
|
21
21
|
|
|
22
22
|
let finished = false;
|
|
23
|
+
await null;
|
|
23
24
|
while (!finished) {
|
|
24
|
-
// Allow nested awaits (in loop) because it's safe for each to run in a turn
|
|
25
|
-
// eslint-disable-next-line no-await-in-loop, @jessie.js/no-nested-await
|
|
26
25
|
const { value, done } = await iterator.next();
|
|
27
|
-
// eslint-disable-next-line no-await-in-loop, @jessie.js/no-nested-await
|
|
28
26
|
await consumeValue(value);
|
|
29
27
|
finished = !!done;
|
|
30
28
|
}
|
package/src/subscribe.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribe.d.ts","sourceRoot":"","sources":["subscribe.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscribe.d.ts","sourceRoot":"","sources":["subscribe.js"],"names":[],"mappings":"AAkEO;;;;;;;;;;;;;;;;GAUH;AAuEG;;;;GAQN;AAsGM;;;;GAKN"}
|
package/src/subscribe.js
CHANGED
|
@@ -24,7 +24,6 @@ const reconnectAsNeeded = async (getter, seed = []) => {
|
|
|
24
24
|
for (let i = 0; ; i += 1) {
|
|
25
25
|
try {
|
|
26
26
|
const resultP = i < seed.length ? seed[i] : getter();
|
|
27
|
-
// eslint-disable-next-line no-await-in-loop, @jessie.js/no-nested-await
|
|
28
27
|
const result = await resultP;
|
|
29
28
|
return result;
|
|
30
29
|
} catch (err) {
|