Marmot-TS
    Preparing search index...

    Type Alias RotateKeyPackageOptions

    Options for rotating a key package

    type RotateKeyPackageOptions = {
        ciphersuite?: CiphersuiteName;
        client?: string;
        d?: string;
        isLastResort?: boolean;
        protected?: boolean;
        relays?: string[];
    }
    Index

    Client - Key Package Manager

    Client - Key Package Manager

    ciphersuite?: CiphersuiteName

    Ciphersuite to use for the new key package

    client?: string

    Client identifier string to include in the new key package event

    d?: string

    Addressable slot identifier (d tag value) for the replacement event. If omitted, the d from the stored entry is reused (preferred). If the stored entry has no d (legacy kind 443 package), a fresh random value is generated.

    isLastResort?: boolean

    Whether to mark the new key package with the MLS last_resort extension (default: true)

    protected?: boolean

    Whether to include the NIP-70 protected tag on the new event

    relays?: string[]

    Relay URLs for the new key package event. If omitted, the relays from the most recent publish of the old key package are reused.