From 61c1baea3f01ab9b533165e6e8690f19643e7d40 Mon Sep 17 00:00:00 2001 From: dapplion Date: Sun, 29 Nov 2020 17:10:20 +0000 Subject: [PATCH] Use const in main bls export --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 0e3f1de..4de9153 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,7 @@ import {bls as blsHerumi} from "./herumi"; export type Implementation = "herumi" | "blst-native"; // TODO: Use a Proxy for example to throw an error if it's not initialized yet -export let bls: IBls = {} as IBls; +export const bls: IBls = {} as IBls; async function getImplementation(impl: Implementation = "herumi"): Promise { switch (impl) {