helia
    Preparing search index...

    Interface RepublishOptions

    interface RepublishOptions {
        onProgress?: ProgressEventListener<IPNSRoutingProgressEvents>;
        signal?: AbortSignal;
        skipResolution?: boolean;
        upkeep?: "rebroadcast" | "none";
    }

    Hierarchy

    Index
    signal?: AbortSignal
    skipResolution?: boolean

    Skip resolution of latest record before republishing.

    It's important to resolve the latest record before republishing to routers

    Resolution should only be skipped when confident the latest record is already known.

    false
    
    upkeep?: "rebroadcast" | "none"

    Automated record upkeep policy.

    Defaults to rebroadcast since republish() cannot sign new records without the private key.

    • rebroadcast: re-publish the existing record until it expires
    • none: disable automated publishing
    'rebroadcast'