Import named export from blst
This commit is contained in:
parent
ef98683424
commit
2235e7be89
|
@ -17,7 +17,7 @@ async function getImplementation(impl: Implementation = "herumi"): Promise<IBls>
|
|||
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}`);
|
||||
|
|
Reference in New Issue