Get rid of typed emitter

This commit is contained in:
Jon Staab
2025-04-02 08:54:50 -07:00
parent 1cbcb0ae4a
commit 35f75bb38e
16 changed files with 124 additions and 173 deletions
+2
View File
@@ -26,6 +26,7 @@ export type ThunkRequest = {
event: ThunkEvent
relays: string[]
delay?: number
timeout?: number
context?: AdapterContext
}
@@ -226,6 +227,7 @@ export const thunkQueue = new TaskQueue<Thunk>({
event: signedEvent,
relays: thunk.request.relays,
context: thunk.request.context,
timeout: thunk.request.timeout,
})
// Copy the signature over since we had deferred it