querysub 0.69.0 → 0.71.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.69.0",
3
+ "version": "0.71.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.59.0",
27
+ "socket-function": "^0.60.0",
28
28
  "terser": "^5.31.0",
29
29
  "typesafecss": "^0.6.3",
30
30
  "yaml": "^2.5.0",
@@ -457,9 +457,7 @@ if (isServer()) {
457
457
  // when using management tools to scan the DB (otherwise the entire DB has to go through
458
458
  // our router, which can easily cap it at 15MB/s, because rogers is terrible).
459
459
  // - Only if isNoNetwork, otherwise it causes unnecessary lag.
460
- console.log(`Start isNoNetwork call at ${Date.now()}`);
461
460
  let isNoNetwork = await NodeDiscoveryController.nodes[browserNodeId].isNoNetwork();
462
- console.log(`End isNoNetwork call at ${Date.now()}`);
463
461
  if (isNoNetwork && !location.search.includes("nolocalhost")) {
464
462
  let url = new URL("https://" + browserNodeId);
465
463
  url.hostname = "127-0-0-1." + url.hostname;
@@ -527,10 +525,7 @@ class NodeDiscoveryControllerBase {
527
525
  return SocketFunction.mountedNodeId;
528
526
  }
529
527
  public async isNoNetwork() {
530
- console.log(`Start isNoNetwork call at ${Date.now()}`);
531
- let result = isNoNetwork();
532
- console.log(`End isNoNetwork call at ${Date.now()}`);
533
- return result;
528
+ return isNoNetwork();
534
529
  }
535
530
  }
536
531
  const NodeDiscoveryController = SocketFunction.register(