@agoric/casting 0.4.3-dev-3ba7ca7.0 → 0.4.3-dev-59b637f.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-3ba7ca7.0+3ba7ca7",
3
+ "version": "0.4.3-dev-59b637f.0+59b637f",
4
4
  "description": "Agoric's OCap broadcasting system",
5
5
  "type": "module",
6
6
  "main": "src/main.js",
@@ -22,9 +22,9 @@
22
22
  "author": "Agoric",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@agoric/internal": "0.3.3-dev-3ba7ca7.0+3ba7ca7",
26
- "@agoric/notifier": "0.6.3-dev-3ba7ca7.0+3ba7ca7",
27
- "@agoric/store": "0.9.3-dev-3ba7ca7.0+3ba7ca7",
25
+ "@agoric/internal": "0.3.3-dev-59b637f.0+59b637f",
26
+ "@agoric/notifier": "0.6.3-dev-59b637f.0+59b637f",
27
+ "@agoric/store": "0.9.3-dev-59b637f.0+59b637f",
28
28
  "@cosmjs/encoding": "^0.32.3",
29
29
  "@cosmjs/proto-signing": "^0.32.3",
30
30
  "@cosmjs/stargate": "^0.32.3",
@@ -37,7 +37,7 @@
37
37
  "@endo/promise-kit": "^1.1.8"
38
38
  },
39
39
  "devDependencies": {
40
- "@agoric/cosmic-proto": "0.4.1-dev-3ba7ca7.0+3ba7ca7",
40
+ "@agoric/cosmic-proto": "0.4.1-dev-59b637f.0+59b637f",
41
41
  "@endo/ses-ava": "^1.2.8",
42
42
  "ava": "^5.3.0",
43
43
  "c8": "^9.1.0",
@@ -60,5 +60,5 @@
60
60
  "typeCoverage": {
61
61
  "atLeast": 88.91
62
62
  },
63
- "gitHead": "3ba7ca79fab3d11187ab59eba43f59b3f112b2c0"
63
+ "gitHead": "59b637f00caf53777371f824c5367a567eb26ec9"
64
64
  }
@@ -1 +1 @@
1
- {"version":3,"file":"leader.d.ts","sourceRoot":"","sources":["leader.js"],"names":[],"mappings":"AAWO,gDAHI,MAAM,EAAE,kBACR,OAAO,YAAY,EAAE,aAAa,+BA2E5C"}
1
+ {"version":3,"file":"leader.d.ts","sourceRoot":"","sources":["leader.js"],"names":[],"mappings":"AAWO,gDAHI,MAAM,EAAE,kBACR,OAAO,YAAY,EAAE,aAAa,+BAuE5C"}
package/src/leader.js CHANGED
@@ -31,7 +31,6 @@ export const makeRoundRobinLeader = (endpoints, leaderOptions = {}) => {
31
31
  }
32
32
  throw err;
33
33
  },
34
- // eslint-disable-next-line no-use-before-define
35
34
  watchCasting: _castingSpecP => pollingChangeFollower,
36
35
  /**
37
36
  * @template T
@@ -55,10 +54,7 @@ export const makeRoundRobinLeader = (endpoints, leaderOptions = {}) => {
55
54
  });
56
55
  }
57
56
 
58
- retrying
59
- .then(() => jitter && jitter(where))
60
- // eslint-disable-next-line no-use-before-define
61
- .then(applyOne, reject);
57
+ retrying.then(() => jitter && jitter(where)).then(applyOne, reject);
62
58
  thisAttempt += 1;
63
59
  };
64
60