postchain-client 1.3.0 → 1.3.1
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/built/cjs/index.js +3 -0
- package/built/cjs/index.js.map +1 -1
- package/built/esm/index.js +3107 -1975
- package/built/esm/index.js.map +1 -1
- package/built/src/merkle/binarytreefactory.js +3 -0
- package/built/src/merkle/binarytreefactory.js.map +1 -1
- package/built/umd/index.js +3181 -2041
- package/built/umd/index.js.map +1 -1
- package/package.json +1 -1
package/built/cjs/index.js
CHANGED
|
@@ -1056,6 +1056,9 @@ BinaryTreeFactory$1.prototype.innerHandleLeaf = function (leaf, paths) {
|
|
|
1056
1056
|
if (typeof leaf === 'number') {
|
|
1057
1057
|
return this.handlePrimitiveLeaf(leaf, paths);
|
|
1058
1058
|
}
|
|
1059
|
+
if (typeof leaf === 'bigint') {
|
|
1060
|
+
return this.handlePrimitiveLeaf(leaf, paths);
|
|
1061
|
+
}
|
|
1059
1062
|
if (typeof leaf === 'boolean') {
|
|
1060
1063
|
return this.handlePrimitiveLeaf(leaf ? 1 : 0, paths);
|
|
1061
1064
|
}
|