@hardkas/artifacts 0.8.1-alpha → 0.8.2-alpha
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/dist/index.js +3 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package.json
|
|
2
2
|
var package_default = {
|
|
3
3
|
name: "@hardkas/artifacts",
|
|
4
|
-
version: "0.8.
|
|
4
|
+
version: "0.8.1-alpha",
|
|
5
5
|
type: "module",
|
|
6
6
|
license: "MIT",
|
|
7
7
|
author: "Javier Rodriguez",
|
|
@@ -817,10 +817,10 @@ async function verifyArtifactIntegrity(artifactOrPath) {
|
|
|
817
817
|
const actualHash = calculateContentHash(v, hashVersion);
|
|
818
818
|
result.actualHash = actualHash;
|
|
819
819
|
if (!v.contentHash) {
|
|
820
|
-
addError("
|
|
820
|
+
addError("MISSING_CONTENT_HASH", "Missing contentHash field");
|
|
821
821
|
} else if (actualHash !== v.contentHash) {
|
|
822
822
|
addError(
|
|
823
|
-
"
|
|
823
|
+
"HASH_MISMATCH",
|
|
824
824
|
`Hash mismatch: expected ${v.contentHash}, got ${actualHash}`
|
|
825
825
|
);
|
|
826
826
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hardkas/artifacts",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2-alpha",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Javier Rodriguez",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"types": "./dist/index.d.ts",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"zod": "^3.24.1",
|
|
27
|
-
"@hardkas/core": "0.8.
|
|
28
|
-
"@hardkas/tx-builder": "0.8.
|
|
27
|
+
"@hardkas/core": "0.8.2-alpha",
|
|
28
|
+
"@hardkas/tx-builder": "0.8.2-alpha"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"tsup": "^8.3.5",
|