Add indexeddb storage

This commit is contained in:
Jon Staab
2024-08-14 12:46:25 -07:00
parent d26bac8a42
commit 697e893ae6
8 changed files with 296 additions and 124 deletions
+1 -10
View File
@@ -9,20 +9,11 @@ export type Session = {
handler?: Nip46Handler
}
export type Relay = RelayProfile & {
fetched_at: number,
}
export type Relay = RelayProfile
export type Handle = {
pubkey: string
nip05: string
nip46: string[]
relays: string[]
fetched_at: number,
}
declare module '@welshman/util' {
interface CustomEvent extends TrustedEvent {
fetched_at: number
}
}