Stringify supported nips

This commit is contained in:
Jon Staab
2026-01-26 10:08:37 -08:00
parent 1c0204c17c
commit 1ce053b26f
6 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -105,4 +105,4 @@ routerContext.getPubkeyRelays = getPubkeyRelays
routerContext.getRelayQuality = getRelayQuality
routerContext.getDefaultRelays = _relayGetter()
routerContext.getIndexerRelays = _relayGetter()
routerContext.getSearchRelays = _relayGetter(r => r?.supported_nips?.includes?.(50))
routerContext.getSearchRelays = _relayGetter(r => r?.supported_nips?.includes?.("50"))