@highway1/cli 0.1.43 → 0.1.44

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.
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import '../dist/index.js';
package/dist/index.js CHANGED
@@ -116492,7 +116492,7 @@ function createDHTOperations(libp2p) {
116492
116492
  }
116493
116493
  const caps = (card.capabilities ?? []).flatMap((c2) => {
116494
116494
  if (typeof c2 === "string") return [c2];
116495
- return [c2.name, c2.id].filter(Boolean);
116495
+ return [c2.name, c2.id].filter((v) => typeof v === "string" && v.length > 0);
116496
116496
  });
116497
116497
  caps.push("__all__");
116498
116498
  const importantCaps = ["__all__"];