Documentation
    Preparing search index...

    Variable manifestCacheConst

    manifestCache: {
        clear(): void;
        get(pubkey: string, dTag: string): ManifestCacheEntry | undefined;
        has(pubkey: string, dTag: string, hash: string): boolean;
        load(): void;
        persist(): void;
        remove(pubkey: string, dTag: string): void;
        set(entry: ManifestCacheEntry): void;
    } = ...

    Cache for verified napplet manifest entries. Persists to localStorage. Used to detect napplet updates (aggregateHash changes) across sessions.

    Type Declaration

    import { manifestCache } from '@kehto/shell';

    manifestCache.set({ pubkey: 'abc...', dTag: 'chat', aggregateHash: 'dead', verifiedAt: Date.now() });
    const entry = manifestCache.get('abc...', 'chat');