Compare commits

..

6 Commits

Author SHA1 Message Date
cedoor
a288ed7162 chore: v3.15.1
Former-commit-id: 9e84c93198
2023-11-22 11:03:42 +00:00
Cedoor
4f73284c06 Merge pull request #452 from dcposch/main
fix: typescript type exports
Former-commit-id: d008d6233a
2023-11-22 14:01:24 +03:00
DC
bd7d3e352f fix: typescript type exports
Former-commit-id: a4109e7ea4
2023-11-16 01:03:42 +03:00
Cedoor
0a181c1a9c Merge pull request #385 from semaphore-protocol/fix/type-name
Replace the `FullProof` type with the `SemaphoreProof` type in the packages contracts tests

Former-commit-id: 94259e1865
2023-10-18 13:11:30 +01:00
vplasencia
37ad6e4aa7 fix(contracts): update variable types
Former-commit-id: aed7ab10ff
2023-10-18 13:58:43 +02:00
cedoor
2ec36d4097 chore(proof): update zk-kit groth16 dependency
Former-commit-id: f5637a87b3
2023-10-12 15:54:43 -07:00
19 changed files with 59 additions and 53 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@semaphore-protocol/cli-template-contracts-hardhat",
"version": "3.15.0",
"version": "3.15.1",
"description": "Semaphore Hardhat template.",
"license": "Unlicense",
"files": [
@@ -36,10 +36,10 @@
"@nomicfoundation/hardhat-toolbox": "^2.0.0",
"@nomiclabs/hardhat-ethers": "^2.0.0",
"@nomiclabs/hardhat-etherscan": "^3.0.0",
"@semaphore-protocol/group": "3.15.0",
"@semaphore-protocol/hardhat": "3.15.0",
"@semaphore-protocol/identity": "3.15.0",
"@semaphore-protocol/proof": "3.15.0",
"@semaphore-protocol/group": "3.15.1",
"@semaphore-protocol/hardhat": "3.15.1",
"@semaphore-protocol/identity": "3.15.1",
"@semaphore-protocol/proof": "3.15.1",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.2",
"@types/chai": "^4.2.0",
@@ -58,7 +58,7 @@
"typescript": ">=4.5.0"
},
"dependencies": {
"@semaphore-protocol/contracts": "3.15.0"
"@semaphore-protocol/contracts": "3.15.1"
},
"config": {
"solidity": {

View File

@@ -18,10 +18,10 @@
"@nomicfoundation/hardhat-chai-matchers": "^1.0.5",
"@nomiclabs/hardhat-ethers": "^2.0.0",
"@nomiclabs/hardhat-etherscan": "^3.1.7",
"@semaphore-protocol/group": "3.15.0",
"@semaphore-protocol/hardhat": "3.15.0",
"@semaphore-protocol/identity": "3.15.0",
"@semaphore-protocol/proof": "3.15.0",
"@semaphore-protocol/group": "3.15.1",
"@semaphore-protocol/hardhat": "3.15.1",
"@semaphore-protocol/identity": "3.15.1",
"@semaphore-protocol/proof": "3.15.1",
"@typechain/ethers-v5": "^10.0.0",
"@typechain/hardhat": "^6.0.0",
"@types/chai": "^4.3.1",
@@ -40,7 +40,7 @@
"typechain": "^8.0.0"
},
"dependencies": {
"@semaphore-protocol/contracts": "3.15.0"
"@semaphore-protocol/contracts": "3.15.1"
},
"config": {
"solidity": {

View File

@@ -10,10 +10,10 @@
},
"dependencies": {
"@next/font": "13.0.3",
"@semaphore-protocol/data": "3.15.0",
"@semaphore-protocol/group": "3.15.0",
"@semaphore-protocol/identity": "3.15.0",
"@semaphore-protocol/proof": "3.15.0",
"@semaphore-protocol/data": "3.15.1",
"@semaphore-protocol/group": "3.15.1",
"@semaphore-protocol/identity": "3.15.1",
"@semaphore-protocol/proof": "3.15.1",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.8",
"dotenv": "^16.0.3",

View File

@@ -1,6 +1,6 @@
{
"name": "@semaphore-protocol/cli-template-monorepo-ethers",
"version": "3.15.0",
"version": "3.15.1",
"description": "Semaphore Hardhat + Next.js + SemaphoreEthers template.",
"license": "Unlicense",
"files": [

View File

@@ -18,10 +18,10 @@
"@nomicfoundation/hardhat-chai-matchers": "^1.0.5",
"@nomiclabs/hardhat-ethers": "^2.0.0",
"@nomiclabs/hardhat-etherscan": "^3.1.7",
"@semaphore-protocol/group": "3.15.0",
"@semaphore-protocol/hardhat": "3.15.0",
"@semaphore-protocol/identity": "3.15.0",
"@semaphore-protocol/proof": "3.15.0",
"@semaphore-protocol/group": "3.15.1",
"@semaphore-protocol/hardhat": "3.15.1",
"@semaphore-protocol/identity": "3.15.1",
"@semaphore-protocol/proof": "3.15.1",
"@typechain/ethers-v5": "^10.0.0",
"@typechain/hardhat": "^6.0.0",
"@types/chai": "^4.3.1",
@@ -40,7 +40,7 @@
"typechain": "^8.0.0"
},
"dependencies": {
"@semaphore-protocol/contracts": "3.15.0"
"@semaphore-protocol/contracts": "3.15.1"
},
"config": {
"solidity": {

View File

@@ -10,10 +10,10 @@
},
"dependencies": {
"@next/font": "13.0.3",
"@semaphore-protocol/data": "3.15.0",
"@semaphore-protocol/group": "3.15.0",
"@semaphore-protocol/identity": "3.15.0",
"@semaphore-protocol/proof": "3.15.0",
"@semaphore-protocol/data": "3.15.1",
"@semaphore-protocol/group": "3.15.1",
"@semaphore-protocol/identity": "3.15.1",
"@semaphore-protocol/proof": "3.15.1",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.8",
"dotenv": "^16.0.3",

View File

@@ -1,6 +1,6 @@
{
"name": "@semaphore-protocol/cli-template-monorepo-subgraph",
"version": "3.15.0",
"version": "3.15.1",
"description": "Semaphore Hardhat + Next.js + SemaphoreSubgraph template.",
"license": "Unlicense",
"files": [

View File

@@ -1,7 +1,7 @@
{
"name": "@semaphore-protocol/cli",
"type": "module",
"version": "3.15.0",
"version": "3.15.1",
"description": "A command line tool to set up your Semaphore project and get group data.",
"license": "MIT",
"bin": {
@@ -42,7 +42,7 @@
"ts-node": "^10.9.1"
},
"dependencies": {
"@semaphore-protocol/data": "3.15.0",
"@semaphore-protocol/data": "3.15.1",
"axios": "^1.3.2",
"boxen": "^7.0.1",
"chalk": "^5.1.2",

View File

@@ -1,6 +1,6 @@
{
"name": "@semaphore-protocol/contracts",
"version": "3.15.0",
"version": "3.15.1",
"description": "Semaphore contracts to manage groups and broadcast anonymous signals.",
"license": "MIT",
"files": [

View File

@@ -2,7 +2,7 @@
/* eslint-disable jest/valid-expect */
import { Group } from "@semaphore-protocol/group"
import { Identity } from "@semaphore-protocol/identity"
import { FullProof, generateProof } from "@semaphore-protocol/proof"
import { SemaphoreProof, generateProof } from "@semaphore-protocol/proof"
import { expect } from "chai"
import { constants, Signer } from "ethers"
import { ethers, run } from "hardhat"
@@ -237,7 +237,7 @@ describe("Semaphore", () => {
group.addMembers(members)
let fullProof: FullProof
let fullProof: SemaphoreProof
before(async () => {
await semaphoreContract.addMembers(groupId, [members[1], members[2]])

View File

@@ -1,7 +1,7 @@
/* eslint-disable jest/valid-expect */
import { Group } from "@semaphore-protocol/group"
import { Identity } from "@semaphore-protocol/identity"
import { FullProof, generateProof } from "@semaphore-protocol/proof"
import { SemaphoreProof, generateProof } from "@semaphore-protocol/proof"
import { expect } from "chai"
import { Signer } from "ethers"
import { ethers, run } from "hardhat"
@@ -142,7 +142,7 @@ describe("SemaphoreVoting", () => {
group.addMembers([identity.commitment, BigInt(1)])
let fullProof: FullProof
let fullProof: SemaphoreProof
before(async () => {
await semaphoreVotingContract.connect(accounts[1]).addVoter(pollIds[1], BigInt(1))

View File

@@ -1,7 +1,7 @@
/* eslint-disable jest/valid-expect */
import { Group } from "@semaphore-protocol/group"
import { Identity } from "@semaphore-protocol/identity"
import { FullProof, generateProof } from "@semaphore-protocol/proof"
import { SemaphoreProof, generateProof } from "@semaphore-protocol/proof"
import { expect } from "chai"
import { Signer, utils } from "ethers"
import { ethers, run } from "hardhat"
@@ -143,7 +143,7 @@ describe("SemaphoreWhistleblowing", () => {
group.addMembers([identity.commitment, BigInt(1)])
let fullProof: FullProof
let fullProof: SemaphoreProof
before(async () => {
await semaphoreWhistleblowingContract.createEntity(entityIds[1], editor, treeDepth)

View File

@@ -1,12 +1,13 @@
{
"name": "@semaphore-protocol/data",
"version": "3.15.0",
"version": "3.15.1",
"description": "A library to query Semaphore contracts.",
"license": "MIT",
"main": "dist/index.node.js",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.node.js"
"require": "./dist/index.node.js",
"types": "./dist/types/index.d.ts"
},
"types": "./dist/types/index.d.ts",
"files": [

View File

@@ -1,12 +1,13 @@
{
"name": "@semaphore-protocol/group",
"version": "3.15.0",
"version": "3.15.1",
"description": "A library to create and manage Semaphore groups.",
"license": "MIT",
"main": "dist/index.node.js",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.node.js"
"require": "./dist/index.node.js",
"types": "./dist/types/index.d.ts"
},
"types": "dist/types/index.d.ts",
"files": [

View File

@@ -1,12 +1,13 @@
{
"name": "@semaphore-protocol/hardhat",
"version": "3.15.0",
"version": "3.15.1",
"description": "A Semaphore Hardhat plugin to deploy verifiers and Semaphore contract.",
"license": "MIT",
"main": "dist/index.node.js",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.node.js"
"require": "./dist/index.node.js",
"types": "./dist/types/index.d.ts"
},
"types": "dist/types/index.d.ts",
"files": [
@@ -38,7 +39,7 @@
},
"dependencies": {
"@nomiclabs/hardhat-ethers": "^2.1.1",
"@semaphore-protocol/contracts": "3.15.0",
"@semaphore-protocol/contracts": "3.15.1",
"circomlibjs": "^0.1.7",
"ethers": "^5.7.1",
"hardhat-dependency-compiler": "^1.1.3"

View File

@@ -1,12 +1,13 @@
{
"name": "@semaphore-protocol/heyauthn",
"version": "3.15.0",
"version": "3.15.1",
"description": "A library to allow developers to create and manage Semaphore identities using WebAuthn",
"license": "MIT",
"main": "dist/index.node.js",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.node.js"
"require": "./dist/index.node.js",
"types": "./dist/types/index.d.ts"
},
"types": "dist/types/index.d.ts",
"files": [
@@ -33,7 +34,7 @@
"rollup-plugin-typescript2": "^0.31.2"
},
"dependencies": {
"@semaphore-protocol/identity": "3.15.0",
"@semaphore-protocol/identity": "3.15.1",
"@simplewebauthn/browser": "7.2.0",
"@simplewebauthn/server": "7.2.0"
}

View File

@@ -1,12 +1,13 @@
{
"name": "@semaphore-protocol/identity",
"version": "3.15.0",
"version": "3.15.1",
"description": "A library to create Semaphore identities.",
"license": "MIT",
"main": "dist/index.node.js",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.node.js"
"require": "./dist/index.node.js",
"types": "./dist/types/index.d.ts"
},
"types": "dist/types/index.d.ts",
"files": [

View File

@@ -1,12 +1,13 @@
{
"name": "@semaphore-protocol/proof",
"version": "3.15.0",
"version": "3.15.1",
"description": "A library to generate and verify Semaphore proofs.",
"license": "MIT",
"main": "dist/index.node.js",
"exports": {
"import": "./dist/index.node.mjs",
"require": "./dist/index.node.js"
"require": "./dist/index.node.js",
"types": "./dist/types/index.d.ts"
},
"types": "dist/types/index.d.ts",
"files": [
@@ -39,15 +40,15 @@
"rollup-plugin-typescript2": "^0.31.2"
},
"peerDependencies": {
"@semaphore-protocol/group": "3.15.0",
"@semaphore-protocol/identity": "3.15.0"
"@semaphore-protocol/group": "3.15.1",
"@semaphore-protocol/identity": "3.15.1"
},
"dependencies": {
"@ethersproject/bignumber": "^5.5.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/keccak256": "^5.7.0",
"@ethersproject/strings": "^5.5.0",
"@zk-kit/groth16": "0.1.0",
"@zk-kit/groth16": "0.3.0",
"@zk-kit/incremental-merkle-tree": "0.4.3"
}
}

View File

@@ -1 +1 @@
56f1eae9f45dc17131882a1e18bd4d2997714e07
6080ca0da13bd94e110c7e2e1f173c111d19a4aa