Marmot-TS
    Preparing search index...

    Type Alias TrackedKeyPackage

    A key package observed on relays for which no private material is held locally.

    Created when tracking a kind-443 or kind-30443 event from another device. Enables cross-device deletion without requiring the private keys to be present. The public key package is always present — events that cannot be decoded are rejected as invalid.

    Narrow from StoredKeyPackage by checking privatePackage === undefined.

    type TrackedKeyPackage = {
        identifier?: string;
        keyPackageRef: Uint8Array;
        privatePackage?: undefined;
        publicPackage: KeyPackage;
        published?: NostrEvent[];
        used?: boolean;
    }
    Index

    Client - Key Package Manager

    identifier?: string

    Nostr kind-30443 addressable slot identifier (d tag value)

    keyPackageRef: Uint8Array

    The calculated key package reference

    privatePackage?: undefined

    Always undefined — the discriminant that identifies this as a tracked entry

    publicPackage: KeyPackage

    The public key package, decoded from the kind-443 or kind-30443 event body

    published?: NostrEvent[]

    Nostr kind-443 or kind-30443 events this key package has been published under

    used?: boolean

    Whether this key package has been consumed (e.g. used to join a group). Undefined means unused.