Const
Normalize a NAP-INTENT convention URI.
The host and injected NIP-5D binding use the same normalizer factory.
Complete NAP-INTENT convention URI.
Optional
Optional payload, handler, recommendation, and behavior hints.
The canonical request fields for intent.invoke.
intent.invoke
normalizeIntentUri('napplet:profile/open?pubkey=abc%2B123');// { archetype: 'profile', action: 'open', convention: 'napplet:profile/open', payload: { pubkey: 'abc+123' } } Copy
normalizeIntentUri('napplet:profile/open?pubkey=abc%2B123');// { archetype: 'profile', action: 'open', convention: 'napplet:profile/open', payload: { pubkey: 'abc+123' } }
Normalize a NAP-INTENT convention URI.
The host and injected NIP-5D binding use the same normalizer factory.