UNPKG

@nostr-dev-kit/ndk-mobile

Version:

NDK Mobile

13 lines 597 B
import type { SessionStartOptions } from "@nostr-dev-kit/ndk-hooks"; /** * Hook to monitor NDK session state and persist changes to secure storage. * It also loads persisted sessions on initial mount and handles legacy login migration. * * This is a wrapper around the useNDKSessionMonitor hook from ndk-hooks, * providing a SecureStore-based storage adapter and handling mobile-specific migration. * * @param opts Optional session monitor options * @returns null */ export declare function useSessionMonitor(opts?: SessionStartOptions): any; //# sourceMappingURL=session-monitor.d.ts.map