diff --git a/package.json b/package.json index 52959d8..3034083 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "paravel", - "version": "0.4.7", + "version": "0.4.8", "description": "Yet another toolkit for nostr", "author": "hodlbod", "license": "MIT", diff --git a/src/util/nostr.ts b/src/util/nostr.ts index f434237..60ac9bf 100644 --- a/src/util/nostr.ts +++ b/src/util/nostr.ts @@ -222,7 +222,7 @@ export class Tags extends Fluent { 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:')) } // ===========================================================================