The legacy provider: the original direct-message format, readable by the widest range of apps but exposing who talks to whom. Specified by NIP-04.
legacy
Backend constructor and availability check supplied by the shell.
A MessagingProvider with id legacy.
MessagingProvider
registry.register(createLegacyMessagesProvider({ createBackend: () => nip04Adapter, available: () => ({ available: true }),})); Copy
registry.register(createLegacyMessagesProvider({ createBackend: () => nip04Adapter, available: () => ({ available: true }),}));
The
legacyprovider: the original direct-message format, readable by the widest range of apps but exposing who talks to whom. Specified by NIP-04.