mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-10 00:58:51 +00:00
rename this._push to this._onmessage and use it internally.
This commit is contained in:
@@ -46,7 +46,7 @@ const runWith = (relay: AbstractRelay) => async () => {
|
||||
},
|
||||
})
|
||||
for (let e = 0; e < messages.length; e++) {
|
||||
relay._push(messages[e])
|
||||
relay._onmessage({ data: messages[e] } as any)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user