mirror of
https://github.com/semaphore-protocol/semaphore.git
synced 2026-01-10 23:28:17 -05:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd04b0c5c7 | ||
|
|
b6a7a9883b | ||
|
|
fc1fe4d086 | ||
|
|
feb8c9c97d | ||
|
|
b56e9690a8 | ||
|
|
c973bab503 | ||
|
|
27aee4bf43 |
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
@@ -37,4 +37,4 @@
|
||||
- [ ] New and existing unit tests pass locally with my changes
|
||||
|
||||
> [!IMPORTANT]
|
||||
> We do not accept minor grammatical fixes (e.g., correcting typos, rewording sentences) unless they significantly improve clarity in technical documentation. These contributions, while appreciated, are not a priority for merging. If there is a grammatical error feel free to message the team.
|
||||
> We do not accept pull requests for minor grammatical fixes (e.g., correcting typos, rewording sentences) or for fixing broken links, unless they significantly improve clarity or functionality. These contributions, while appreciated, are not a priority for merging. If you notice any of these issues, please create a [GitHub Issue](https://github.com/semaphore-protocol/semaphore/issues/new?template=BLANK_ISSUE) to report them so they can be properly tracked and addressed.
|
||||
|
||||
@@ -31,7 +31,7 @@ Pull requests are great if you want to add a feature or fix a bug. Here's a quic
|
||||
7. Push to your fork and submit a pull request on our `main` branch. Please provide us with some explanation of why you made the changes you made. For new features make sure to explain a standard use case to us.
|
||||
|
||||
> [!IMPORTANT]
|
||||
> We do not accept minor grammatical fixes (e.g., correcting typos, rewording sentences) unless they significantly improve clarity in technical documentation. These contributions, while appreciated, are not a priority for merging. If there is a grammatical error feel free to message the team.
|
||||
> We do not accept pull requests for minor grammatical fixes (e.g., correcting typos, rewording sentences) or for fixing broken links, unless they significantly improve clarity or functionality. These contributions, while appreciated, are not a priority for merging. If you notice any of these issues, please create a [GitHub Issue](https://github.com/semaphore-protocol/semaphore/issues/new?template=BLANK_ISSUE) to report them so they can be properly tracked and addressed.
|
||||
|
||||
## CI (Github Actions) Tests
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
"@docusaurus/core": "3.5.2",
|
||||
"@docusaurus/preset-classic": "3.5.2",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
"@semaphore-protocol/utils": "4.11.1",
|
||||
"@semaphore-protocol/utils": "4.12.0",
|
||||
"@svgr/webpack": "^5.5.0",
|
||||
"clsx": "^1.2.1",
|
||||
"docusaurus-plugin-sass": "^0.2.5",
|
||||
|
||||
@@ -118,5 +118,13 @@
|
||||
"speakers": ["Vivian Plasencia"],
|
||||
"url": "https://youtu.be/ux5Xy_lpiYk",
|
||||
"thumbnail": "https://img.youtube.com/vi/ux5Xy_lpiYk/0.jpg"
|
||||
},
|
||||
{
|
||||
"title": "Scaling Semaphore",
|
||||
"eventName": "ETHDam",
|
||||
"date": "2025-05-10",
|
||||
"speakers": ["Vivian Plasencia"],
|
||||
"url": "https://youtu.be/IkYtKSQLR-A",
|
||||
"thumbnail": "https://img.youtube.com/vi/IkYtKSQLR-A/0.jpg"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/circuits",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "Semaphore Circom circuits to generate zero-knowledge proofs.",
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/cli-template-contracts-foundry",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "Semaphore Foundry template.",
|
||||
"license": "Unlicense",
|
||||
"devDependencies": {
|
||||
"@semaphore-protocol/contracts": "4.11.1",
|
||||
"@semaphore-protocol/contracts": "4.12.0",
|
||||
"@zk-kit/lean-imt.sol": "2.0.1",
|
||||
"forge-std": "github:foundry-rs/forge-std#v1.9.4",
|
||||
"poseidon-solidity": "0.0.5",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/cli-template-contracts-hardhat",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "Semaphore Hardhat template.",
|
||||
"license": "Unlicense",
|
||||
"files": [
|
||||
@@ -42,9 +42,9 @@
|
||||
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
|
||||
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
|
||||
"@nomicfoundation/hardhat-verify": "^2.0.0",
|
||||
"@semaphore-protocol/core": "4.11.1",
|
||||
"@semaphore-protocol/hardhat": "4.11.1",
|
||||
"@semaphore-protocol/utils": "4.11.1",
|
||||
"@semaphore-protocol/core": "4.12.0",
|
||||
"@semaphore-protocol/hardhat": "4.12.0",
|
||||
"@semaphore-protocol/utils": "4.12.0",
|
||||
"@typechain/ethers-v6": "^0.5.0",
|
||||
"@typechain/hardhat": "^9.0.0",
|
||||
"@types/chai": "^4.2.0",
|
||||
@@ -72,7 +72,7 @@
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@semaphore-protocol/contracts": "4.11.1"
|
||||
"@semaphore-protocol/contracts": "4.12.0"
|
||||
},
|
||||
"packageManager": "yarn@4.1.0"
|
||||
}
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
|
||||
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
|
||||
"@nomicfoundation/hardhat-verify": "^2.0.0",
|
||||
"@semaphore-protocol/core": "4.11.1",
|
||||
"@semaphore-protocol/hardhat": "4.11.1",
|
||||
"@semaphore-protocol/utils": "4.11.1",
|
||||
"@semaphore-protocol/core": "4.12.0",
|
||||
"@semaphore-protocol/hardhat": "4.12.0",
|
||||
"@semaphore-protocol/utils": "4.12.0",
|
||||
"@typechain/ethers-v6": "^0.5.0",
|
||||
"@typechain/hardhat": "^9.0.0",
|
||||
"@types/chai": "^4.2.0",
|
||||
@@ -50,7 +50,7 @@
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@semaphore-protocol/contracts": "4.11.1"
|
||||
"@semaphore-protocol/contracts": "4.12.0"
|
||||
},
|
||||
"packageManager": "yarn@4.1.0"
|
||||
}
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@semaphore-protocol/core": "4.11.1",
|
||||
"@semaphore-protocol/data": "4.11.1",
|
||||
"@semaphore-protocol/utils": "4.11.1",
|
||||
"@semaphore-protocol/core": "4.12.0",
|
||||
"@semaphore-protocol/data": "4.12.0",
|
||||
"@semaphore-protocol/utils": "4.12.0",
|
||||
"ethers": "^6.13.4",
|
||||
"next": "14.1.0",
|
||||
"next-pwa": "^5.6.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/cli-template-monorepo-ethers",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "Semaphore Hardhat + Next.js + SemaphoreEthers template.",
|
||||
"license": "Unlicense",
|
||||
"files": [
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
|
||||
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
|
||||
"@nomicfoundation/hardhat-verify": "^2.0.0",
|
||||
"@semaphore-protocol/core": "4.11.1",
|
||||
"@semaphore-protocol/hardhat": "4.11.1",
|
||||
"@semaphore-protocol/utils": "4.11.1",
|
||||
"@semaphore-protocol/core": "4.12.0",
|
||||
"@semaphore-protocol/hardhat": "4.12.0",
|
||||
"@semaphore-protocol/utils": "4.12.0",
|
||||
"@typechain/ethers-v6": "^0.5.0",
|
||||
"@typechain/hardhat": "^9.0.0",
|
||||
"@types/chai": "^4.2.0",
|
||||
@@ -50,7 +50,7 @@
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@semaphore-protocol/contracts": "4.11.1"
|
||||
"@semaphore-protocol/contracts": "4.12.0"
|
||||
},
|
||||
"packageManager": "yarn@4.1.0"
|
||||
}
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@semaphore-protocol/core": "4.11.1",
|
||||
"@semaphore-protocol/data": "4.11.1",
|
||||
"@semaphore-protocol/utils": "4.11.1",
|
||||
"@semaphore-protocol/core": "4.12.0",
|
||||
"@semaphore-protocol/data": "4.12.0",
|
||||
"@semaphore-protocol/utils": "4.12.0",
|
||||
"ethers": "^6.13.4",
|
||||
"next": "14.1.0",
|
||||
"next-pwa": "^5.6.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/cli-template-monorepo-subgraph",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "Semaphore Hardhat + Next.js + SemaphoreSubgraph template.",
|
||||
"license": "Unlicense",
|
||||
"files": [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/cli",
|
||||
"type": "module",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "A command line tool to set up your Semaphore project and get group data.",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
@@ -41,8 +41,8 @@
|
||||
"rollup-plugin-cleanup": "^3.2.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@semaphore-protocol/data": "4.11.1",
|
||||
"@semaphore-protocol/utils": "4.11.1",
|
||||
"@semaphore-protocol/data": "4.12.0",
|
||||
"@semaphore-protocol/utils": "4.12.0",
|
||||
"axios": "^1.6.7",
|
||||
"boxen": "^7.1.1",
|
||||
"chalk": "^5.3.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/contracts",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "Semaphore contracts to manage groups and broadcast anonymous signals.",
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/core",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "Core library for the essential Semaphore features.",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
@@ -42,8 +42,8 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@semaphore-protocol/group": "4.11.1",
|
||||
"@semaphore-protocol/identity": "4.11.1",
|
||||
"@semaphore-protocol/proof": "4.11.1"
|
||||
"@semaphore-protocol/group": "4.12.0",
|
||||
"@semaphore-protocol/identity": "4.12.0",
|
||||
"@semaphore-protocol/proof": "4.12.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/data",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "A library for querying Semaphore smart contract.",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
@@ -37,7 +37,7 @@
|
||||
"rollup-plugin-cleanup": "^3.2.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@semaphore-protocol/utils": "4.11.1",
|
||||
"@semaphore-protocol/utils": "4.12.0",
|
||||
"@zk-kit/utils": "1.3.0",
|
||||
"axios": "1.6.6",
|
||||
"ethers": "6.13.4",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Chain, Transport } from "viem"
|
||||
import { Chain, PublicClient, Transport } from "viem"
|
||||
|
||||
export type EthersNetwork =
|
||||
| "mainnet"
|
||||
@@ -65,4 +65,5 @@ export type ViemOptions = {
|
||||
transport?: Transport // Transport from viem
|
||||
chain?: Chain // Chain from viem
|
||||
apiKey?: string
|
||||
publicClient?: PublicClient
|
||||
}
|
||||
|
||||
@@ -93,13 +93,6 @@ export default class SemaphoreViem {
|
||||
constructor(networkOrEthereumURL: ViemNetwork | string = defaultNetwork, options: ViemOptions = {}) {
|
||||
requireString(networkOrEthereumURL, "networkOrEthereumURL")
|
||||
|
||||
if (options.transport) {
|
||||
// Transport is provided directly
|
||||
} else if (!networkOrEthereumURL.startsWith("http")) {
|
||||
// Default to http transport if no transport is provided and network is not a URL
|
||||
options.transport = http()
|
||||
}
|
||||
|
||||
if (options.apiKey) {
|
||||
requireString(options.apiKey, "apiKey")
|
||||
}
|
||||
@@ -117,13 +110,12 @@ export default class SemaphoreViem {
|
||||
throw new Error(`Network '${networkOrEthereumURL}' needs a Semaphore contract address`)
|
||||
}
|
||||
|
||||
// Create the public client
|
||||
let transport: Transport
|
||||
|
||||
if (options.transport) {
|
||||
transport = options.transport
|
||||
} else if (!networkOrEthereumURL.startsWith("http")) {
|
||||
transport = http()
|
||||
} else {
|
||||
// If no transport is provided, use http transport with the URL
|
||||
transport = http(networkOrEthereumURL)
|
||||
}
|
||||
|
||||
@@ -131,10 +123,12 @@ export default class SemaphoreViem {
|
||||
this._options = options
|
||||
|
||||
// Create the public client
|
||||
this._client = createPublicClient({
|
||||
transport,
|
||||
chain: options.chain as Chain
|
||||
})
|
||||
this._client =
|
||||
options.publicClient ??
|
||||
createPublicClient({
|
||||
transport,
|
||||
chain: options.chain as Chain
|
||||
})
|
||||
|
||||
// Create the contract instance
|
||||
this._contract = getContract({
|
||||
|
||||
108
packages/data/tests/getEvents.test.ts
Normal file
108
packages/data/tests/getEvents.test.ts
Normal file
@@ -0,0 +1,108 @@
|
||||
import { Contract, EventLog } from "ethers/contract"
|
||||
import getEvents from "../src/getEvents"
|
||||
|
||||
jest.mock("ethers/contract", () => ({
|
||||
__esModule: true,
|
||||
Contract: jest.fn(),
|
||||
EventLog: jest.fn()
|
||||
}))
|
||||
|
||||
describe("getEvents", () => {
|
||||
let mockContract: jest.Mocked<Contract>
|
||||
|
||||
beforeEach(() => {
|
||||
mockContract = {
|
||||
filters: {
|
||||
TestEvent: jest.fn()
|
||||
},
|
||||
queryFilter: jest.fn()
|
||||
} as any
|
||||
})
|
||||
|
||||
describe("# getEvents", () => {
|
||||
it("should fetch events with basic parameters", async () => {
|
||||
const mockEvents = [
|
||||
{
|
||||
args: ["arg1", "arg2"],
|
||||
blockNumber: 123
|
||||
},
|
||||
{
|
||||
args: ["arg3", "arg4"],
|
||||
blockNumber: 124
|
||||
}
|
||||
] as EventLog[]
|
||||
|
||||
mockContract.queryFilter.mockResolvedValueOnce(mockEvents)
|
||||
|
||||
const result = await getEvents(mockContract, "TestEvent")
|
||||
|
||||
expect(mockContract.filters.TestEvent).toHaveBeenCalled()
|
||||
expect(mockContract.queryFilter).toHaveBeenCalled()
|
||||
expect(result).toEqual([
|
||||
["arg1", "arg2", 123],
|
||||
["arg3", "arg4", 124]
|
||||
])
|
||||
})
|
||||
|
||||
it("should handle filter arguments", async () => {
|
||||
const filterArgs = ["arg1", "arg2"]
|
||||
const mockEvents = [
|
||||
{
|
||||
args: ["arg1", "arg2"],
|
||||
blockNumber: 123
|
||||
}
|
||||
] as EventLog[]
|
||||
|
||||
mockContract.queryFilter.mockResolvedValueOnce(mockEvents)
|
||||
|
||||
await getEvents(mockContract, "TestEvent", filterArgs)
|
||||
|
||||
expect(mockContract.filters.TestEvent).toHaveBeenCalledWith(...filterArgs)
|
||||
})
|
||||
|
||||
it("should use startBlock parameter", async () => {
|
||||
const startBlock = 1000
|
||||
const mockEvents = [
|
||||
{
|
||||
args: ["arg1"],
|
||||
blockNumber: 1001
|
||||
}
|
||||
] as EventLog[]
|
||||
|
||||
mockContract.queryFilter.mockResolvedValueOnce(mockEvents)
|
||||
|
||||
await getEvents(mockContract, "TestEvent", [], startBlock)
|
||||
|
||||
expect(mockContract.queryFilter).toHaveBeenCalledWith(undefined, startBlock)
|
||||
})
|
||||
|
||||
it("should handle empty events array", async () => {
|
||||
mockContract.queryFilter.mockResolvedValueOnce([])
|
||||
|
||||
const result = await getEvents(mockContract, "TestEvent")
|
||||
|
||||
expect(result).toEqual([])
|
||||
})
|
||||
|
||||
it("should handle undefined filterArgs gracefully", async () => {
|
||||
const mockEvents = [
|
||||
{
|
||||
args: ["arg1"],
|
||||
blockNumber: 101
|
||||
}
|
||||
] as EventLog[]
|
||||
|
||||
mockContract.queryFilter.mockResolvedValueOnce(mockEvents)
|
||||
|
||||
await getEvents(mockContract, "TestEvent", undefined)
|
||||
|
||||
expect(mockContract.filters.TestEvent).toHaveBeenCalledWith()
|
||||
})
|
||||
|
||||
it("should handle contract errors", async () => {
|
||||
mockContract.queryFilter.mockRejectedValue(new Error("Contract error"))
|
||||
|
||||
await expect(getEvents(mockContract, "TestEvent")).rejects.toThrow("Contract error")
|
||||
})
|
||||
})
|
||||
})
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/group",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "A library to create and manage Semaphore groups.",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/hardhat",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "A Hardhat plugin to deploy Semaphore contracts.",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
@@ -41,7 +41,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@nomicfoundation/hardhat-ethers": "^3.0.0",
|
||||
"@semaphore-protocol/contracts": "4.11.1",
|
||||
"@semaphore-protocol/contracts": "4.12.0",
|
||||
"ethers": "^6.13.4",
|
||||
"hardhat-dependency-compiler": "^1.1.3"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/identity",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "A library to create Semaphore identities.",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/proof",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "A library to generate and verify Semaphore proofs.",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
@@ -47,11 +47,11 @@
|
||||
"rollup-plugin-cleanup": "^3.2.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@semaphore-protocol/group": "4.11.1",
|
||||
"@semaphore-protocol/identity": "4.11.1"
|
||||
"@semaphore-protocol/group": "4.12.0",
|
||||
"@semaphore-protocol/identity": "4.12.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@semaphore-protocol/utils": "4.11.1",
|
||||
"@semaphore-protocol/utils": "4.12.0",
|
||||
"@zk-kit/artifacts": "1.8.0",
|
||||
"@zk-kit/utils": "1.3.0",
|
||||
"ethers": "6.13.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@semaphore-protocol/utils",
|
||||
"version": "4.11.1",
|
||||
"version": "4.12.0",
|
||||
"description": "A library to provide utility functions to the other Semaphore packages.",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
|
||||
76
yarn.lock
76
yarn.lock
@@ -7536,7 +7536,7 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@semaphore-protocol/cli-template-contracts-foundry@workspace:packages/cli-template-contracts-foundry"
|
||||
dependencies:
|
||||
"@semaphore-protocol/contracts": "npm:4.11.1"
|
||||
"@semaphore-protocol/contracts": "npm:4.12.0"
|
||||
"@zk-kit/lean-imt.sol": "npm:2.0.1"
|
||||
forge-std: "github:foundry-rs/forge-std#v1.9.4"
|
||||
poseidon-solidity: "npm:0.0.5"
|
||||
@@ -7556,10 +7556,10 @@ __metadata:
|
||||
"@nomicfoundation/hardhat-network-helpers": "npm:^1.0.0"
|
||||
"@nomicfoundation/hardhat-toolbox": "npm:^4.0.0"
|
||||
"@nomicfoundation/hardhat-verify": "npm:^2.0.0"
|
||||
"@semaphore-protocol/contracts": "npm:4.11.1"
|
||||
"@semaphore-protocol/core": "npm:4.11.1"
|
||||
"@semaphore-protocol/hardhat": "npm:4.11.1"
|
||||
"@semaphore-protocol/utils": "npm:4.11.1"
|
||||
"@semaphore-protocol/contracts": "npm:4.12.0"
|
||||
"@semaphore-protocol/core": "npm:4.12.0"
|
||||
"@semaphore-protocol/hardhat": "npm:4.12.0"
|
||||
"@semaphore-protocol/utils": "npm:4.12.0"
|
||||
"@typechain/ethers-v6": "npm:^0.5.0"
|
||||
"@typechain/hardhat": "npm:^9.0.0"
|
||||
"@types/chai": "npm:^4.2.0"
|
||||
@@ -7609,8 +7609,8 @@ __metadata:
|
||||
resolution: "@semaphore-protocol/cli@workspace:packages/cli"
|
||||
dependencies:
|
||||
"@rollup/plugin-typescript": "npm:^11.1.6"
|
||||
"@semaphore-protocol/data": "npm:4.11.1"
|
||||
"@semaphore-protocol/utils": "npm:4.11.1"
|
||||
"@semaphore-protocol/data": "npm:4.12.0"
|
||||
"@semaphore-protocol/utils": "npm:4.12.0"
|
||||
"@types/figlet": "npm:^1.5.8"
|
||||
"@types/inquirer": "npm:^9.0.7"
|
||||
"@types/pacote": "npm:^11.1.8"
|
||||
@@ -7634,7 +7634,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@semaphore-protocol/contracts@npm:4.11.1, @semaphore-protocol/contracts@workspace:packages/contracts/contracts":
|
||||
"@semaphore-protocol/contracts@npm:4.12.0, @semaphore-protocol/contracts@workspace:packages/contracts/contracts":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@semaphore-protocol/contracts@workspace:packages/contracts/contracts"
|
||||
dependencies:
|
||||
@@ -7642,23 +7642,23 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@semaphore-protocol/core@npm:4.11.1, @semaphore-protocol/core@workspace:^, @semaphore-protocol/core@workspace:packages/core":
|
||||
"@semaphore-protocol/core@npm:4.12.0, @semaphore-protocol/core@workspace:^, @semaphore-protocol/core@workspace:packages/core":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@semaphore-protocol/core@workspace:packages/core"
|
||||
dependencies:
|
||||
"@semaphore-protocol/group": "npm:4.11.1"
|
||||
"@semaphore-protocol/identity": "npm:4.11.1"
|
||||
"@semaphore-protocol/proof": "npm:4.11.1"
|
||||
"@semaphore-protocol/group": "npm:4.12.0"
|
||||
"@semaphore-protocol/identity": "npm:4.12.0"
|
||||
"@semaphore-protocol/proof": "npm:4.12.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@semaphore-protocol/data@npm:4.11.1, @semaphore-protocol/data@workspace:packages/data":
|
||||
"@semaphore-protocol/data@npm:4.12.0, @semaphore-protocol/data@workspace:packages/data":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@semaphore-protocol/data@workspace:packages/data"
|
||||
dependencies:
|
||||
"@rollup/plugin-json": "npm:^6.1.0"
|
||||
"@rollup/plugin-typescript": "npm:^11.1.6"
|
||||
"@semaphore-protocol/utils": "npm:4.11.1"
|
||||
"@semaphore-protocol/utils": "npm:4.12.0"
|
||||
"@zk-kit/utils": "npm:1.3.0"
|
||||
axios: "npm:1.6.6"
|
||||
ethers: "npm:6.13.4"
|
||||
@@ -7669,7 +7669,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@semaphore-protocol/group@npm:4.11.1, @semaphore-protocol/group@workspace:packages/group":
|
||||
"@semaphore-protocol/group@npm:4.12.0, @semaphore-protocol/group@workspace:packages/group":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@semaphore-protocol/group@workspace:packages/group"
|
||||
dependencies:
|
||||
@@ -7683,13 +7683,13 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@semaphore-protocol/hardhat@npm:4.11.1, @semaphore-protocol/hardhat@workspace:packages/hardhat":
|
||||
"@semaphore-protocol/hardhat@npm:4.12.0, @semaphore-protocol/hardhat@workspace:packages/hardhat":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@semaphore-protocol/hardhat@workspace:packages/hardhat"
|
||||
dependencies:
|
||||
"@nomicfoundation/hardhat-ethers": "npm:^3.0.0"
|
||||
"@rollup/plugin-typescript": "npm:^11.1.6"
|
||||
"@semaphore-protocol/contracts": "npm:4.11.1"
|
||||
"@semaphore-protocol/contracts": "npm:4.12.0"
|
||||
ethers: "npm:^6.13.4"
|
||||
hardhat: "npm:^2.19.4"
|
||||
hardhat-dependency-compiler: "npm:^1.1.3"
|
||||
@@ -7701,7 +7701,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@semaphore-protocol/identity@npm:4.11.1, @semaphore-protocol/identity@workspace:packages/identity":
|
||||
"@semaphore-protocol/identity@npm:4.12.0, @semaphore-protocol/identity@workspace:packages/identity":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@semaphore-protocol/identity@workspace:packages/identity"
|
||||
dependencies:
|
||||
@@ -7717,14 +7717,14 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@semaphore-protocol/proof@npm:4.11.1, @semaphore-protocol/proof@workspace:packages/proof":
|
||||
"@semaphore-protocol/proof@npm:4.12.0, @semaphore-protocol/proof@workspace:packages/proof":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@semaphore-protocol/proof@workspace:packages/proof"
|
||||
dependencies:
|
||||
"@rollup/plugin-alias": "npm:^5.1.0"
|
||||
"@rollup/plugin-json": "npm:^6.1.0"
|
||||
"@rollup/plugin-typescript": "npm:^11.1.6"
|
||||
"@semaphore-protocol/utils": "npm:4.11.1"
|
||||
"@semaphore-protocol/utils": "npm:4.12.0"
|
||||
"@types/snarkjs": "npm:^0"
|
||||
"@zk-kit/artifacts": "npm:1.8.0"
|
||||
"@zk-kit/utils": "npm:1.3.0"
|
||||
@@ -7734,12 +7734,12 @@ __metadata:
|
||||
rollup-plugin-cleanup: "npm:^3.2.1"
|
||||
snarkjs: "npm:0.7.4"
|
||||
peerDependencies:
|
||||
"@semaphore-protocol/group": 4.11.1
|
||||
"@semaphore-protocol/identity": 4.11.1
|
||||
"@semaphore-protocol/group": 4.12.0
|
||||
"@semaphore-protocol/identity": 4.12.0
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@semaphore-protocol/utils@npm:4.11.1, @semaphore-protocol/utils@workspace:packages/utils":
|
||||
"@semaphore-protocol/utils@npm:4.12.0, @semaphore-protocol/utils@workspace:packages/utils":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@semaphore-protocol/utils@workspace:packages/utils"
|
||||
dependencies:
|
||||
@@ -21571,10 +21571,10 @@ __metadata:
|
||||
"@nomicfoundation/hardhat-network-helpers": "npm:^1.0.0"
|
||||
"@nomicfoundation/hardhat-toolbox": "npm:^4.0.0"
|
||||
"@nomicfoundation/hardhat-verify": "npm:^2.0.0"
|
||||
"@semaphore-protocol/contracts": "npm:4.11.1"
|
||||
"@semaphore-protocol/core": "npm:4.11.1"
|
||||
"@semaphore-protocol/hardhat": "npm:4.11.1"
|
||||
"@semaphore-protocol/utils": "npm:4.11.1"
|
||||
"@semaphore-protocol/contracts": "npm:4.12.0"
|
||||
"@semaphore-protocol/core": "npm:4.12.0"
|
||||
"@semaphore-protocol/hardhat": "npm:4.12.0"
|
||||
"@semaphore-protocol/utils": "npm:4.12.0"
|
||||
"@typechain/ethers-v6": "npm:^0.5.0"
|
||||
"@typechain/hardhat": "npm:^9.0.0"
|
||||
"@types/chai": "npm:^4.2.0"
|
||||
@@ -21607,9 +21607,9 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "monorepo-ethers-web-app@workspace:packages/cli-template-monorepo-ethers/apps/web-app"
|
||||
dependencies:
|
||||
"@semaphore-protocol/core": "npm:4.11.1"
|
||||
"@semaphore-protocol/data": "npm:4.11.1"
|
||||
"@semaphore-protocol/utils": "npm:4.11.1"
|
||||
"@semaphore-protocol/core": "npm:4.12.0"
|
||||
"@semaphore-protocol/data": "npm:4.12.0"
|
||||
"@semaphore-protocol/utils": "npm:4.12.0"
|
||||
"@types/node": "npm:^20"
|
||||
"@types/react": "npm:^18"
|
||||
"@types/react-dom": "npm:^18"
|
||||
@@ -21634,10 +21634,10 @@ __metadata:
|
||||
"@nomicfoundation/hardhat-network-helpers": "npm:^1.0.0"
|
||||
"@nomicfoundation/hardhat-toolbox": "npm:^4.0.0"
|
||||
"@nomicfoundation/hardhat-verify": "npm:^2.0.0"
|
||||
"@semaphore-protocol/contracts": "npm:4.11.1"
|
||||
"@semaphore-protocol/core": "npm:4.11.1"
|
||||
"@semaphore-protocol/hardhat": "npm:4.11.1"
|
||||
"@semaphore-protocol/utils": "npm:4.11.1"
|
||||
"@semaphore-protocol/contracts": "npm:4.12.0"
|
||||
"@semaphore-protocol/core": "npm:4.12.0"
|
||||
"@semaphore-protocol/hardhat": "npm:4.12.0"
|
||||
"@semaphore-protocol/utils": "npm:4.12.0"
|
||||
"@typechain/ethers-v6": "npm:^0.5.0"
|
||||
"@typechain/hardhat": "npm:^9.0.0"
|
||||
"@types/chai": "npm:^4.2.0"
|
||||
@@ -21670,9 +21670,9 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "monorepo-subgraph-web-app@workspace:packages/cli-template-monorepo-subgraph/apps/web-app"
|
||||
dependencies:
|
||||
"@semaphore-protocol/core": "npm:4.11.1"
|
||||
"@semaphore-protocol/data": "npm:4.11.1"
|
||||
"@semaphore-protocol/utils": "npm:4.11.1"
|
||||
"@semaphore-protocol/core": "npm:4.12.0"
|
||||
"@semaphore-protocol/data": "npm:4.12.0"
|
||||
"@semaphore-protocol/utils": "npm:4.12.0"
|
||||
"@types/node": "npm:^20"
|
||||
"@types/react": "npm:^18"
|
||||
"@types/react-dom": "npm:^18"
|
||||
@@ -26178,7 +26178,7 @@ __metadata:
|
||||
"@docusaurus/preset-classic": "npm:3.5.2"
|
||||
"@docusaurus/tsconfig": "npm:3.5.2"
|
||||
"@mdx-js/react": "npm:^3.0.0"
|
||||
"@semaphore-protocol/utils": "npm:4.11.1"
|
||||
"@semaphore-protocol/utils": "npm:4.12.0"
|
||||
"@svgr/webpack": "npm:^5.5.0"
|
||||
"@types/react": "npm:^18.2.29"
|
||||
clsx: "npm:^1.2.1"
|
||||
|
||||
Reference in New Issue
Block a user