fix: event publication

This commit is contained in:
Alejandro Gómez
2025-12-21 21:50:09 +01:00
parent 64212121bd
commit fc63b3c685
10 changed files with 47 additions and 33 deletions

View File

@@ -13,7 +13,7 @@ import accountManager from "./accounts";
*
* @param event - The signed Nostr event to publish
*/
async function publishEvent(event: NostrEvent): Promise<void> {
export async function publishEvent(event: NostrEvent): Promise<void> {
// Try to get author's outbox relays from EventStore (kind 10002)
let relays = await relayListCache.getOutboxRelays(event.pubkey);