Marmot-TS
    Preparing search index...

    Type Alias CreateKeyPackageOptions

    Options for creating a new key package

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

    Client - Key Package Manager

    ciphersuite?: CiphersuiteName

    Ciphersuite to use (default: MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519)

    client?: string

    Client identifier string to include in the key package event

    identifier?: string

    Addressable slot identifier (d tag value) for the kind 30443 event. If omitted, falls back to the manager's clientId. Throws MissingSlotIdentifierError if neither is available.

    isLastResort?: boolean

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

    protected?: boolean

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

    relays: string[]

    Relay URLs where the key package event will be published (required)