Time out signing, rework signer log

This commit is contained in:
Jon Staab
2026-01-06 15:29:52 -08:00
parent a7aa15d527
commit 72194fb959
6 changed files with 165 additions and 35 deletions
+1
View File
@@ -91,5 +91,6 @@ export const signWithOptions = (
) =>
new Promise<SignedEvent>((resolve, reject) => {
Promise.resolve(promise).then(resolve).catch(reject)
setTimeout(() => reject("Signing timed out"), 30_000)
options.signal?.addEventListener("abort", () => reject("Signing was aborted"))
})