kernl API
    Preparing search index...

    Interface CommonActionsOptions

    What the social actions need from the shell.

    interface CommonActionsOptions {
        consent: SigningConsent;
        loadFollows: (pubkey: string) => Promise<void>;
        profiles: Pick<Profiles, "settled">;
        pubkey: () => string | undefined;
        publish: (event: NostrEvent) => Promise<number>;
        signer: () => Pick<ISigner, "signEvent"> | undefined;
        store: EventStore;
    }
    Index

    The shell's signing gate: destructive changes, such as a new follow list, are put to the person first.

    loadFollows: (pubkey: string) => Promise<void>

    Loads the account's current follow list into the store before it is changed.

    profiles: Pick<Profiles, "settled">
    pubkey: () => string | undefined

    The signed-in account's key, or none.

    publish: (event: NostrEvent) => Promise<number>

    Publishes a signed event and resolves how many relays accepted it; rejects when none did (D-028).

    signer: () => Pick<ISigner, "signEvent"> | undefined

    The account's signer, or none for a read-only session.

    store: EventStore