querysub 0.348.0 → 0.349.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.348.0",
3
+ "version": "0.349.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",
@@ -588,30 +588,6 @@ export class ClientWatcher {
588
588
  }
589
589
  }, "ClientWatcher()|setWatches|parentPaths");
590
590
 
591
- // Audit code to check if we failed to correctly maintain our paths
592
- // OR (more likely), the watcher mutated the paths Set, which breaks our watching
593
- /*
594
- {
595
- for (let [path, map] of this.valueFunctionWatchers) {
596
- for (let [callback, liveWatchSpec] of map) {
597
- if (liveWatchSpec.callback === watchSpec.callback) {
598
- let shouldWatch = (
599
- watchSpec.paths.has(path)
600
- || watchSpec.parentPaths.has(getParentPathStr(path))
601
- );
602
- if (!shouldWatch) {
603
- //todonext
604
- // So... this isn't good.
605
- // - ALSO, it happens when liveWatchSpec !== watchSpec, which means
606
- // we failed to cleanup the previous watchSpec. Oops...
607
- debugger;
608
- }
609
- }
610
- }
611
- }
612
- }
613
- */
614
-
615
591
  let pathsArray!: string[];
616
592
  let parentPathsArray!: string[];
617
593
  measureBlock(() => {
@@ -401,10 +401,8 @@ export class Querysub {
401
401
  public static anyUnsynced() {
402
402
  return !Querysub.allSynced();
403
403
  }
404
- public static allSynced(config?: {
405
- ignoreAlwaysCommitAllRunsFlag?: boolean;
406
- }) {
407
- return proxyWatcher.isAllSynced(config);
404
+ public static allSynced() {
405
+ return proxyWatcher.isAllSynced();
408
406
  }
409
407
  public static fullySynced = Querysub.allSynced;
410
408
  public static isFullySynced = Querysub.allSynced;