refactor: upgrade nip17

This commit is contained in:
2024-04-29 17:41:11 +01:00
parent c775236438
commit 87144d9395
15 changed files with 97 additions and 33 deletions

View File

@ -19,4 +19,8 @@ export class EventsCache extends FeedCache<NostrEvent> {
takeSnapshot(): Array<NostrEvent> {
return [...this.cache.values()];
}
async search() {
return <Array<NostrEvent>>[];
}
}

View File

@ -19,4 +19,8 @@ export class RelayMetricCache extends FeedCache<RelayMetrics> {
takeSnapshot(): Array<RelayMetrics> {
return [...this.cache.values()];
}
async search() {
return <Array<RelayMetrics>>[];
}
}

View File

@ -26,4 +26,8 @@ export class UserFollowsCache extends FeedCache<UsersFollows> {
takeSnapshot(): Array<UsersFollows> {
return [...this.cache.values()];
}
async search() {
return <Array<UsersFollows>>[];
}
}

View File

@ -26,4 +26,8 @@ export class UserRelaysCache extends FeedCache<UsersRelays> {
takeSnapshot(): Array<UsersRelays> {
return [...this.cache.values()];
}
async search() {
return <Array<UsersRelays>>[];
}
}