--network arbitru
3. Copy your contract artifacts from `apps/contracts/build/contracts/contracts` folder to `apps/web-app/contract-artifacts` folders manually. Or run `yarn copy:contract-artifacts` in the project root to do it automatically.
> **Note**
-> Check the Semaphore contract addresses [here](https://semaphore.appliedzkp.org/docs/deployed-contracts).
+> Check the Semaphore contract addresses [here](https://semaphore.pse.dev/docs/deployed-contracts).
> **Warning**
> The group id is a number!
diff --git a/packages/cli-template-monorepo-subgraph/apps/contracts/package.json b/packages/cli-template-monorepo-subgraph/apps/contracts/package.json
index bc7793327..bc8c62e5f 100644
--- a/packages/cli-template-monorepo-subgraph/apps/contracts/package.json
+++ b/packages/cli-template-monorepo-subgraph/apps/contracts/package.json
@@ -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.11.0",
- "@semaphore-protocol/hardhat": "3.11.0",
- "@semaphore-protocol/identity": "3.11.0",
- "@semaphore-protocol/proof": "3.11.0",
+ "@semaphore-protocol/group": "3.11.1",
+ "@semaphore-protocol/hardhat": "3.11.1",
+ "@semaphore-protocol/identity": "3.11.1",
+ "@semaphore-protocol/proof": "3.11.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.11.0"
+ "@semaphore-protocol/contracts": "3.11.1"
},
"config": {
"solidity": {
diff --git a/packages/cli-template-monorepo-subgraph/apps/web-app/package.json b/packages/cli-template-monorepo-subgraph/apps/web-app/package.json
index 0a6e93fa2..4db6e98b8 100644
--- a/packages/cli-template-monorepo-subgraph/apps/web-app/package.json
+++ b/packages/cli-template-monorepo-subgraph/apps/web-app/package.json
@@ -10,10 +10,10 @@
},
"dependencies": {
"@next/font": "13.0.3",
- "@semaphore-protocol/data": "3.11.0",
- "@semaphore-protocol/group": "3.11.0",
- "@semaphore-protocol/identity": "3.11.0",
- "@semaphore-protocol/proof": "3.11.0",
+ "@semaphore-protocol/data": "3.11.1",
+ "@semaphore-protocol/group": "3.11.1",
+ "@semaphore-protocol/identity": "3.11.1",
+ "@semaphore-protocol/proof": "3.11.1",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.8",
"dotenv": "^16.0.3",
diff --git a/packages/cli-template-monorepo-subgraph/apps/web-app/src/pages/groups.tsx b/packages/cli-template-monorepo-subgraph/apps/web-app/src/pages/groups.tsx
index bab0ccee9..d7c5c1ee8 100644
--- a/packages/cli-template-monorepo-subgraph/apps/web-app/src/pages/groups.tsx
+++ b/packages/cli-template-monorepo-subgraph/apps/web-app/src/pages/groups.tsx
@@ -84,7 +84,7 @@ export default function GroupsPage() {
Semaphore{" "}
diff --git a/packages/cli-template-monorepo-subgraph/apps/web-app/src/pages/index.tsx b/packages/cli-template-monorepo-subgraph/apps/web-app/src/pages/index.tsx
index 36e14f02e..a58772bf9 100644
--- a/packages/cli-template-monorepo-subgraph/apps/web-app/src/pages/index.tsx
+++ b/packages/cli-template-monorepo-subgraph/apps/web-app/src/pages/index.tsx
@@ -40,7 +40,7 @@ export default function IdentitiesPage() {
Users interact with the protocol using a Semaphore{" "}
diff --git a/packages/cli-template-monorepo-subgraph/apps/web-app/src/pages/proofs.tsx b/packages/cli-template-monorepo-subgraph/apps/web-app/src/pages/proofs.tsx
index 6703aebff..fd89a7705 100644
--- a/packages/cli-template-monorepo-subgraph/apps/web-app/src/pages/proofs.tsx
+++ b/packages/cli-template-monorepo-subgraph/apps/web-app/src/pages/proofs.tsx
@@ -112,7 +112,7 @@ export default function ProofsPage() {
Semaphore members can anonymously{" "}
diff --git a/packages/cli-template-monorepo-subgraph/package.json b/packages/cli-template-monorepo-subgraph/package.json
index e0214a851..b70e41fa8 100644
--- a/packages/cli-template-monorepo-subgraph/package.json
+++ b/packages/cli-template-monorepo-subgraph/package.json
@@ -1,6 +1,6 @@
{
"name": "@semaphore-protocol/cli-template-monorepo-subgraph",
- "version": "3.11.0",
+ "version": "3.11.1",
"description": "Semaphore Hardhat + Next.js + SemaphoreSubgraph template.",
"license": "Unlicense",
"files": [
diff --git a/packages/cli/README.md b/packages/cli/README.md
index cc2ccdc33..767b06669 100644
--- a/packages/cli/README.md
+++ b/packages/cli/README.md
@@ -40,7 +40,7 @@
🔎 Issues
|
-
+
🗣️ Chat & Support
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 18c62d955..49ea45595 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -1,7 +1,7 @@
{
"name": "@semaphore-protocol/cli",
"type": "module",
- "version": "3.11.0",
+ "version": "3.11.1",
"description": "A command line tool to set up your Semaphore project and get group data.",
"license": "MIT",
"bin": {
@@ -39,11 +39,10 @@
"@types/semver": "^7.3.13",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-typescript2": "^0.31.2",
- "ts-node": "^10.9.1",
- "typedoc": "^0.22.11"
+ "ts-node": "^10.9.1"
},
"dependencies": {
- "@semaphore-protocol/data": "3.11.0",
+ "@semaphore-protocol/data": "3.11.1",
"axios": "^1.3.2",
"boxen": "^7.0.1",
"chalk": "^5.1.2",
diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts
index f21f2fe01..c5a628989 100644
--- a/packages/cli/src/index.ts
+++ b/packages/cli/src/index.ts
@@ -132,7 +132,10 @@ program
const groupIds = await getGroupIds(network)
- if (groupIds === null) return
+ if (groupIds === null) {
+ console.info(`\n ${logSymbols.info}`, `info: there are no groups on the '${network}' network\n`)
+ return
+ }
const content = `${chalk.bold("Groups")} (${groupIds.length}): \n${groupIds
.map((id: any) => ` - ${id}`)
@@ -160,7 +163,10 @@ program
if (!groupId) {
const groupIds = await getGroupIds(network)
- if (groupIds === null) return
+ if (groupIds === null) {
+ console.info(`\n ${logSymbols.info}`, `info: there are no groups on the '${network}' network\n`)
+ return
+ }
groupId = await getGroupId(groupIds)
}
@@ -193,6 +199,11 @@ program
}
}
+ if (!group) {
+ console.info(`\n ${logSymbols.error}`, "error: the group does not exist\n")
+ return
+ }
+
let content = ` ${chalk.bold("Id")}: ${group.id}\n`
content += ` ${chalk.bold("Admin")}: ${group.admin}\n`
content += ` ${chalk.bold("Merkle tree")}:\n`
@@ -223,7 +234,10 @@ program
if (!groupId) {
const groupIds = await getGroupIds(network)
- if (groupIds === null) return
+ if (groupIds === null) {
+ console.info(`\n ${logSymbols.info}`, `info: there are no groups on the '${network}' network\n`)
+ return
+ }
groupId = await getGroupId(groupIds)
}
@@ -286,7 +300,10 @@ program
if (!groupId) {
const groupIds = await getGroupIds(network)
- if (groupIds === null) return
+ if (groupIds === null) {
+ console.info(`\n ${logSymbols.info}`, `info: there are no groups on the '${network}' network\n`)
+ return
+ }
groupId = await getGroupId(groupIds)
}
diff --git a/packages/contracts/contracts/README.md b/packages/contracts/contracts/README.md
index 6fce49899..5003fb80a 100644
--- a/packages/contracts/contracts/README.md
+++ b/packages/contracts/contracts/README.md
@@ -34,13 +34,13 @@
🔎 Issues
|
-
+
🗣️ Chat & Support
-To learn more about contracts visit [semaphore.appliedzkp.org](https://semaphore.appliedzkp.org/docs/technical-reference/contracts).
+To learn more about contracts visit [semaphore.pse.dev](https://semaphore.pse.dev/docs/technical-reference/contracts).
---
diff --git a/packages/contracts/contracts/package.json b/packages/contracts/contracts/package.json
index 5fcedae1b..b139929c6 100644
--- a/packages/contracts/contracts/package.json
+++ b/packages/contracts/contracts/package.json
@@ -1,6 +1,6 @@
{
"name": "@semaphore-protocol/contracts",
- "version": "3.11.0",
+ "version": "3.11.1",
"description": "Semaphore contracts to manage groups and broadcast anonymous signals.",
"license": "MIT",
"files": [
diff --git a/packages/data/README.md b/packages/data/README.md
index 1944b7260..265636188 100644
--- a/packages/data/README.md
+++ b/packages/data/README.md
@@ -18,7 +18,7 @@
-
+
@@ -43,7 +43,7 @@
🔎 Issues
|
-
+
🗣️ Chat & Support
diff --git a/packages/data/package.json b/packages/data/package.json
index eb012f135..df2b74ac1 100644
--- a/packages/data/package.json
+++ b/packages/data/package.json
@@ -1,6 +1,6 @@
{
"name": "@semaphore-protocol/data",
- "version": "3.11.0",
+ "version": "3.11.1",
"description": "A library to query Semaphore contracts.",
"license": "MIT",
"main": "dist/index.node.js",
@@ -23,8 +23,7 @@
"scripts": {
"build:watch": "rollup -c rollup.config.ts -w --configPlugin typescript",
"build": "rimraf dist && rollup -c rollup.config.ts --configPlugin typescript",
- "prepublishOnly": "yarn build",
- "docs": "typedoc src/index.ts --out ../../docs/data"
+ "prepublishOnly": "yarn build"
},
"publishConfig": {
"access": "public"
@@ -32,8 +31,7 @@
"devDependencies": {
"@rollup/plugin-json": "^6.0.0",
"rollup-plugin-cleanup": "^3.2.1",
- "rollup-plugin-typescript2": "^0.31.2",
- "typedoc": "^0.22.11"
+ "rollup-plugin-typescript2": "^0.31.2"
},
"dependencies": {
"@ethersproject/contracts": "^5.7.0",
diff --git a/packages/data/src/ethers.test.ts b/packages/data/src/ethers.test.ts
index 6d4f6a938..0c8294a85 100644
--- a/packages/data/src/ethers.test.ts
+++ b/packages/data/src/ethers.test.ts
@@ -31,7 +31,11 @@ describe("SemaphoreEthers", () => {
const semaphore2 = new SemaphoreEthers("matic")
const semaphore3 = new SemaphoreEthers("optimism-goerli")
const semaphore4 = new SemaphoreEthers("arbitrum-goerli")
- const semaphore5 = new SemaphoreEthers("homestead", {
+ const semaphore5 = new SemaphoreEthers("arbitrum-goerli", {
+ address: "0x0000000000000000000000000000000000000000",
+ startBlock: 0
+ })
+ const semaphore6 = new SemaphoreEthers("homestead", {
address: "0x0000000000000000000000000000000000000000",
startBlock: 0
})
@@ -42,9 +46,10 @@ describe("SemaphoreEthers", () => {
expect(semaphore2.network).toBe("maticmum")
expect(semaphore3.network).toBe("optimism-goerli")
expect(semaphore4.network).toBe("arbitrum-goerli")
- expect(semaphore5.network).toBe("homestead")
- expect(semaphore5.options.startBlock).toBe(0)
expect(semaphore5.options.address).toContain("0x000000")
+ expect(semaphore6.network).toBe("homestead")
+ expect(semaphore6.options.startBlock).toBe(0)
+ expect(semaphore6.options.address).toContain("0x000000")
})
it("Should instantiate a SemaphoreEthers object with different providers", () => {
diff --git a/packages/data/src/ethers.ts b/packages/data/src/ethers.ts
index c902d909d..6cb96b673 100644
--- a/packages/data/src/ethers.ts
+++ b/packages/data/src/ethers.ts
@@ -43,37 +43,35 @@ export default class SemaphoreEthers {
switch (networkOrEthereumURL) {
case "arbitrum":
- options.address = "0xc60E0Ee1a2770d5F619858C641f14FC4a6401520"
- options.startBlock = 77278430
+ options.address ??= "0xc60E0Ee1a2770d5F619858C641f14FC4a6401520"
+ options.startBlock ??= 77278430
break
case "arbitrum-goerli":
- options.address = "0x3889927F0B5Eb1a02C6E2C20b39a1Bd4EAd76131"
- options.startBlock = 15174410
+ options.address ??= "0x3889927F0B5Eb1a02C6E2C20b39a1Bd4EAd76131"
+ options.startBlock ??= 15174410
break
case "maticmum":
- options.address = "0x3889927F0B5Eb1a02C6E2C20b39a1Bd4EAd76131"
- options.startBlock = 33995010
+ options.address ??= "0x3889927F0B5Eb1a02C6E2C20b39a1Bd4EAd76131"
+ options.startBlock ??= 33995010
break
case "goerli":
- options.address = "0x3889927F0B5Eb1a02C6E2C20b39a1Bd4EAd76131"
- options.startBlock = 8777695
+ options.address ??= "0x3889927F0B5Eb1a02C6E2C20b39a1Bd4EAd76131"
+ options.startBlock ??= 8777695
break
case "sepolia":
- options.address = "0x3889927F0B5Eb1a02C6E2C20b39a1Bd4EAd76131"
- options.startBlock = 3231111
+ options.address ??= "0x3889927F0B5Eb1a02C6E2C20b39a1Bd4EAd76131"
+ options.startBlock ??= 3231111
break
case "optimism-goerli":
- options.address = "0x3889927F0B5Eb1a02C6E2C20b39a1Bd4EAd76131"
- options.startBlock = 7632846
+ options.address ??= "0x3889927F0B5Eb1a02C6E2C20b39a1Bd4EAd76131"
+ options.startBlock ??= 7632846
break
default:
if (options.address === undefined) {
throw new Error(`You should provide a Semaphore contract address for this network`)
}
- if (options.startBlock === undefined) {
- options.startBlock = 0
- }
+ options.startBlock ??= 0
}
let provider: Provider
diff --git a/packages/data/typedoc.json b/packages/data/typedoc.json
new file mode 100644
index 000000000..77a471c91
--- /dev/null
+++ b/packages/data/typedoc.json
@@ -0,0 +1,3 @@
+{
+ "entryPoints": ["src/index.ts"]
+}
diff --git a/packages/group/README.md b/packages/group/README.md
index 51e58901c..9e3b6373e 100644
--- a/packages/group/README.md
+++ b/packages/group/README.md
@@ -18,7 +18,7 @@
-
+
@@ -43,7 +43,7 @@
🔎 Issues
|
-
+
🗣️ Chat & Support
diff --git a/packages/group/package.json b/packages/group/package.json
index 2302f0105..5537310bd 100644
--- a/packages/group/package.json
+++ b/packages/group/package.json
@@ -1,6 +1,6 @@
{
"name": "@semaphore-protocol/group",
- "version": "3.11.0",
+ "version": "3.11.1",
"description": "A library to create and manage Semaphore groups.",
"license": "MIT",
"main": "dist/index.node.js",
@@ -23,8 +23,7 @@
"scripts": {
"build:watch": "rollup -c rollup.config.ts -w --configPlugin typescript",
"build": "rimraf dist && rollup -c rollup.config.ts --configPlugin typescript",
- "prepublishOnly": "yarn build",
- "docs": "typedoc src/index.ts --out ../../docs/group"
+ "prepublishOnly": "yarn build"
},
"publishConfig": {
"access": "public"
@@ -34,8 +33,7 @@
"@rollup/plugin-node-resolve": "^15.0.1",
"poseidon-lite": "^0.2.0",
"rollup-plugin-cleanup": "^3.2.1",
- "rollup-plugin-typescript2": "^0.31.2",
- "typedoc": "^0.22.11"
+ "rollup-plugin-typescript2": "^0.31.2"
},
"dependencies": {
"@ethersproject/bignumber": "^5.7.0",
diff --git a/packages/group/typedoc.json b/packages/group/typedoc.json
new file mode 100644
index 000000000..77a471c91
--- /dev/null
+++ b/packages/group/typedoc.json
@@ -0,0 +1,3 @@
+{
+ "entryPoints": ["src/index.ts"]
+}
diff --git a/packages/hardhat/README.md b/packages/hardhat/README.md
index 8306174f5..55455e743 100644
--- a/packages/hardhat/README.md
+++ b/packages/hardhat/README.md
@@ -40,7 +40,7 @@
🔎 Issues
|
-
+
🗣️ Chat & Support
diff --git a/packages/hardhat/package.json b/packages/hardhat/package.json
index 62150613f..2d6191af8 100644
--- a/packages/hardhat/package.json
+++ b/packages/hardhat/package.json
@@ -1,6 +1,6 @@
{
"name": "@semaphore-protocol/hardhat",
- "version": "3.11.0",
+ "version": "3.11.1",
"description": "A Semaphore Hardhat plugin to deploy verifiers and Semaphore contract.",
"license": "MIT",
"main": "dist/index.node.js",
@@ -38,7 +38,7 @@
},
"dependencies": {
"@nomiclabs/hardhat-ethers": "^2.1.1",
- "@semaphore-protocol/contracts": "3.11.0",
+ "@semaphore-protocol/contracts": "3.11.1",
"circomlibjs": "^0.0.8",
"ethers": "^5.7.1",
"hardhat-dependency-compiler": "^1.1.3"
diff --git a/packages/heyauthn/README.md b/packages/heyauthn/README.md
index 3b23f0acc..e857dcffc 100644
--- a/packages/heyauthn/README.md
+++ b/packages/heyauthn/README.md
@@ -18,7 +18,7 @@
-
+
@@ -43,7 +43,7 @@
🔎 Issues
|
-
+
🗣️ Chat & Support
diff --git a/packages/heyauthn/package.json b/packages/heyauthn/package.json
index 9c19e8b8e..dbf222e3e 100644
--- a/packages/heyauthn/package.json
+++ b/packages/heyauthn/package.json
@@ -1,6 +1,6 @@
{
"name": "@semaphore-protocol/heyauthn",
- "version": "3.11.0",
+ "version": "3.11.1",
"description": "A library to allow developers to create and manage Semaphore identities using WebAuthn",
"license": "MIT",
"main": "dist/index.node.js",
@@ -23,19 +23,17 @@
"scripts": {
"build:watch": "rollup -c rollup.config.ts -w --configPlugin typescript",
"build": "rimraf dist && rollup -c rollup.config.ts --configPlugin typescript",
- "prepublishOnly": "yarn build",
- "docs": "typedoc src/index.ts --out ../../docs/heyauthn"
+ "prepublishOnly": "yarn build"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"rollup-plugin-cleanup": "^3.2.1",
- "rollup-plugin-typescript2": "^0.31.2",
- "typedoc": "^0.22.11"
+ "rollup-plugin-typescript2": "^0.31.2"
},
"dependencies": {
- "@semaphore-protocol/identity": "3.11.0",
+ "@semaphore-protocol/identity": "3.11.1",
"@simplewebauthn/browser": "7.2.0",
"@simplewebauthn/server": "7.2.0"
}
diff --git a/packages/heyauthn/typedoc.json b/packages/heyauthn/typedoc.json
new file mode 100644
index 000000000..77a471c91
--- /dev/null
+++ b/packages/heyauthn/typedoc.json
@@ -0,0 +1,3 @@
+{
+ "entryPoints": ["src/index.ts"]
+}
diff --git a/packages/identity/README.md b/packages/identity/README.md
index 2f2ce1c95..d9593655a 100644
--- a/packages/identity/README.md
+++ b/packages/identity/README.md
@@ -18,7 +18,7 @@
-
+
@@ -43,7 +43,7 @@
🔎 Issues
|
-
+
🗣️ Chat & Support
diff --git a/packages/identity/package.json b/packages/identity/package.json
index 5b7d1ac09..9a17ab8ea 100644
--- a/packages/identity/package.json
+++ b/packages/identity/package.json
@@ -1,6 +1,6 @@
{
"name": "@semaphore-protocol/identity",
- "version": "3.11.0",
+ "version": "3.11.1",
"description": "A library to create Semaphore identities.",
"license": "MIT",
"main": "dist/index.node.js",
@@ -23,8 +23,7 @@
"scripts": {
"build:watch": "rollup -c rollup.config.ts -w --configPlugin typescript",
"build": "rimraf dist && rollup -c rollup.config.ts --configPlugin typescript",
- "prepublishOnly": "yarn build",
- "docs": "typedoc src/index.ts --out ../../docs/identity"
+ "prepublishOnly": "yarn build"
},
"publishConfig": {
"access": "public"
@@ -34,8 +33,7 @@
"@rollup/plugin-node-resolve": "^15.0.1",
"poseidon-lite": "^0.2.0",
"rollup-plugin-cleanup": "^3.2.1",
- "rollup-plugin-typescript2": "^0.31.2",
- "typedoc": "^0.22.11"
+ "rollup-plugin-typescript2": "^0.31.2"
},
"dependencies": {
"@ethersproject/bignumber": "^5.5.0",
diff --git a/packages/identity/typedoc.json b/packages/identity/typedoc.json
new file mode 100644
index 000000000..77a471c91
--- /dev/null
+++ b/packages/identity/typedoc.json
@@ -0,0 +1,3 @@
+{
+ "entryPoints": ["src/index.ts"]
+}
diff --git a/packages/proof/README.md b/packages/proof/README.md
index f6b866bb8..8c9b90af3 100644
--- a/packages/proof/README.md
+++ b/packages/proof/README.md
@@ -18,7 +18,7 @@
-
+
@@ -43,7 +43,7 @@
🔎 Issues
|
-
+
🗣️ Chat & Support
diff --git a/packages/proof/package.json b/packages/proof/package.json
index d5f4234bd..2144b5619 100644
--- a/packages/proof/package.json
+++ b/packages/proof/package.json
@@ -1,6 +1,6 @@
{
"name": "@semaphore-protocol/proof",
- "version": "3.11.0",
+ "version": "3.11.1",
"description": "A library to generate and verify Semaphore proofs.",
"license": "MIT",
"main": "dist/index.node.js",
@@ -23,8 +23,7 @@
"scripts": {
"build:watch": "rollup -c rollup.config.ts -w --configPlugin typescript",
"build": "rimraf dist && rollup -c rollup.config.ts --configPlugin typescript",
- "prepublishOnly": "yarn build",
- "docs": "typedoc src/index.ts --out ../../docs/proof"
+ "prepublishOnly": "yarn build"
},
"publishConfig": {
"access": "public"
@@ -36,12 +35,11 @@
"ffjavascript": "^0.2.54",
"poseidon-lite": "^0.2.0",
"rollup-plugin-cleanup": "^3.2.1",
- "rollup-plugin-typescript2": "^0.31.2",
- "typedoc": "^0.22.11"
+ "rollup-plugin-typescript2": "^0.31.2"
},
"peerDependencies": {
- "@semaphore-protocol/group": "3.11.0",
- "@semaphore-protocol/identity": "3.11.0"
+ "@semaphore-protocol/group": "3.11.1",
+ "@semaphore-protocol/identity": "3.11.1"
},
"dependencies": {
"@ethersproject/bignumber": "^5.5.0",
diff --git a/packages/proof/typedoc.json b/packages/proof/typedoc.json
new file mode 100644
index 000000000..77a471c91
--- /dev/null
+++ b/packages/proof/typedoc.json
@@ -0,0 +1,3 @@
+{
+ "entryPoints": ["src/index.ts"]
+}
diff --git a/projects.json b/projects.json
index 1cea4766b..34a8896c9 100644
--- a/projects.json
+++ b/projects.json
@@ -4,9 +4,9 @@
"tagline": "Semaphore explorer for on-chain groups.",
"icon": "",
"links": {
- "website": "https://community.semaphore.appliedzkp.org/semaphore-explorer",
+ "website": "https://community.semaphore.pse.dev/semaphore-explorer",
"github": "https://github.com/semaphore-protocol/explorer",
- "discord": "https://semaphore.appliedzkp.org/discord"
+ "discord": "https://semaphore.pse.dev/discord"
}
},
{
@@ -16,7 +16,7 @@
"links": {
"website": "https://discord.com/api/oauth2/authorize?client_id=1082429985496772628&permissions=1024&scope=bot",
"github": "https://github.com/semaphore-protocol/discord-bot",
- "discord": "https://semaphore.appliedzkp.org/discord"
+ "discord": "https://semaphore.pse.dev/discord"
}
},
{
diff --git a/typedoc.json b/typedoc.json
new file mode 100644
index 000000000..390a46a16
--- /dev/null
+++ b/typedoc.json
@@ -0,0 +1,6 @@
+{
+ "entryPoints": ["packages/*"],
+ "name": "Semaphore SDK",
+ "entryPointStrategy": "packages",
+ "exclude": ["**/cli-template*", "**/circuits", "**/contracts", "**/hardhat", "**/cli"]
+}
diff --git a/yarn.lock b/yarn.lock
index 14647f7bb..dbd14f975 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4308,11 +4308,11 @@ __metadata:
"@nomicfoundation/hardhat-toolbox": ^2.0.0
"@nomiclabs/hardhat-ethers": ^2.0.0
"@nomiclabs/hardhat-etherscan": ^3.0.0
- "@semaphore-protocol/contracts": 3.11.0
- "@semaphore-protocol/group": 3.11.0
- "@semaphore-protocol/hardhat": 3.11.0
- "@semaphore-protocol/identity": 3.11.0
- "@semaphore-protocol/proof": 3.11.0
+ "@semaphore-protocol/contracts": 3.11.1
+ "@semaphore-protocol/group": 3.11.1
+ "@semaphore-protocol/hardhat": 3.11.1
+ "@semaphore-protocol/identity": 3.11.1
+ "@semaphore-protocol/proof": 3.11.1
"@typechain/ethers-v5": ^10.1.0
"@typechain/hardhat": ^6.1.2
"@types/chai": ^4.2.0
@@ -4372,7 +4372,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@semaphore-protocol/cli@workspace:packages/cli"
dependencies:
- "@semaphore-protocol/data": 3.11.0
+ "@semaphore-protocol/data": 3.11.1
"@types/clear": ^0.1.2
"@types/figlet": ^1.5.5
"@types/inquirer": ^9.0.3
@@ -4392,13 +4392,12 @@ __metadata:
rollup-plugin-typescript2: ^0.31.2
semver: ^7.3.8
ts-node: ^10.9.1
- typedoc: ^0.22.11
bin:
semaphore: dist/index.js
languageName: unknown
linkType: soft
-"@semaphore-protocol/contracts@3.11.0, @semaphore-protocol/contracts@workspace:packages/contracts/contracts":
+"@semaphore-protocol/contracts@3.11.1, @semaphore-protocol/contracts@workspace:packages/contracts/contracts":
version: 0.0.0-use.local
resolution: "@semaphore-protocol/contracts@workspace:packages/contracts/contracts"
dependencies:
@@ -4407,7 +4406,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@semaphore-protocol/data@3.11.0, @semaphore-protocol/data@workspace:packages/data":
+"@semaphore-protocol/data@3.11.1, @semaphore-protocol/data@workspace:packages/data":
version: 0.0.0-use.local
resolution: "@semaphore-protocol/data@workspace:packages/data"
dependencies:
@@ -4417,11 +4416,10 @@ __metadata:
axios: ^0.27.2
rollup-plugin-cleanup: ^3.2.1
rollup-plugin-typescript2: ^0.31.2
- typedoc: ^0.22.11
languageName: unknown
linkType: soft
-"@semaphore-protocol/group@3.11.0, @semaphore-protocol/group@workspace:packages/group":
+"@semaphore-protocol/group@3.11.1, @semaphore-protocol/group@workspace:packages/group":
version: 0.0.0-use.local
resolution: "@semaphore-protocol/group@workspace:packages/group"
dependencies:
@@ -4434,16 +4432,15 @@ __metadata:
poseidon-lite: ^0.2.0
rollup-plugin-cleanup: ^3.2.1
rollup-plugin-typescript2: ^0.31.2
- typedoc: ^0.22.11
languageName: unknown
linkType: soft
-"@semaphore-protocol/hardhat@3.11.0, @semaphore-protocol/hardhat@workspace:packages/hardhat":
+"@semaphore-protocol/hardhat@3.11.1, @semaphore-protocol/hardhat@workspace:packages/hardhat":
version: 0.0.0-use.local
resolution: "@semaphore-protocol/hardhat@workspace:packages/hardhat"
dependencies:
"@nomiclabs/hardhat-ethers": ^2.1.1
- "@semaphore-protocol/contracts": 3.11.0
+ "@semaphore-protocol/contracts": 3.11.1
circomlibjs: ^0.0.8
ethers: ^5.7.1
hardhat: ^2.0.0
@@ -4459,16 +4456,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "@semaphore-protocol/heyauthn@workspace:packages/heyauthn"
dependencies:
- "@semaphore-protocol/identity": 3.11.0
+ "@semaphore-protocol/identity": 3.11.1
"@simplewebauthn/browser": 7.2.0
"@simplewebauthn/server": 7.2.0
rollup-plugin-cleanup: ^3.2.1
rollup-plugin-typescript2: ^0.31.2
- typedoc: ^0.22.11
languageName: unknown
linkType: soft
-"@semaphore-protocol/identity@3.11.0, @semaphore-protocol/identity@workspace:packages/identity":
+"@semaphore-protocol/identity@3.11.1, @semaphore-protocol/identity@workspace:packages/identity":
version: 0.0.0-use.local
resolution: "@semaphore-protocol/identity@workspace:packages/identity"
dependencies:
@@ -4482,11 +4478,10 @@ __metadata:
poseidon-lite: ^0.2.0
rollup-plugin-cleanup: ^3.2.1
rollup-plugin-typescript2: ^0.31.2
- typedoc: ^0.22.11
languageName: unknown
linkType: soft
-"@semaphore-protocol/proof@3.11.0, @semaphore-protocol/proof@workspace:packages/proof":
+"@semaphore-protocol/proof@3.11.1, @semaphore-protocol/proof@workspace:packages/proof":
version: 0.0.0-use.local
resolution: "@semaphore-protocol/proof@workspace:packages/proof"
dependencies:
@@ -4503,10 +4498,9 @@ __metadata:
rollup-plugin-cleanup: ^3.2.1
rollup-plugin-typescript2: ^0.31.2
snarkjs: 0.4.16
- typedoc: ^0.22.11
peerDependencies:
- "@semaphore-protocol/group": 3.11.0
- "@semaphore-protocol/identity": 3.11.0
+ "@semaphore-protocol/group": 3.11.1
+ "@semaphore-protocol/identity": 3.11.1
languageName: unknown
linkType: soft
@@ -5941,6 +5935,13 @@ __metadata:
languageName: node
linkType: hard
+"ansi-sequence-parser@npm:^1.1.0":
+ version: 1.1.1
+ resolution: "ansi-sequence-parser@npm:1.1.1"
+ checksum: ead5b15c596e8e85ca02951a844366c6776769dcc9fd1bd3a0db11bb21364554822c6a439877fb599e7e1ffa0b5f039f1e5501423950457f3dcb2f480c30b188
+ languageName: node
+ linkType: hard
+
"ansi-styles@npm:^3.2.0, ansi-styles@npm:^3.2.1":
version: 3.2.1
resolution: "ansi-styles@npm:3.2.1"
@@ -13398,7 +13399,7 @@ __metadata:
languageName: node
linkType: hard
-"jsonc-parser@npm:^3.0.0, jsonc-parser@npm:^3.2.0":
+"jsonc-parser@npm:^3.2.0":
version: 3.2.0
resolution: "jsonc-parser@npm:3.2.0"
checksum: 946dd9a5f326b745aa326d48a7257e3f4a4b62c5e98ec8e49fa2bdd8d96cef7e6febf1399f5c7016114fd1f68a1c62c6138826d5d90bc650448e3cf0951c53c7
@@ -14065,7 +14066,7 @@ __metadata:
languageName: node
linkType: hard
-"marked@npm:^4.0.16":
+"marked@npm:^4.3.0":
version: 4.3.0
resolution: "marked@npm:4.3.0"
bin:
@@ -14303,7 +14304,7 @@ __metadata:
languageName: node
linkType: hard
-"minimatch@npm:^5.0.1, minimatch@npm:^5.1.0":
+"minimatch@npm:^5.0.1":
version: 5.1.6
resolution: "minimatch@npm:5.1.6"
dependencies:
@@ -14330,6 +14331,15 @@ __metadata:
languageName: node
linkType: hard
+"minimatch@npm:^9.0.3":
+ version: 9.0.3
+ resolution: "minimatch@npm:9.0.3"
+ dependencies:
+ brace-expansion: ^2.0.1
+ checksum: 253487976bf485b612f16bf57463520a14f512662e592e95c571afdab1442a6a6864b6c88f248ce6fc4ff0b6de04ac7aa6c8bb51e868e99d1d65eb0658a708b5
+ languageName: node
+ linkType: hard
+
"minimist-options@npm:4.1.0":
version: 4.1.0
resolution: "minimist-options@npm:4.1.0"
@@ -14672,11 +14682,11 @@ __metadata:
"@nomicfoundation/hardhat-chai-matchers": ^1.0.5
"@nomiclabs/hardhat-ethers": ^2.0.0
"@nomiclabs/hardhat-etherscan": ^3.1.7
- "@semaphore-protocol/contracts": 3.11.0
- "@semaphore-protocol/group": 3.11.0
- "@semaphore-protocol/hardhat": 3.11.0
- "@semaphore-protocol/identity": 3.11.0
- "@semaphore-protocol/proof": 3.11.0
+ "@semaphore-protocol/contracts": 3.11.1
+ "@semaphore-protocol/group": 3.11.1
+ "@semaphore-protocol/hardhat": 3.11.1
+ "@semaphore-protocol/identity": 3.11.1
+ "@semaphore-protocol/proof": 3.11.1
"@typechain/ethers-v5": ^10.0.0
"@typechain/hardhat": ^6.0.0
"@types/chai": ^4.3.1
@@ -14701,10 +14711,10 @@ __metadata:
resolution: "monorepo-ethers-web-app@workspace:packages/cli-template-monorepo-ethers/apps/web-app"
dependencies:
"@next/font": 13.0.3
- "@semaphore-protocol/data": 3.11.0
- "@semaphore-protocol/group": 3.11.0
- "@semaphore-protocol/identity": 3.11.0
- "@semaphore-protocol/proof": 3.11.0
+ "@semaphore-protocol/data": 3.11.1
+ "@semaphore-protocol/group": 3.11.1
+ "@semaphore-protocol/identity": 3.11.1
+ "@semaphore-protocol/proof": 3.11.1
"@types/react": 18.0.25
"@types/react-dom": 18.0.8
dotenv: ^16.0.3
@@ -14724,11 +14734,11 @@ __metadata:
"@nomicfoundation/hardhat-chai-matchers": ^1.0.5
"@nomiclabs/hardhat-ethers": ^2.0.0
"@nomiclabs/hardhat-etherscan": ^3.1.7
- "@semaphore-protocol/contracts": 3.11.0
- "@semaphore-protocol/group": 3.11.0
- "@semaphore-protocol/hardhat": 3.11.0
- "@semaphore-protocol/identity": 3.11.0
- "@semaphore-protocol/proof": 3.11.0
+ "@semaphore-protocol/contracts": 3.11.1
+ "@semaphore-protocol/group": 3.11.1
+ "@semaphore-protocol/hardhat": 3.11.1
+ "@semaphore-protocol/identity": 3.11.1
+ "@semaphore-protocol/proof": 3.11.1
"@typechain/ethers-v5": ^10.0.0
"@typechain/hardhat": ^6.0.0
"@types/chai": ^4.3.1
@@ -14753,10 +14763,10 @@ __metadata:
resolution: "monorepo-subgraph-web-app@workspace:packages/cli-template-monorepo-subgraph/apps/web-app"
dependencies:
"@next/font": 13.0.3
- "@semaphore-protocol/data": 3.11.0
- "@semaphore-protocol/group": 3.11.0
- "@semaphore-protocol/identity": 3.11.0
- "@semaphore-protocol/proof": 3.11.0
+ "@semaphore-protocol/data": 3.11.1
+ "@semaphore-protocol/group": 3.11.1
+ "@semaphore-protocol/identity": 3.11.1
+ "@semaphore-protocol/proof": 3.11.1
"@types/react": 18.0.25
"@types/react-dom": 18.0.8
dotenv: ^16.0.3
@@ -17428,6 +17438,7 @@ __metadata:
rollup: ^2.64.0
ts-node: ^10.4.0
tslib: ^2.3.1
+ typedoc: ^0.25.1
typescript: ^4.7.0
languageName: unknown
linkType: soft
@@ -17624,14 +17635,15 @@ __metadata:
languageName: node
linkType: hard
-"shiki@npm:^0.10.1":
- version: 0.10.1
- resolution: "shiki@npm:0.10.1"
+"shiki@npm:^0.14.1":
+ version: 0.14.4
+ resolution: "shiki@npm:0.14.4"
dependencies:
- jsonc-parser: ^3.0.0
- vscode-oniguruma: ^1.6.1
- vscode-textmate: 5.2.0
- checksum: fb746f3cb3de7e545e3b10a6cb658d3938f840e4ccc9a3c90ceb7e69a8f89dbb432171faac1e9f02a03f103684dad88ee5e54b5c4964fa6b579fca6e8e26424d
+ ansi-sequence-parser: ^1.1.0
+ jsonc-parser: ^3.2.0
+ vscode-oniguruma: ^1.7.0
+ vscode-textmate: ^8.0.0
+ checksum: 1173f6fa9531690a8cd4bf1d8e28c9eb9295af38a4c150cba6546e95f6e32bc96c7dd98826e39e688f1ca9d36b683a9a02ef77d51ce6495900b3a46ada64f828
languageName: node
linkType: hard
@@ -19212,20 +19224,19 @@ __metadata:
languageName: node
linkType: hard
-"typedoc@npm:^0.22.11":
- version: 0.22.18
- resolution: "typedoc@npm:0.22.18"
+"typedoc@npm:^0.25.1":
+ version: 0.25.1
+ resolution: "typedoc@npm:0.25.1"
dependencies:
- glob: ^8.0.3
lunr: ^2.3.9
- marked: ^4.0.16
- minimatch: ^5.1.0
- shiki: ^0.10.1
+ marked: ^4.3.0
+ minimatch: ^9.0.3
+ shiki: ^0.14.1
peerDependencies:
- typescript: 4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x || 4.5.x || 4.6.x || 4.7.x
+ typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x
bin:
typedoc: bin/typedoc
- checksum: b813d8129682f6ed5a4e96bacaf019e4da1d2744ca89fef850d6bb4c034616567ce67e6a7f5cfc5f00aac573f0b45d44b1427aafa262ab88dce6b460cb9e744c
+ checksum: 6c1c28cbf51b6ab1741429f58f540c5c12d6119ce30054866b879ef2a3a2120a6adbaf59919f7411d3bb51b9113fc926522c40934a3d8ef601785abdf0134eed
languageName: node
linkType: hard
@@ -19733,17 +19744,17 @@ __metadata:
languageName: node
linkType: hard
-"vscode-oniguruma@npm:^1.6.1":
+"vscode-oniguruma@npm:^1.7.0":
version: 1.7.0
resolution: "vscode-oniguruma@npm:1.7.0"
checksum: 53519d91d90593e6fb080260892e87d447e9b200c4964d766772b5053f5699066539d92100f77f1302c91e8fc5d9c772fbe40fe4c90f3d411a96d5a9b1e63f42
languageName: node
linkType: hard
-"vscode-textmate@npm:5.2.0":
- version: 5.2.0
- resolution: "vscode-textmate@npm:5.2.0"
- checksum: 5449b42d451080f6f3649b66948f4b5ee4643c4e88cfe3558a3b31c84c78060cfdd288c4958c1690eaa5cd65d09992fa6b7c3bef9d4aa72b3651054a04624d20
+"vscode-textmate@npm:^8.0.0":
+ version: 8.0.0
+ resolution: "vscode-textmate@npm:8.0.0"
+ checksum: 127780dfea89559d70b8326df6ec344cfd701312dd7f3f591a718693812b7852c30b6715e3cfc8b3200a4e2515b4c96f0843c0eacc0a3020969b5de262c2a4bb
languageName: node
linkType: hard