Skip to content

Commit e81a4af

Browse files
authored
Merge pull request #47 from iden3/fix/undefined-as-value
Fix/undefined as value
2 parents dc3a462 + 7844d08 commit e81a4af

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iden3/js-merkletree",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "javascript sparse merkle tree library",
55
"types": "dist/types/index.d.ts",
66
"main": "dist/node/cjs/index.js",

src/lib/merkletree/proof.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import { Bytes } from '../../types';
1010
export interface ProofJSON {
1111
existence: boolean;
1212
siblings: string[];
13-
node_aux: NodeAuxJSON | undefined; // this is a right representation of auxiliary node field according to the specification, nodeAux will be deprecated.
13+
node_aux?: NodeAuxJSON; // this is a right representation of auxiliary node field according to the specification, nodeAux will be deprecated.
1414
/**
1515
* @deprecated old version is deprecated, do not use it.
1616
*/
17-
nodeAux: NodeAuxJSON | undefined; // old version of representation of auxiliary node.
17+
nodeAux?: NodeAuxJSON; // old version of representation of auxiliary node.
1818
}
1919

2020
export interface NodeAuxJSON {

0 commit comments

Comments
 (0)