UNPKG

nostr-dm-magiclink-utils

Version:

A comprehensive Nostr utility library for magic link authentication via direct messages, supporting both ESM and CommonJS. Features NIP-01/04 compliant message encryption, multi-relay support, internationalization (i18n) with RTL support, and TypeScript-f

12 lines 521 B
import { MagicLinkManager } from './services/magiclink.service.js'; import { NostrMagicLinkConfig } from './types/config.js'; /** * Create a new instance of the magic link manager * @param config Service configuration * @returns MagicLinkManager instance */ export declare function createMagicLinkService(config: NostrMagicLinkConfig): MagicLinkManager; export * from './types/index.js'; export * from './services/nostr.service.js'; export * from './services/magiclink.service.js'; //# sourceMappingURL=index.d.ts.map