@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 +2 -2
- package/dist/index.node.js +2 -2
- package/dist/types/group.d.ts +1 -1
- package/package.json +1 -1
- package/src/group.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/group
|
|
3
|
-
* @version 3.0.0
|
|
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
|
|
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
|
*/
|
package/dist/index.node.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/group
|
|
3
|
-
* @version 3.0.0
|
|
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
|
|
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
|
*/
|
package/dist/types/group.d.ts
CHANGED
|
@@ -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
|
|
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
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
|
|
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
|
*/
|