Interface PublishOptions

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

Hierarchy

Properties

lifetime?: number

Time duration of the record in ms (default: 24hrs)

offline?: boolean

Only publish to a local datastore (default: false)

onProgress?: ((evt) => void)

Type declaration

signal?: AbortSignal
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)

Generated using TypeDoc