@interest-protocol/vortex-sdk 6.0.0 → 6.1.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
@@ -39634,7 +39634,7 @@ const vortexSDK = new Vortex({
39634
39634
  });
39635
39635
 
39636
39636
  // packages/vortex/src/entities/merkle-tree.ts
39637
- const buildMerkleTree = () => new MerkleTree(MERKLE_TREE_HEIGHT, [], {
39637
+ const buildMerkleTree = (elements = []) => new MerkleTree(MERKLE_TREE_HEIGHT, elements, {
39638
39638
  hashFunction: (left, right) => poseidon2(BigInt(left), BigInt(right)).toString(),
39639
39639
  zeroElement: ZERO_VALUE.toString(),
39640
39640
  });