Skip to content

Commit

Permalink
Merge pull request #47 from iden3/fix/undefined-as-value
Browse files Browse the repository at this point in the history
Fix/undefined as value
  • Loading branch information
vmidyllic authored Aug 28, 2024
2 parents dc3a462 + 7844d08 commit e81a4af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@iden3/js-merkletree",
"version": "1.3.0",
"version": "1.3.1",
"description": "javascript sparse merkle tree library",
"types": "dist/types/index.d.ts",
"main": "dist/node/cjs/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/merkletree/proof.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import { Bytes } from '../../types';
export interface ProofJSON {
existence: boolean;
siblings: string[];
node_aux: NodeAuxJSON | undefined; // this is a right representation of auxiliary node field according to the specification, nodeAux will be deprecated.
node_aux?: NodeAuxJSON; // this is a right representation of auxiliary node field according to the specification, nodeAux will be deprecated.
/**
* @deprecated old version is deprecated, do not use it.
*/
nodeAux: NodeAuxJSON | undefined; // old version of representation of auxiliary node.
nodeAux?: NodeAuxJSON; // old version of representation of auxiliary node.
}

export interface NodeAuxJSON {
Expand Down

0 comments on commit e81a4af

Please sign in to comment.