Documentation
    Preparing search index...

    Class CacheStorageNappletArtifactCache

    Browser Cache Storage implementation of NappletArtifactCache.

    It stores verified blobs and aggregate records under synthetic URLs, keeps a small JSON index, and prunes according to quota-derived budgets.

    Implements

    Index

    Constructors

    Methods

    • Cache the latest aggregate for a NIP-5D coordinate.

      Parameters

      • input: {
            aggregateHash: string;
            backgroundTtlMs?: number;
            dTag: string;
            foregroundTtlMs?: number;
            kind: number;
            lastResolvedAt?: number;
            pubkey: string;
        }

      Returns Promise<void>