@bannynet/core-v6 0.0.29 → 0.0.30
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bannynet/core-v6",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.30",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"artifacts": "source ./.env && npx sphinx artifacts --org-id 'ea165b21-7cdc-4d7b-be59-ecdd4c26bee4' --project-name 'banny-core-v6'"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@bananapus/721-hook-v6": "0.0.43",
|
|
36
|
-
"@bananapus/core-v6": "0.0.
|
|
37
|
-
"@bananapus/router-terminal-v6": "0.0.36",
|
|
38
|
-
"@bananapus/suckers-v6": "0.0.33",
|
|
35
|
+
"@bananapus/721-hook-v6": "^0.0.43",
|
|
36
|
+
"@bananapus/core-v6": "^0.0.48",
|
|
37
|
+
"@bananapus/router-terminal-v6": "^0.0.36",
|
|
38
|
+
"@bananapus/suckers-v6": "^0.0.33",
|
|
39
39
|
"@openzeppelin/contracts": "5.6.1",
|
|
40
|
-
"@rev-net/core-v6": "0.0.39",
|
|
40
|
+
"@rev-net/core-v6": "^0.0.39",
|
|
41
41
|
"keccak": "3.0.4"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
@@ -1275,7 +1275,10 @@ contract Banny721TokenUriResolver is
|
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
1277
|
|
|
1278
|
-
/// @notice
|
|
1278
|
+
/// @notice Permissionless: anyone can store the SVG bytes for a product code, as long as they match the owner-
|
|
1279
|
+
/// precommitted hash. The hash is set by the owner via `setSvgHashesOf`; this function only finalizes the bytes.
|
|
1280
|
+
/// @dev See `setSvgHashesOf` for the trust model. The function reverts on hash mismatch, missing hash, or
|
|
1281
|
+
/// already-stored content. Publication is one-shot — wrong-hash commitments are unrecoverable by design.
|
|
1279
1282
|
/// @param upcs The universal product codes of the products having SVGs stored.
|
|
1280
1283
|
/// @param svgContents The svg contents to store, not including the parent <svg></svg> element.
|
|
1281
1284
|
function setSvgContentsOf(uint256[] memory upcs, string[] calldata svgContents) external override {
|