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

17 lines 473 B
export interface Config { port: number; jwtSecret: string; relayUrl: string; relayUrls: string[]; baseUrl: string; nodeEnv: string; logLevel: string; retryAttempts: number; retryDelay: number; isTest?: boolean; isProduction?: boolean; } export declare const loadEnvironment: () => Promise<void>; export declare const getConfig: () => Config; export declare const resetConfig: () => void; //# sourceMappingURL=environment.d.ts.map