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
Vitor Pamplona 2mo ago

Can you send a PR to the Nip repo once you figure this out? These are the types of this we miss in the specs.

Reply to this note

Please Login to reply.

Discussion

Avatar
The Fishcake (nostr.build) 2mo ago

Once I find a backwards compatible way, sure

Thread collapsed