Documentation
    Preparing search index...

    Function resolveMockRelayPlan

    • Resolve the relay plan for a set of authors from kind-10002 fixtures.

      Parameters

      • store: MockNostrStore

        Event store holding relay lists.

      • authors: readonly string[]

        Author pubkeys.

      • direction: "write" | "read"

        read resolves write relays, write resolves read relays.

      Returns OutboxRelayPlan

      The plan, with missingAuthors when some lists are absent.

      resolveMockRelayPlan(store, [MOCK_ACCOUNTS[1].pubkey], 'read').source === 'nip65';