@hashborn/verify 0.1.1 → 0.1.2
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/CHANGELOG.md +7 -0
- package/dist/cli.js +0 -0
- package/dist/constants.d.ts +2 -0
- package/dist/constants.js +2 -0
- package/package.json +8 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2 · 2026-10-16
|
|
4
|
+
|
|
5
|
+
- Two new protocol v1 domains are accepted: `pqc-rh/statement/v1` (a text, a post or a file hash
|
|
6
|
+
signed by an identity) and `pqc-rh/official/v1` (a project's official contract addresses, site and
|
|
7
|
+
X handle). Before this version `verifyAttestation` and `verifyRemote` answer `unsupported` for
|
|
8
|
+
records under them.
|
|
9
|
+
|
|
3
10
|
## 0.1.1 · 2026-10-13
|
|
4
11
|
|
|
5
12
|
First release as `@hashborn/verify`. It supersedes `@hashborne/verify` 0.1.0: the product is now
|
package/dist/cli.js
CHANGED
|
File without changes
|
package/dist/constants.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ export declare const DOMAINS: {
|
|
|
35
35
|
readonly transfer: "pqc-rh/transfer/v1";
|
|
36
36
|
readonly rwa: "pqc-rh/rwa/v1";
|
|
37
37
|
readonly vaultWithdraw: "pqc-rh/vault-withdraw/v2";
|
|
38
|
+
readonly statement: "pqc-rh/statement/v1";
|
|
39
|
+
readonly official: "pqc-rh/official/v1";
|
|
38
40
|
};
|
|
39
41
|
export type Domain = (typeof DOMAINS)[keyof typeof DOMAINS];
|
|
40
42
|
/**
|
package/dist/constants.js
CHANGED
|
@@ -34,6 +34,8 @@ export const DOMAINS = {
|
|
|
34
34
|
transfer: 'pqc-rh/transfer/v1',
|
|
35
35
|
rwa: 'pqc-rh/rwa/v1',
|
|
36
36
|
vaultWithdraw: 'pqc-rh/vault-withdraw/v2',
|
|
37
|
+
statement: 'pqc-rh/statement/v1',
|
|
38
|
+
official: 'pqc-rh/official/v1',
|
|
37
39
|
};
|
|
38
40
|
/**
|
|
39
41
|
* Scheme ids an attestation may name. Protocol v1 signs with `wots-merkle` only; the others are
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hashborn/verify",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Verify Hashborn (protocol pqc-rh) post-quantum records offline with SHA-256 alone: WOTS + Merkle signatures, record digests, verify links and RWA manifest roots. Supersedes @hashborne/verify.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hashborn",
|
|
@@ -45,13 +45,6 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"scripts": {
|
|
49
|
-
"build": "tsc -p tsconfig.build.json",
|
|
50
|
-
"typecheck": "tsc --noEmit",
|
|
51
|
-
"test": "node --test --import tsx \"test/**/*.test.ts\"",
|
|
52
|
-
"vectors": "node --import tsx test/gen-vectors.ts",
|
|
53
|
-
"prepack": "npm run build"
|
|
54
|
-
},
|
|
55
48
|
"dependencies": {
|
|
56
49
|
"@noble/hashes": "^2.4.0"
|
|
57
50
|
},
|
|
@@ -59,5 +52,11 @@
|
|
|
59
52
|
"@types/node": "^22.20.1",
|
|
60
53
|
"tsx": "^4.21.0",
|
|
61
54
|
"typescript": "~5.9.3"
|
|
55
|
+
},
|
|
56
|
+
"scripts": {
|
|
57
|
+
"build": "tsc -p tsconfig.build.json",
|
|
58
|
+
"typecheck": "tsc --noEmit",
|
|
59
|
+
"test": "node --test --import tsx \"test/**/*.test.ts\"",
|
|
60
|
+
"vectors": "node --import tsx test/gen-vectors.ts"
|
|
62
61
|
}
|
|
63
|
-
}
|
|
62
|
+
}
|