Tweak default export
This commit is contained in:
parent
b02fbc57a0
commit
a8aa891768
|
@ -3,6 +3,6 @@ import {getImplementation} from "./getImplementation.js";
|
||||||
// Thanks https://github.com/iliakan/detect-node/blob/master/index.esm.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]";
|
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 default bls;
|
||||||
export * from "./interface.js";
|
|
||||||
|
|
Reference in New Issue