Documentation
    Preparing search index...

    Interface PajaLocalTarget

    A napplet opened from a local index.html file in Paja runtime-pointer mode.

    Spec-gap decision: NIP-5D's Identity section resolves a signed manifest, fetches the artifact from Blossom, and verifies its hash before it creates the iframe. A local file has no manifest or signature, so it never takes that path. Paja treats local files as an unsigned development target. Identity is still computed from the file's own bytes (never taken from the host), the file loads through the same sandboxed srcdoc + CSP + window.napplet prelude path as verified pointers, and it never enters the installed napplet catalog. See docs/policies/NIP-5D-CONFORMANCE.md.

    interface PajaLocalTarget {
        aggregateHash: string;
        blossomServers: readonly string[];
        dTag: string;
        fileName: string;
        indexHtml: string;
        relativeAssets: readonly string[];
        relays: readonly string[];
        sha256: string;
        source: "local";
    }
    Index

    Properties

    aggregateHash: string

    NIP-5A aggregate hash over the single /index.html path entry.

    blossomServers: readonly string[]

    Always empty: a local file carries no Blossom hints.

    dTag: string

    <meta name="napplet-id"> value, or local-<file stem> when absent.

    fileName: string

    File name as reported by the browser file picker or drop event.

    indexHtml: string

    Decoded file content assigned to srcdoc after CSP and prelude injection.

    relativeAssets: readonly string[]

    Relative src/href references that cannot load from srcdoc.

    relays: readonly string[]

    Always empty: a local file carries no relay hints.

    sha256: string

    sha256 of the exact file bytes, lowercase hex.

    source: "local"

    Discriminant separating local files from relay/Blossom-resolved pointers.