@semaphore-protocol/group 4.9.0 → 4.9.2

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.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @module @semaphore-protocol/group
3
- * @version 4.9.0
3
+ * @version 4.9.2
4
4
  * @file A library to create and manage Semaphore groups.
5
5
  * @copyright Ethereum Foundation 2025
6
6
  * @license MIT
@@ -12,7 +12,7 @@ var leanImt = require('@zk-kit/lean-imt');
12
12
  var poseidon2 = require('poseidon-lite/poseidon2');
13
13
 
14
14
  /**
15
- * The Semaphore group is a {@link https://zkkit.pse.dev/classes/_zk_kit_imt.LeanIMT.html | LeanIMT}
15
+ * The Semaphore group is a {@link https://zkkit.pse.dev/classes/_zk_kit_lean_imt.LeanIMT.html | LeanIMT}
16
16
  * (Lean Incremental Merkle Tree), i.e. an optimized version of the incremental binary Merkle tree
17
17
  * used by Semaphore V3. The new tree does not use zero hashes, and its depth is dynamic.
18
18
  * The members of a Semaphore group, or the leaves of a tree, are the identity commitments.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @module @semaphore-protocol/group
3
- * @version 4.9.0
3
+ * @version 4.9.2
4
4
  * @file A library to create and manage Semaphore groups.
5
5
  * @copyright Ethereum Foundation 2025
6
6
  * @license MIT
@@ -10,7 +10,7 @@ import { LeanIMT } from '@zk-kit/lean-imt';
10
10
  import { poseidon2 } from 'poseidon-lite/poseidon2';
11
11
 
12
12
  /**
13
- * The Semaphore group is a {@link https://zkkit.pse.dev/classes/_zk_kit_imt.LeanIMT.html | LeanIMT}
13
+ * The Semaphore group is a {@link https://zkkit.pse.dev/classes/_zk_kit_lean_imt.LeanIMT.html | LeanIMT}
14
14
  * (Lean Incremental Merkle Tree), i.e. an optimized version of the incremental binary Merkle tree
15
15
  * used by Semaphore V3. The new tree does not use zero hashes, and its depth is dynamic.
16
16
  * The members of a Semaphore group, or the leaves of a tree, are the identity commitments.
@@ -1,7 +1,7 @@
1
1
  import { LeanIMT, LeanIMTMerkleProof } from "@zk-kit/lean-imt";
2
2
  import type { BigNumber } from "@zk-kit/utils";
3
3
  /**
4
- * The Semaphore group is a {@link https://zkkit.pse.dev/classes/_zk_kit_imt.LeanIMT.html | LeanIMT}
4
+ * The Semaphore group is a {@link https://zkkit.pse.dev/classes/_zk_kit_lean_imt.LeanIMT.html | LeanIMT}
5
5
  * (Lean Incremental Merkle Tree), i.e. an optimized version of the incremental binary Merkle tree
6
6
  * used by Semaphore V3. The new tree does not use zero hashes, and its depth is dynamic.
7
7
  * The members of a Semaphore group, or the leaves of a tree, are the identity commitments.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semaphore-protocol/group",
3
- "version": "4.9.0",
3
+ "version": "4.9.2",
4
4
  "description": "A library to create and manage Semaphore groups.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  "rollup-plugin-cleanup": "^3.2.1"
37
37
  },
38
38
  "dependencies": {
39
- "@zk-kit/lean-imt": "2.2.2",
39
+ "@zk-kit/lean-imt": "2.2.3",
40
40
  "@zk-kit/utils": "1.3.0",
41
41
  "poseidon-lite": "0.3.0"
42
42
  }
package/src/index.ts CHANGED
@@ -3,7 +3,7 @@ import type { BigNumber } from "@zk-kit/utils"
3
3
  import { poseidon2 } from "poseidon-lite/poseidon2"
4
4
 
5
5
  /**
6
- * The Semaphore group is a {@link https://zkkit.pse.dev/classes/_zk_kit_imt.LeanIMT.html | LeanIMT}
6
+ * The Semaphore group is a {@link https://zkkit.pse.dev/classes/_zk_kit_lean_imt.LeanIMT.html | LeanIMT}
7
7
  * (Lean Incremental Merkle Tree), i.e. an optimized version of the incremental binary Merkle tree
8
8
  * used by Semaphore V3. The new tree does not use zero hashes, and its depth is dynamic.
9
9
  * The members of a Semaphore group, or the leaves of a tree, are the identity commitments.
@@ -13,7 +13,7 @@ import { poseidon2 } from "poseidon-lite/poseidon2"
13
13
  * generation and verification. Groups can also be exported or imported.
14
14
  */
15
15
  export class Group {
16
- // The {@link https://zkkit.pse.dev/classes/_zk_kit_imt.LeanIMT.html | LeanIMT} instance.
16
+ // The {@link https://zkkit.pse.dev/classes/_zk_kit_lean_imt.LeanIMT.html | LeanIMT} instance.
17
17
  public leanIMT: LeanIMT
18
18
 
19
19
  /**