Type Alias EventFactoryContext
EventFactoryContext: { client?: EventFactoryClient; emojis?: Helpers.Emoji[]; getPubkeyRelayHint?: ((pubkey: string) => | string | undefined | Promise<string> | Promise<undefined>); getRelayHint?: ((event: NostrEvent) => | string | undefined | Promise<string> | Promise<undefined>); signer?: EventFactorySigner; } Type declaration
Optional
getPubkeyRelayHint?: ((pubkey: string) =>
| string
| undefined
| Promise<string>
| Promise<undefined>)
- (pubkey):
| string
| undefined
| Promise<string>
| Promise<undefined> Returns
| string
| undefined
| Promise<string>
| Promise<undefined>
Optional
getRelayHint?: ((event: NostrEvent) =>
| string
| undefined
| Promise<string>
| Promise<undefined>)
- (event):
| string
| undefined
| Promise<string>
| Promise<undefined> Returns
| string
| undefined
| Promise<string>
| Promise<undefined>
NIP-89 client tag