Helia
    Preparing search index...

    Interface PublishOptions

    interface PublishOptions {
        lifetime?: number;
        offline?: boolean;
        onProgress?: (evt: IPNSRoutingEvents | PublishProgressEvents) => void;
        signal?: AbortSignal;
        ttl?: number;
        v1Compatible?: boolean;
    }

    Hierarchy

    Index

    Properties

    lifetime?: number

    Time duration of the signature validity in ms (default: 48hrs)

    offline?: boolean

    Only publish to a local datastore (default: false)

    onProgress?: (evt: IPNSRoutingEvents | PublishProgressEvents) => void
    signal?: AbortSignal
    ttl?: number

    The TTL of the record in ms (default: 5 minutes)

    v1Compatible?: boolean

    By default a IPNS V1 and a V2 signature is added to every record. Pass false here to only add a V2 signature. (default: true)