style: reorganize imports

This commit is contained in:
cedoor
2022-01-17 15:27:27 +01:00
parent 83cb493770
commit 9110903fee
2 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
import { genRandomIdentity, genIdentityFromMessage, genRandomNumber } from "./strategies"
import { Identity, SerializedIdentity } from "@zk-kit/types"
import * as bigintConversion from "bigint-conversion"
import * as ciromlibjs from "circomlibjs"
import { Identity, SerializedIdentity } from "@zk-kit/types"
import { genIdentityFromMessage, genRandomIdentity } from "./strategies"
import { Fq } from "./utils"
const poseidonHash = (data: Array<bigint>): bigint => {

View File

@@ -1,6 +1,6 @@
import Semaphore from "./semaphore"
import { FullProof, Identity, MerkleProof } from "@zk-kit/types"
import RLN from "./rln"
import { generateMerkleProof, genExternalNullifier, genSignalHash, Fq } from "./utils"
import { Identity, MerkleProof, FullProof } from "@zk-kit/types"
import Semaphore from "./semaphore"
import { generateMerkleProof, genExternalNullifier, genSignalHash } from "./utils"
export { Semaphore, RLN, generateMerkleProof, genExternalNullifier, genSignalHash, Identity, MerkleProof, FullProof }