From e1032b793964492784fa8addc71b4c6aa7c49d8c Mon Sep 17 00:00:00 2001 From: jiftechnify Date: Tue, 9 Jan 2024 01:59:31 +0900 Subject: [PATCH 1/2] renew bootstrap relays for fetching user metadata --- src/states/nostr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/states/nostr.ts b/src/states/nostr.ts index 8be041b..fa21714 100644 --- a/src/states/nostr.ts +++ b/src/states/nostr.ts @@ -250,7 +250,7 @@ const bootstrapFetcher = NostrFetcher.init(); const rxNostr = createRxNostr(); const fetcherOnRxNostr = NostrFetcher.withCustomPool(rxNostrAdapter(rxNostr)); -const defaultBootstrapRelays = ["wss://relay.nostr.band", "wss://relayable.org", "wss://directory.yabu.me"]; +const defaultBootstrapRelays = ["wss://relay.nostr.band", "wss://directory.yabu.me", "wss://purplepag.es"]; const fallbackRelayList: RelayList = { "wss://relay.nostr.band": { read: true, write: true }, From 335cd2fa6974acf0387f8d981c3aaca22b6ce436 Mon Sep 17 00:00:00 2001 From: jiftechnify Date: Tue, 9 Jan 2024 02:17:38 +0900 Subject: [PATCH 2/2] remove unnecessary log --- src/states/nostr.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/states/nostr.ts b/src/states/nostr.ts index fa21714..9b7644c 100644 --- a/src/states/nostr.ts +++ b/src/states/nostr.ts @@ -228,7 +228,6 @@ const pubkeyInNostrExtAtomBase = loadable( const pubkeyInNostrExtAtom = atom((get) => { const pkLoadable = get(pubkeyInNostrExtAtomBase); - console.log(pkLoadable); return pkLoadable.state === "hasData" ? pkLoadable.data : undefined; });