@semaphore-protocol/cli 4.0.0-alpha → 4.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +2 -2
- package/src/index.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @module @semaphore-protocol/cli
|
|
5
|
-
* @version 4.0.0-alpha
|
|
5
|
+
* @version 4.0.0-alpha.1
|
|
6
6
|
* @file A command line tool to set up your Semaphore project and get group data.
|
|
7
7
|
* @copyright Ethereum Foundation 2024
|
|
8
8
|
* @license MIT
|
|
@@ -397,7 +397,7 @@ program
|
|
|
397
397
|
return;
|
|
398
398
|
}
|
|
399
399
|
const content = `${chalk.bold("Proofs")} (${validatedProofs.length}): \n${validatedProofs
|
|
400
|
-
.map(({ message, merkleTreeRoot, merkleTreeDepth, scope, nullifier,
|
|
400
|
+
.map(({ message, merkleTreeRoot, merkleTreeDepth, scope, nullifier, points }, i) => ` ${i}. message: ${message} \n merkleTreeRoot: ${merkleTreeRoot} \n merkleTreeDepth: ${merkleTreeDepth} \n scope: ${scope} \n nullifier: ${nullifier} \n points: [${points.join(", ")}]`)
|
|
401
401
|
.join("\n")}`;
|
|
402
402
|
console.info(`\n${content}\n`);
|
|
403
403
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semaphore-protocol/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0-alpha",
|
|
4
|
+
"version": "4.0.0-alpha.1",
|
|
5
5
|
"description": "A command line tool to set up your Semaphore project and get group data.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"ts-node": "^10.9.1"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@semaphore-protocol/data": "4.0.0-alpha",
|
|
45
|
+
"@semaphore-protocol/data": "4.0.0-alpha.1",
|
|
46
46
|
"axios": "^1.3.2",
|
|
47
47
|
"boxen": "^7.0.1",
|
|
48
48
|
"chalk": "^5.1.2",
|
package/src/index.ts
CHANGED
|
@@ -341,8 +341,8 @@ program
|
|
|
341
341
|
|
|
342
342
|
const content = `${chalk.bold("Proofs")} (${validatedProofs.length}): \n${validatedProofs
|
|
343
343
|
.map(
|
|
344
|
-
({ message, merkleTreeRoot, merkleTreeDepth, scope, nullifier,
|
|
345
|
-
` ${i}. message: ${message} \n merkleTreeRoot: ${merkleTreeRoot} \n merkleTreeDepth: ${merkleTreeDepth} \n scope: ${scope} \n nullifier: ${nullifier} \n
|
|
344
|
+
({ message, merkleTreeRoot, merkleTreeDepth, scope, nullifier, points }: any, i: number) =>
|
|
345
|
+
` ${i}. message: ${message} \n merkleTreeRoot: ${merkleTreeRoot} \n merkleTreeDepth: ${merkleTreeDepth} \n scope: ${scope} \n nullifier: ${nullifier} \n points: [${points.join(
|
|
346
346
|
", "
|
|
347
347
|
)}]`
|
|
348
348
|
)
|