Replace Tags.getCommunity with Tags.communities

This commit is contained in:
Jon Staab
2023-11-22 11:20:58 -08:00
parent cf5bd3312c
commit fddd09af09
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "paravel",
"version": "0.4.7",
"version": "0.4.8",
"description": "Yet another toolkit for nostr",
"author": "hodlbod",
"license": "MIT",
+1 -1
View File
@@ -222,7 +222,7 @@ export class Tags extends Fluent<string[]> {
getRoot = () => this.normalize().mark('root').values().first()
getCommunity = () => this.type("a").values().filter(a => a.startsWith('34550:')).first()
communities = () => this.type("a").values().filter(a => a.startsWith('34550:'))
}
// ===========================================================================