Global Feed Post Login
Replying to Avatar The Fishcake (nostr.build)

Practical question to the devs who write web clients, what is the preferred way to reject the request from nip07? Return rejected promise, return undefined, empty string? I’ve broke a few clients testing since they assumed some data types and cached the returned object/string without checking.

https://github.com/nostr-protocol/nips/blob/master/07.md

Avatar
hzrd149 2mo ago

Rejecting the promise. The promise API is there for a reason, use it :)

Reply to this note

Please Login to reply.

Discussion

No replies yet.