openclaw/extensions
Patrick Ulrich 69a7b8e89a fix(nostr): correct nostr-tools API usage for subscribe and publish
Two bugs fixed:

1. subscribeMany filter incorrectly wrapped in array
   - Was: `pool.subscribeMany(relays, [{ kinds: [4], ... }], ...)`
   - Fix: `pool.subscribeMany(relays, { kinds: [4], ... }, ...)`
   - subscribeMany expects `Filter`, not `Filter[]`
   - This prevented inbound NIP-04 DMs from being received

2. publish return value not properly awaited
   - Was: `await pool.publish([relay], event)`
   - Fix: `await pool.publish([relay], event)[0]`
   - publish returns `Promise<string>[]`, not `Promise<string>`
   - Awaiting an array doesn't resolve the promises inside
   - This meant errors weren't caught and success was assumed prematurely
2026-01-26 01:20:41 -05:00
..
bluebubbles chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
copilot-proxy chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
diagnostics-otel chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
discord chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
google-antigravity-auth Auth: print copyable Google auth URL (#1787) 2026-01-25 21:13:36 -06:00
google-gemini-cli-auth chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
googlechat chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
imessage chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
line chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
llm-task chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
lobster chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
matrix chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
mattermost chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
memory-core chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
memory-lancedb chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
msteams chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
nextcloud-talk chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
nostr fix(nostr): correct nostr-tools API usage for subscribe and publish 2026-01-26 01:20:41 -05:00
open-prose chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
qwen-portal-auth fix: enforce plugin config schemas (#1272) (thanks @thewilloftheshadow) 2026-01-20 11:03:17 +00:00
signal chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
slack chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
telegram chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
tlon Tlon: format reply IDs as @ud (#1837) 2026-01-25 22:30:18 -06:00
voice-call chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
whatsapp chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
zalo chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00
zalouser chore: bump versions for 2026.1.25 2026-01-25 22:13:04 +00:00