@semaphore-protocol/group 3.0.0-beta.7 → 3.0.0

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.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @module @semaphore-protocol/group
3
- * @version 3.0.0-beta.7
3
+ * @version 3.0.0
4
4
  * @file A library to create and manage Semaphore groups.
5
5
  * @copyright Ethereum Foundation 2022
6
6
  * @license MIT
@@ -25,7 +25,7 @@ function hash(message) {
25
25
 
26
26
  var Group = /** @class */ (function () {
27
27
  /**
28
- * Initializes the group with the tree depth and the zero value.
28
+ * Initializes the group with the group id and the tree depth.
29
29
  * @param groupId Group identifier.
30
30
  * @param treeDepth Tree depth.
31
31
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @module @semaphore-protocol/group
3
- * @version 3.0.0-beta.7
3
+ * @version 3.0.0
4
4
  * @file A library to create and manage Semaphore groups.
5
5
  * @copyright Ethereum Foundation 2022
6
6
  * @license MIT
@@ -33,7 +33,7 @@ function hash(message) {
33
33
 
34
34
  var Group = /** @class */ (function () {
35
35
  /**
36
- * Initializes the group with the tree depth and the zero value.
36
+ * Initializes the group with the group id and the tree depth.
37
37
  * @param groupId Group identifier.
38
38
  * @param treeDepth Tree depth.
39
39
  */
@@ -3,7 +3,7 @@ import { Member } from "./types";
3
3
  export default class Group {
4
4
  merkleTree: IncrementalMerkleTree;
5
5
  /**
6
- * Initializes the group with the tree depth and the zero value.
6
+ * Initializes the group with the group id and the tree depth.
7
7
  * @param groupId Group identifier.
8
8
  * @param treeDepth Tree depth.
9
9
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semaphore-protocol/group",
3
- "version": "3.0.0-beta.7",
3
+ "version": "3.0.0",
4
4
  "description": "A library to create and manage Semaphore groups.",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.node.js",
package/src/group.ts CHANGED
@@ -7,7 +7,7 @@ export default class Group {
7
7
  merkleTree: IncrementalMerkleTree
8
8
 
9
9
  /**
10
- * Initializes the group with the tree depth and the zero value.
10
+ * Initializes the group with the group id and the tree depth.
11
11
  * @param groupId Group identifier.
12
12
  * @param treeDepth Tree depth.
13
13
  */