@highway1/cli 0.1.29 → 0.1.30

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
@@ -116461,12 +116461,7 @@ function createDHTOperations(libp2p) {
116461
116461
  for await (const _ of dht.put(agentKey, encodeForDHT(card), { signal: AbortSignal.timeout(5e3) })) {
116462
116462
  }
116463
116463
  } catch (e2) {
116464
- if (e2?.name !== "AbortError") throw e2;
116465
- }
116466
- try {
116467
- await dht.provide(agentKey, { signal: AbortSignal.timeout(5e3) });
116468
- } catch (e2) {
116469
- logger4.debug("DHT provide failed (non-fatal)", { error: e2.message });
116464
+ logger4.warn("DHT put agent card failed (non-fatal)", { error: e2.message });
116470
116465
  }
116471
116466
  const caps = (card.capabilities ?? []).map(
116472
116467
  (c2) => typeof c2 === "string" ? c2 : c2.name