Marmot-TS
    Preparing search index...

    Type Alias KeyPackageManagerOptions

    Options for creating a new KeyPackageManager

    type KeyPackageManagerOptions = {
        capabilities?: KeyPackagePublisherOptions["capabilities"];
        clientId?: string;
        cryptoProvider?: CryptoProvider;
        getSignatureKeyPair?: KeyPackagePublisherOptions["getSignatureKeyPair"];
        hasAdoptedGroup?: (groupId: Uint8Array) => Promise<boolean>;
        network: NostrNetworkInterface;
        signer: EventSigner;
        store: GenericKeyValueStore<StoredKeyPackage>;
        verifyEvent?: VerifyEventMethod;
    }
    Index

    Capabilities to advertise in generated key packages.

    clientId?: string

    Default d tag value for KeyPackageManager.create and KeyPackageManager.rotate. Falls back to this when no explicit d is passed.

    cryptoProvider?: CryptoProvider

    The crypto provider to use for cryptographic operations

    Load a persisted installation signing identity.

    hasAdoptedGroup?: (groupId: Uint8Array) => Promise<boolean>

    Confirms durable adoption when recovering consumption receipts on startup/retry.

    The nostr relay pool to use for the client. Should implement GroupNostrInterface for group operations.

    signer: EventSigner

    The signer used for the clients identity

    The backend to store and load the key packages from

    verifyEvent?: VerifyEventMethod

    Injectable Nostr event verifier for the 30443 KeyPackage trust boundary (SEC-01). Defaults to applesauce's verifyEvent. Stored for the inbound-verify gate on track()/publish-record paths.