Fix const bug
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "paravel",
|
||||
"version": "0.1.17",
|
||||
"version": "0.1.18",
|
||||
"description": "Yet another toolkit for nostr",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
+2
-1
@@ -8,7 +8,8 @@ export class Executor {
|
||||
this.target = target
|
||||
}
|
||||
subscribe(filters, {onEvent, onEose}) {
|
||||
const closed = false
|
||||
let closed = false
|
||||
|
||||
const id = createSubId('REQ')
|
||||
const eventListener = (url, subid, e) => subid === id && onEvent?.(url, e)
|
||||
const eoseListener = (url, subid) => subid === id && onEose?.(url)
|
||||
|
||||
Reference in New Issue
Block a user