From 9194769d62202faf4769e2249d556aedb1310eae Mon Sep 17 00:00:00 2001 From: dapplion Date: Sat, 28 Nov 2020 19:14:06 +0000 Subject: [PATCH] Export constants consistently --- src/blst/index.ts | 2 +- src/herumi/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blst/index.ts b/src/blst/index.ts index 75af81d..88afe2b 100644 --- a/src/blst/index.ts +++ b/src/blst/index.ts @@ -2,8 +2,8 @@ import {PrivateKey} from "./privateKey"; import {PublicKey} from "./publicKey"; import {Signature} from "./signature"; import {IBls} from "../interface"; -export * from "../constants"; import {functionalInterfaceFactory} from "../functional"; +export * from "../constants"; export {PrivateKey, PublicKey, Signature}; diff --git a/src/herumi/index.ts b/src/herumi/index.ts index 43d150a..cfa4e22 100644 --- a/src/herumi/index.ts +++ b/src/herumi/index.ts @@ -4,6 +4,7 @@ import {Signature} from "./signature"; import {init, destroy} from "./context"; import {IBls} from "../interface"; import {functionalInterfaceFactory} from "../functional"; +export * from "../constants"; export {PrivateKey, PublicKey, Signature, init, destroy};