@agoric/casting 0.4.3-dev-51399d1.0 → 0.4.3-dev-1b5e57f.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/casting",
3
- "version": "0.4.3-dev-51399d1.0+51399d1",
3
+ "version": "0.4.3-dev-1b5e57f.0+1b5e57f",
4
4
  "description": "Agoric's OCap broadcasting system",
5
5
  "type": "module",
6
6
  "main": "src/main.js",
@@ -22,10 +22,10 @@
22
22
  "author": "Agoric",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@agoric/internal": "0.3.3-dev-51399d1.0+51399d1",
26
- "@agoric/notifier": "0.6.3-dev-51399d1.0+51399d1",
27
- "@agoric/spawner": "0.6.9-dev-51399d1.0+51399d1",
28
- "@agoric/store": "0.9.3-dev-51399d1.0+51399d1",
25
+ "@agoric/internal": "0.3.3-dev-1b5e57f.0+1b5e57f",
26
+ "@agoric/notifier": "0.6.3-dev-1b5e57f.0+1b5e57f",
27
+ "@agoric/spawner": "0.6.9-dev-1b5e57f.0+1b5e57f",
28
+ "@agoric/store": "0.9.3-dev-1b5e57f.0+1b5e57f",
29
29
  "@cosmjs/encoding": "^0.30.1",
30
30
  "@cosmjs/proto-signing": "^0.30.1",
31
31
  "@cosmjs/stargate": "^0.30.1",
@@ -38,7 +38,7 @@
38
38
  "node-fetch": "^2.6.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@agoric/cosmic-proto": "0.3.1-dev-51399d1.0+51399d1",
41
+ "@agoric/cosmic-proto": "0.3.1-dev-1b5e57f.0+1b5e57f",
42
42
  "@endo/ses-ava": "^0.2.43",
43
43
  "@types/node-fetch": "^2.6.2",
44
44
  "ava": "^5.3.0",
@@ -62,5 +62,5 @@
62
62
  "typeCoverage": {
63
63
  "atLeast": 88.12
64
64
  },
65
- "gitHead": "51399d19e8b32f794e2e0b6af990cc439d60dfaa"
65
+ "gitHead": "1b5e57f17a043a43171621bbe3ef68131954f714"
66
66
  }
@@ -1 +1 @@
1
- {"version":3,"file":"follower-cosmjs.d.ts","sourceRoot":"","sources":["follower-cosmjs.js"],"names":[],"mappings":"AAgGO,+CALI,GAAG,gJAifb;+BA3jByB,OAAO,YAAY,EAAE,QAAQ,CAAC,OAAO,YAAY,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;;;;;;iCAIxF;IACZ,QAAY,CAAC,KAAK,EAAE,UAAU,CAAC;IAC/B,QAAY,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"follower-cosmjs.d.ts","sourceRoot":"","sources":["follower-cosmjs.js"],"names":[],"mappings":"AAgGO,+CALI,GAAG,gJAmfb;+BA7jByB,OAAO,YAAY,EAAE,QAAQ,CAAC,OAAO,YAAY,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;;;;;;iCAIxF;IACZ,QAAY,CAAC,KAAK,EAAE,UAAU,CAAC;IAC/B,QAAY,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB"}
@@ -450,9 +450,11 @@ export const makeCosmjsFollower = (
450
450
  // contain data.
451
451
  await null;
452
452
  for (;;) {
453
- ({ value: cursorData, height: cursorBlockHeight } =
453
+ let thisHeight;
454
+ ({ value: cursorData, height: thisHeight } =
454
455
  await getDataAtHeight(cursorBlockHeight));
455
456
  if (cursorData.length !== 0) {
457
+ cursorBlockHeight = thisHeight;
456
458
  const cursorStreamCell = streamCellForData(
457
459
  cursorBlockHeight,
458
460
  cursorData,