nostr-tools
Advanced tools
Comparing version 0.10.1 to 0.10.2
@@ -5,3 +5,4 @@ export function matchFilter(filter, event) { | ||
if (filter.author && event.pubkey !== filter.author) return false | ||
if (filter.authors && filter.author.indexOf(event.pubkey) === -1) return false | ||
if (filter.authors && filter.authors.indexOf(event.pubkey) === -1) | ||
return false | ||
if ( | ||
@@ -8,0 +9,0 @@ filter['#e'] && |
{ | ||
"name": "nostr-tools", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "Tools for making a Nostr client.", | ||
@@ -5,0 +5,0 @@ "repository": { |
19640
579