Merge pull request #697 from semaphore-protocol/ref/update-zk-kit-utils

Update `@zk-kit/utils` package

Former-commit-id: 84cf596e99
This commit is contained in:
Cedoor
2024-03-13 16:02:56 +00:00
committed by GitHub
6 changed files with 6 additions and 6 deletions

View File

@@ -47,7 +47,7 @@
"dependencies": {
"@zk-kit/baby-jubjub": "0.2.0",
"@zk-kit/eddsa-poseidon": "0.6.0",
"@zk-kit/utils": "0.3.0",
"@zk-kit/utils": "0.6.0",
"poseidon-lite": "0.2.0"
}
}

View File

@@ -55,7 +55,7 @@
},
"dependencies": {
"@semaphore-protocol/utils": "4.0.0-beta.2",
"@zk-kit/utils": "0.3.0",
"@zk-kit/utils": "0.6.0",
"ethers": "6.10.0",
"snarkjs": "0.7.3"
}

View File

@@ -2,7 +2,7 @@ import type { Group, MerkleProof } from "@semaphore-protocol/group"
import type { Identity } from "@semaphore-protocol/identity"
import { requireDefined, requireNumber, requireObject, requireTypes } from "@semaphore-protocol/utils/errors"
import { NumericString, groth16 } from "snarkjs"
import { packGroth16Proof } from "@zk-kit/utils"
import { packGroth16Proof } from "@zk-kit/utils/proof-packing"
import getSnarkArtifacts from "./get-snark-artifacts.node"
import hash from "./hash"
import toBigInt from "./to-bigint"

View File

@@ -1,4 +1,4 @@
import { packGroth16Proof, unpackGroth16Proof } from "@zk-kit/utils"
import { packGroth16Proof, unpackGroth16Proof } from "@zk-kit/utils/proof-packing"
import generateProof from "./generate-proof"
import verifyProof from "./verify-proof"

View File

@@ -6,7 +6,7 @@ import {
requireString
} from "@semaphore-protocol/utils/errors"
import { groth16 } from "snarkjs"
import { unpackGroth16Proof } from "@zk-kit/utils"
import { unpackGroth16Proof } from "@zk-kit/utils/proof-packing"
import hash from "./hash"
import { SemaphoreProof } from "./types"
import verificationKeys from "./verification-keys.json"

View File

@@ -1 +1 @@
2b45175ad550878da123feccb41268083e5bc7e5
cc03e62f49c93186d05c40a1820530ea6a7b737e