Move subscription to a class

This commit is contained in:
Jon Staab
2025-01-24 10:05:04 -08:00
parent 4b0aa94b4b
commit 6b9e5ae77f
7 changed files with 153 additions and 142 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ const sub = subscribe({
})
// Push event ids to our suggestions
sub.emitter.on('event', (url, e) => tags.push(["e", e.id, url]))
sub.on('event', (url, e) => tags.push(["e", e.id, url]))
const dvm = new DVM({
// The private key used to sign events