aboutsummaryrefslogtreecommitdiffstats
path: root/src/nostr.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/nostr.js')
-rw-r--r--src/nostr.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nostr.js b/src/nostr.js
index dcf4bbc..f4dfa59 100644
--- a/src/nostr.js
+++ b/src/nostr.js
@@ -55,7 +55,7 @@ const _verifySync = (events) => events.map((e) => { try { return verifyEvent(e);
// Verify a batch; resolves to a boolean[] aligned to `events`. Off-thread when
// the worker is available, else synchronous. Never resolves an event as valid
// without an actual check.
-function verifyEventsAsync(events) {
+export function verifyEventsAsync(events) {
if (!events.length) return Promise.resolve([]);
const w = verifyWorker();
if (!w) return Promise.resolve(_verifySync(events));