Constructors
Properties
Readonly
options
Methods
EventAncestors
- EventAncestors(
event: TrustedEvent,
type: "mentions" | "replies" | "roots",
): RouterScenario
ForPubkey
- ForPubkey(pubkey: string): RouterScenario
ForPubkeys
- ForPubkeys(pubkeys: string[]): RouterScenario
FromPubkey
- FromPubkey(pubkey: string): RouterScenario
FromPubkeys
- FromPubkeys(pubkeys: string[]): RouterScenario
FromRelays
- FromRelays(relays: string[]): RouterScenario
getRelaysForPubkey
- getRelaysForPubkey(pubkey: string, mode?: RelayMode): string[]
Returns string[]
getRelaysForPubkeys
- getRelaysForPubkeys(pubkeys: string[], mode?: RelayMode): string[][]
Returns string[][]
getRelaysForUser
- getRelaysForUser(mode?: RelayMode): string[]
Returns string[]
PubkeyInbox
- PubkeyInbox(pubkey: string): RouterScenario
PubkeyInboxes
- PubkeyInboxes(pubkeys: string[]): RouterScenario