Bump to v0.3.0 — instant post/reply feedback

Published notes now appear in the feed immediately. Thread replies
show up without waiting for the relay round-trip. Includes all
v0.2.9 fixes (image paste, sent zaps, reply-to clickable, feed
refresh on login).
This commit is contained in:
Jure
2026-03-13 19:40:14 +01:00
parent 7c10423b4a
commit 3ca73a8b01
7 changed files with 13 additions and 10 deletions

View File

@@ -191,7 +191,7 @@ export async function publishReaction(eventId: string, eventPubkey: string, reac
await event.publish();
}
export async function publishReply(content: string, replyTo: { id: string; pubkey: string }): Promise<void> {
export async function publishReply(content: string, replyTo: { id: string; pubkey: string }): Promise<NDKEvent> {
const instance = getNDK();
if (!instance.signer) throw new Error("Not logged in");
@@ -203,6 +203,7 @@ export async function publishReply(content: string, replyTo: { id: string; pubke
["p", replyTo.pubkey],
];
await event.publish();
return event;
}
export async function publishNote(content: string): Promise<NDKEvent> {