zkjson 0.1.26 → 0.1.28

Sign up to get free protection for your applications and to get access to all the features.
@@ -82,7 +82,7 @@ contract ZKIPFS is ZKQuery{
82
82
  return toArr(value);
83
83
  }
84
84
 
85
- function validateQuery(string memory URI, uint[] memory path, uint[] memory zkp) internal pure returns(uint[] memory){
85
+ function validateQuery(string memory URI, uint[] memory path, uint[] memory zkp) internal view returns(uint[] memory){
86
86
  uint[34] memory hash;
87
87
  hash[0] = 18;
88
88
  hash[1] = 32;
package/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  const encoder = require("./encoder")
2
2
  const DB = require("./db")
3
3
  const Doc = require("./doc")
4
+ const NFT = require("/.nft")
4
5
  const Collection = require("./collection")
5
6
 
6
- module.exports = { ...encoder, DB, Collection, Doc }
7
+ module.exports = { ...encoder, DB, Collection, Doc, NFT }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zkjson",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "description": "Zero Knowledge Provable JSON",
5
5
  "main": "index.js",
6
6
  "license": "MIT",