bump version.

This commit is contained in:
fiatjaf
2022-06-22 20:08:48 -03:00
parent 536dbcbffe
commit 2f7e3f8473
2 changed files with 7 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "nostr-tools", "name": "nostr-tools",
"version": "0.23.3", "version": "0.23.4",
"description": "Tools for making a Nostr client.", "description": "Tools for making a Nostr client.",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@@ -58,7 +58,10 @@ export function relayPool() {
return activeSubscriptions[id] return activeSubscriptions[id]
} }
const addRelay = relay => { const addRelay = relay => {
subControllers[relay.url] = relay.sub({ cb: event => cb(event, relay.url), filter, beforeSend }, id) subControllers[relay.url] = relay.sub(
{cb: event => cb(event, relay.url), filter, beforeSend},
id
)
return activeSubscriptions[id] return activeSubscriptions[id]
} }
const removeRelay = relayURL => { const removeRelay = relayURL => {