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}`);