@wtflabs/x402-server 0.0.1-beta.10

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 ADDED
@@ -0,0 +1,81 @@
1
+ {
2
+ "name": "@wtflabs/x402-server",
3
+ "version": "0.0.1-beta.10",
4
+ "main": "./dist/cjs/index.js",
5
+ "module": "./dist/esm/index.js",
6
+ "types": "./dist/cjs/index.d.ts",
7
+ "keywords": [
8
+ "x402",
9
+ "payment",
10
+ "server",
11
+ "permit",
12
+ "eip3009",
13
+ "permit2"
14
+ ],
15
+ "license": "Apache-2.0",
16
+ "author": "WTFLabs",
17
+ "repository": "https://github.com/coinbase/x402",
18
+ "description": "Server SDK for x402 Payment Protocol - handle payment verification and settlement",
19
+ "devDependencies": {
20
+ "@types/node": "^22.13.4",
21
+ "@eslint/js": "^9.24.0",
22
+ "eslint": "^9.24.0",
23
+ "eslint-plugin-jsdoc": "^50.6.9",
24
+ "eslint-plugin-prettier": "^5.2.6",
25
+ "@typescript-eslint/eslint-plugin": "^8.29.1",
26
+ "@typescript-eslint/parser": "^8.29.1",
27
+ "eslint-plugin-import": "^2.31.0",
28
+ "prettier": "3.5.2",
29
+ "tsup": "^8.4.0",
30
+ "tsx": "^4.19.2",
31
+ "typescript": "^5.7.3",
32
+ "vite-tsconfig-paths": "^5.1.4",
33
+ "vitest": "^3.0.5",
34
+ "vite": "^6.2.6"
35
+ },
36
+ "dependencies": {
37
+ "viem": "^2.21.26",
38
+ "zod": "^3.24.2",
39
+ "@wtflabs/x402-detector": "^0.0.1-beta.3",
40
+ "@wtflabs/x402-facilitator": "^0.0.1-beta.10",
41
+ "@wtflabs/x402": "^0.0.1-beta.15"
42
+ },
43
+ "peerDependencies": {
44
+ "express": "^4.0.0 || ^5.0.0",
45
+ "hono": "^4.0.0 || ^5.0.0"
46
+ },
47
+ "peerDependenciesMeta": {
48
+ "express": {
49
+ "optional": true
50
+ },
51
+ "hono": {
52
+ "optional": true
53
+ }
54
+ },
55
+ "exports": {
56
+ ".": {
57
+ "import": {
58
+ "types": "./dist/esm/index.d.mts",
59
+ "default": "./dist/esm/index.mjs"
60
+ },
61
+ "require": {
62
+ "types": "./dist/cjs/index.d.ts",
63
+ "default": "./dist/cjs/index.js"
64
+ }
65
+ }
66
+ },
67
+ "files": [
68
+ "dist"
69
+ ],
70
+ "scripts": {
71
+ "start": "tsx --env-file=.env index.ts",
72
+ "test": "vitest run",
73
+ "test:watch": "vitest",
74
+ "build": "tsup",
75
+ "watch": "tsc --watch",
76
+ "format": "prettier -c .prettierrc --write \"**/*.{ts,js,cjs,json,md}\"",
77
+ "format:check": "prettier -c .prettierrc --check \"**/*.{ts,js,cjs,json,md}\"",
78
+ "lint": "eslint . --ext .ts --fix",
79
+ "lint:check": "eslint . --ext .ts"
80
+ }
81
+ }