zkjson 0.1.28 → 0.1.29
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/index.js +1 -2
- package/nft.js +1 -3
- package/package.json +1 -1
package/index.js
CHANGED
package/nft.js
CHANGED
@@ -71,7 +71,7 @@ function toCID(source) {
|
|
71
71
|
return str
|
72
72
|
}
|
73
73
|
|
74
|
-
class NFT {
|
74
|
+
module.exports = class NFT {
|
75
75
|
constructor({
|
76
76
|
size_val = 5,
|
77
77
|
size_path = 5,
|
@@ -127,5 +127,3 @@ class NFT {
|
|
127
127
|
return toCID(new Uint8Array([18, hash.length, ...Array.from(hash)]))
|
128
128
|
}
|
129
129
|
}
|
130
|
-
|
131
|
-
module.exports = NFT
|