fix: prevent bunker reconnection from blocking app startup
When reconnecting a bunker signer (e.g. Amber) after page reload, skip the getPublicKey() call since the pubkey is already known from storage. This prevents the app from hanging indefinitely when the remote signer is unreachable. Also add a 10s timeout to getPublicKey() for safety. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
da751fd73c
commit
fc8a160d9a
3 changed files with 14 additions and 15 deletions
|
|
@ -161,9 +161,9 @@ export const NIP_96_SERVICE = [
|
|||
export const DEFAULT_NIP_96_SERVICE = 'https://nostr.build'
|
||||
|
||||
export const DEFAULT_NOSTRCONNECT_RELAY = [
|
||||
'wss://relay.nsec.app/',
|
||||
'wss://bucket.coracle.social/',
|
||||
'wss://relay.primal.net/'
|
||||
'wss://relay.primal.net/',
|
||||
'wss://relay.damus.io/'
|
||||
]
|
||||
|
||||
export const DEFAULT_FAVICON_URL_TEMPLATE = 'https://{hostname}/favicon.ico'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue