@qed-proof/sdk 0.1.1 → 0.1.4

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": "@qed-proof/sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.4",
4
4
  "description": "TypeScript SDK for QED Proof: submit claims, poll verdicts, and verify PoAW receipts offline. Runs on Node, Deno and browsers.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -30,24 +30,25 @@
30
30
  "node": ">=18"
31
31
  },
32
32
  "scripts": {
33
- "build": "npm run copy:schema && tsup",
33
+ "build": "npm run copy:schema && npm run build:validator && tsup",
34
34
  "copy:schema": "node scripts/copy-schema.mjs",
35
35
  "gen:types": "node scripts/gen-types.mjs",
36
36
  "test": "vitest run",
37
- "lint": "true"
37
+ "lint": "true",
38
+ "build:validator": "node scripts/build-validator.mjs",
39
+ "check:validator": "node scripts/build-validator.mjs --check"
38
40
  },
39
41
  "dependencies": {
40
42
  "@noble/curves": "^1.6.0",
41
43
  "@noble/hashes": "^1.5.0",
42
- "canonicalize": "^2.0.0",
43
- "ajv": "^8.17.1",
44
- "ajv-formats": "^3.0.1"
44
+ "canonicalize": "^2.0.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "json-schema-to-typescript": "^15.0.2",
48
48
  "tsup": "^8.3.0",
49
49
  "typescript": "^5.6.3",
50
- "vitest": "^4.1.11"
50
+ "vitest": "^4.1.11",
51
+ "ajv": "^8.17.1"
51
52
  },
52
53
  "publishConfig": {
53
54
  "access": "public"