forked from coracle/flotilla
20 lines
404 B
TypeScript
20 lines
404 B
TypeScript
import {verifiedSymbol} from 'nostr-tools'
|
|
import type {Nip46Handler} from "@welshman/signer"
|
|
import type {SignedEvent, TrustedEvent, RelayProfile} from "@welshman/util"
|
|
|
|
export type Session = {
|
|
method: string
|
|
pubkey: string
|
|
secret?: string
|
|
handler?: Nip46Handler
|
|
}
|
|
|
|
export type Relay = RelayProfile
|
|
|
|
export type Handle = {
|
|
pubkey: string
|
|
nip05: string
|
|
nip46: string[]
|
|
relays: string[]
|
|
}
|