@zadq/x402 0.0.0-stage → 0.2.0
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/LICENSE +202 -0
- package/NOTICE +8 -0
- package/README.md +39 -2
- package/dist/brand.d.ts +2 -0
- package/dist/brand.js +6 -0
- package/dist/explorer.d.ts +47 -0
- package/dist/explorer.js +76 -0
- package/dist/extension.d.ts +169 -0
- package/dist/extension.js +182 -0
- package/dist/header.d.ts +30 -0
- package/dist/header.js +84 -0
- package/dist/holder/chain.d.ts +28 -0
- package/dist/holder/chain.js +167 -0
- package/dist/holder/cli.d.ts +42 -0
- package/dist/holder/cli.js +173 -0
- package/dist/holder/custody.d.ts +20 -0
- package/dist/holder/custody.js +112 -0
- package/dist/holder/errors.d.ts +22 -0
- package/dist/holder/errors.js +38 -0
- package/dist/holder/holder.d.ts +115 -0
- package/dist/holder/holder.js +381 -0
- package/dist/holder/index.d.ts +8 -0
- package/dist/holder/index.js +14 -0
- package/dist/holder/killswitch.d.ts +139 -0
- package/dist/holder/killswitch.js +257 -0
- package/dist/holder/process.d.ts +31 -0
- package/dist/holder/process.js +84 -0
- package/dist/holder/types.d.ts +108 -0
- package/dist/holder/types.js +5 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +20 -0
- package/dist/keys.d.ts +17 -0
- package/dist/keys.js +45 -0
- package/dist/receipt.d.ts +50 -0
- package/dist/receipt.js +193 -0
- package/dist/verdict.d.ts +126 -0
- package/dist/verdict.js +218 -0
- package/dist/webhook.d.ts +29 -0
- package/dist/webhook.js +96 -0
- package/package.json +85 -4
package/package.json
CHANGED
|
@@ -1,6 +1,87 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zadq/x402",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Client helpers for the free seller-verification path of x402 endpoints: the signed verdict and its local Ed25519 check, the HTTP 402 identity-policy extension and companion header, the issuer receipt, the explorer client, the webhook receiver and the seller holder driver. Zero runtime dependencies; every helper degrades to \"unknown\".",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"engines": {
|
|
9
|
+
"node": ">=20"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./verdict": {
|
|
17
|
+
"types": "./dist/verdict.d.ts",
|
|
18
|
+
"import": "./dist/verdict.js"
|
|
19
|
+
},
|
|
20
|
+
"./extension": {
|
|
21
|
+
"types": "./dist/extension.d.ts",
|
|
22
|
+
"import": "./dist/extension.js"
|
|
23
|
+
},
|
|
24
|
+
"./header": {
|
|
25
|
+
"types": "./dist/header.d.ts",
|
|
26
|
+
"import": "./dist/header.js"
|
|
27
|
+
},
|
|
28
|
+
"./receipt": {
|
|
29
|
+
"types": "./dist/receipt.d.ts",
|
|
30
|
+
"import": "./dist/receipt.js"
|
|
31
|
+
},
|
|
32
|
+
"./explorer": {
|
|
33
|
+
"types": "./dist/explorer.d.ts",
|
|
34
|
+
"import": "./dist/explorer.js"
|
|
35
|
+
},
|
|
36
|
+
"./keys": {
|
|
37
|
+
"types": "./dist/keys.d.ts",
|
|
38
|
+
"import": "./dist/keys.js"
|
|
39
|
+
},
|
|
40
|
+
"./webhook": {
|
|
41
|
+
"types": "./dist/webhook.d.ts",
|
|
42
|
+
"import": "./dist/webhook.js"
|
|
43
|
+
},
|
|
44
|
+
"./holder": {
|
|
45
|
+
"types": "./dist/holder/index.d.ts",
|
|
46
|
+
"import": "./dist/holder/index.js"
|
|
47
|
+
},
|
|
48
|
+
"./package.json": "./package.json"
|
|
49
|
+
},
|
|
50
|
+
"bin": {
|
|
51
|
+
"zadq-holder-revoke": "dist/holder/cli.js"
|
|
52
|
+
},
|
|
53
|
+
"files": [
|
|
54
|
+
"dist",
|
|
55
|
+
"README.md",
|
|
56
|
+
"LICENSE",
|
|
57
|
+
"NOTICE"
|
|
58
|
+
],
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "git+https://gitlab.com/zadq-info/x402-tools.git",
|
|
62
|
+
"directory": "packages/x402"
|
|
63
|
+
},
|
|
64
|
+
"homepage": "https://zadq.info/docs/sdk",
|
|
65
|
+
"bugs": {
|
|
66
|
+
"email": "hello@zadq.net"
|
|
67
|
+
},
|
|
68
|
+
"keywords": [
|
|
69
|
+
"zadq",
|
|
70
|
+
"x402",
|
|
71
|
+
"http-402",
|
|
72
|
+
"seller-verification",
|
|
73
|
+
"accountability",
|
|
74
|
+
"agent-payments",
|
|
75
|
+
"verifiable-accountability",
|
|
76
|
+
"verdict",
|
|
77
|
+
"ed25519",
|
|
78
|
+
"mcp-tools"
|
|
79
|
+
],
|
|
80
|
+
"publishConfig": {
|
|
81
|
+
"access": "public"
|
|
82
|
+
},
|
|
83
|
+
"scripts": {
|
|
84
|
+
"build": "tsc -p tsconfig.build.json && node ../../scripts/fix-dts.mjs dist",
|
|
85
|
+
"prepack": "npm run build"
|
|
86
|
+
}
|
|
87
|
+
}
|