spa: relaypool-singleton via applesauce-relay

This commit is contained in:
Jörg Lohrer 2026-04-15 16:10:06 +02:00
parent ec9d361a13
commit 6f9f53c561
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
import { RelayPool } from 'applesauce-relay';
/**
* Singleton-Pool für alle Nostr-Requests der SPA.
* applesauce-relay verwaltet Reconnects, Subscriptions, deduping intern.
*/
export const pool = new RelayPool();