nostr-tools
nostr-tools copied to clipboard
handle connectionstrings with authority
This is a tiny change in the NIP-47 utilities to handle the very real case of a NWC provider using connection URIs that don't comply with the spec and instead use "schema://pubkey". This change ensure compatibility with both.
Examples of NWC providers that use Authority are:
- Alby
- Current
- Mutiny