diff --git a/ts/node/sodiumNode.ts b/ts/node/sodiumNode.ts index ecfec039b..696115403 100644 --- a/ts/node/sodiumNode.ts +++ b/ts/node/sodiumNode.ts @@ -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; }