querysub 0.61.0 → 0.63.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": "querysub",
3
- "version": "0.61.0",
3
+ "version": "0.63.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "note1": "note on node-forge fork, see https://github.com/digitalbazaar/forge/issues/744 for details",
@@ -24,7 +24,7 @@
24
24
  "node-forge": "https://github.com/sliftist/forge#e618181b469b07bdc70b968b0391beb8ef5fecd6",
25
25
  "pako": "^2.1.0",
26
26
  "preact": "^10.11.3",
27
- "socket-function": "^0.52.0",
27
+ "socket-function": "^0.53.0",
28
28
  "terser": "^5.31.0",
29
29
  "typesafecss": "^0.6.3",
30
30
  "yaml": "^2.5.0",
@@ -201,12 +201,9 @@ class NodePathAuthorities {
201
201
 
202
202
 
203
203
  private BOOT_TIME = Date.now();
204
- private d = (type: string) => console.log(`TEST | ${type} at ${formatTime(Date.now() - this.BOOT_TIME)}`);
205
204
  @measureFnc
206
205
  private async watchAuthorityPaths() {
207
- this.d("watchAuthorityPaths");
208
206
  await onNodeDiscoveryReady();
209
- this.d("after onNodeDiscoveryReady");
210
207
 
211
208
  onReadReady = (nodeId, time) => {
212
209
  let obj = this.authorities.get(nodeId);
@@ -224,7 +221,6 @@ class NodePathAuthorities {
224
221
  logErrors(firstPromise.promise);
225
222
 
226
223
  const ingestNewNodeIds = (newNodeIds: string[], removedNodeIds: string[]) => {
227
- this.d("ingestNewNodeIds");
228
224
  for (let nodeId of removedNodeIds) {
229
225
  this.authorities.delete(nodeId);
230
226
  }
@@ -314,7 +310,6 @@ class NodePathAuthorities {
314
310
  watchDeltaNodeIds(obj => ingestNewNodeIds(obj.newNodeIds, obj.removedNodeIds));
315
311
  await firstPromise.promise;
316
312
 
317
- this.d("after firstPromise");
318
313
 
319
314
  let recoveryIndex = 0;
320
315
  runInfinitePoll(INITIAL_RECOVERY_POLL_INTERVAL, async () => {