-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 1.57 KB
/
Copy pathpackage.json
File metadata and controls
51 lines (51 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "x402-proxy-template",
"description": "Transparent proxy with payment-gated routes using x402 protocol and stateless JWT authentication",
"cloudflare": {
"label": "x402 Payment-Gated Proxy",
"products": [
"Workers"
],
"categories": [
"starter"
],
"publish": true,
"preview_image_url": "https://imagedelivery.net/wSMYJvS3Xw-n339CbDyDIA/26abc75c-56c4-4c74-ba7e-e16c10f96a00/preview",
"preview_icon_url": "https://imagedelivery.net/wSMYJvS3Xw-n339CbDyDIA/9b1345c4-7bfe-4be2-89fd-80cd59985e00/public",
"healthCheckPath": "/__x402/health",
"bindings": {
"JWT_SECRET": {
"description": "Secret key for signing JWT authentication tokens. Generate with `node -e \"console.log(require('crypto').randomBytes(32).toString('hex'))\"`"
}
}
},
"dependencies": {
"@coinbase/x402": "2.0.0",
"hono": "4.11.1",
"x402-hono": "1.0.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "8.50.0",
"@typescript-eslint/parser": "8.50.0",
"eslint": "9.39.2",
"eslint-config-prettier": "10.1.8",
"prettier": "3.7.4",
"tsx": "4.21.0",
"viem": "2.43.1",
"wrangler": "4.88.0",
"x402": "1.0.1"
},
"private": true,
"scripts": {
"cf-typegen": "wrangler types --env-interface CloudflareBindings",
"deploy": "wrangler deploy --minify",
"dev": "wrangler dev",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "npm run typecheck && npm run format:check && eslint .",
"lint:fix": "prettier --write . && eslint . --fix",
"test:client": "tsx test-client.ts",
"typecheck": "tsc --noEmit"
},
"type": "module"
}