From 2235e7be8933c2618c9c3a80e133fa518d0d87e7 Mon Sep 17 00:00:00 2001 From: dapplion Date: Sun, 29 Nov 2020 16:59:16 +0000 Subject: [PATCH] Import named export from blst --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index ff62669..b552a7a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,7 +17,7 @@ async function getImplementation(impl: Implementation = "herumi"): Promise throw Error("blst-native is only supported in NodeJS"); } // eslint-disable-next-line @typescript-eslint/no-require-imports - return require("./blst"); + return require("./blst").bls; default: throw new Error(`Unsupported implementation - ${impl}`);