fix libsodium call from webworker

pull/2242/head
Audric Ackermann 2 years ago
parent b4dc18d65b
commit 940972db2f
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -4,5 +4,5 @@ export async function getSodiumNode() {
// don't ask me why, but when called from node we have to do this as the types are incorrect?!
const anyWrappers = wrappers as any;
await anyWrappers.ready;
return anyWrappers;
return anyWrappers.default;
}

Loading…
Cancel
Save