Tweak default export

This commit is contained in:
Cayman 2022-04-13 13:33:59 -05:00
parent b02fbc57a0
commit a8aa891768
No known key found for this signature in database
GPG Key ID: 54B21AEC3C53E1F5
1 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@ import {getImplementation} from "./getImplementation.js";
// Thanks https://github.com/iliakan/detect-node/blob/master/index.esm.js
const isNode = Object.prototype.toString.call(typeof process !== "undefined" ? process : 0) === "[object process]";
export const bls = await getImplementation(isNode ? "blst-native" : "herumi");
const bls = await getImplementation(isNode ? "blst-native" : "herumi");
export default bls;
export * from "./interface.js";