@highway1/cli 0.1.16 → 0.1.18

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/dist/index.js CHANGED
@@ -116523,10 +116523,6 @@ function createDHTOperations(libp2p) {
116523
116523
  },
116524
116524
  searchSemantic: async (query) => {
116525
116525
  try {
116526
- const local = searchEngine.getAllIndexedCards();
116527
- if (local.length > 0) {
116528
- return searchEngine.search(query);
116529
- }
116530
116526
  const dht = libp2p.services?.dht;
116531
116527
  if (dht) {
116532
116528
  const allKey = fromString2("/clawiverse/cap/__all__");
@@ -118376,7 +118372,7 @@ function registerDiscoverCommand(program2) {
118376
118372
  const timeout = setTimeout(resolve, 15e3);
118377
118373
  node.libp2p.addEventListener("peer:connect", () => {
118378
118374
  clearTimeout(timeout);
118379
- setTimeout(resolve, 1e3);
118375
+ setTimeout(resolve, 3e3);
118380
118376
  }, { once: true });
118381
118377
  });
118382
118378
  spin.text = "Querying DHT...";