Marmot-TS
    Preparing search index...

    Type Alias CreateKeyPackageEventOptions

    type CreateKeyPackageEventOptions = {
        client?: string;
        identifier: string;
        keyPackage: KeyPackage;
        protected?: boolean;
        relays?: string[];
    }
    Index

    Core - Key Package Event

    client?: string
    identifier: string

    The addressable slot identifier (d tag value). Required — callers must supply this; KeyPackageManager handles defaulting to clientId or throwing MissingSlotIdentifierError when none is available.

    keyPackage: KeyPackage
    protected?: boolean

    Whether to include the NIP-70 protected tag (["-"]).

    Per MIP-00 this SHOULD be omitted by default because many relays reject protected events.

    relays?: string[]

    Relay URLs to advertise in the event