zkjson 0.1.26 → 0.1.28
Sign up to get free protection for your applications and to get access to all the features.
- package/contracts/ZKIPFS.sol +1 -1
- package/index.js +2 -1
- package/package.json +1 -1
package/contracts/ZKIPFS.sol
CHANGED
@@ -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
|
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 }
|