@wazabiai/x402 0.1.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/package.json ADDED
@@ -0,0 +1,121 @@
1
+ {
2
+ "name": "@wazabiai/x402",
3
+ "version": "0.1.0",
4
+ "description": "Production-ready SDK for the x402 v2 Payment Protocol on BNB Smart Chain",
5
+ "author": "Wazabi",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": {
14
+ "types": "./dist/index.d.ts",
15
+ "default": "./dist/index.js"
16
+ },
17
+ "require": {
18
+ "types": "./dist/index.d.cts",
19
+ "default": "./dist/index.cjs"
20
+ }
21
+ },
22
+ "./client": {
23
+ "import": {
24
+ "types": "./dist/client/index.d.ts",
25
+ "default": "./dist/client/index.js"
26
+ },
27
+ "require": {
28
+ "types": "./dist/client/index.d.cts",
29
+ "default": "./dist/client/index.cjs"
30
+ }
31
+ },
32
+ "./server": {
33
+ "import": {
34
+ "types": "./dist/server/index.d.ts",
35
+ "default": "./dist/server/index.js"
36
+ },
37
+ "require": {
38
+ "types": "./dist/server/index.d.cts",
39
+ "default": "./dist/server/index.cjs"
40
+ }
41
+ },
42
+ "./types": {
43
+ "import": {
44
+ "types": "./dist/types/index.d.ts",
45
+ "default": "./dist/types/index.js"
46
+ },
47
+ "require": {
48
+ "types": "./dist/types/index.d.cts",
49
+ "default": "./dist/types/index.cjs"
50
+ }
51
+ },
52
+ "./chains": {
53
+ "import": {
54
+ "types": "./dist/chains/index.d.ts",
55
+ "default": "./dist/chains/index.js"
56
+ },
57
+ "require": {
58
+ "types": "./dist/chains/index.d.cts",
59
+ "default": "./dist/chains/index.cjs"
60
+ }
61
+ }
62
+ },
63
+ "files": [
64
+ "dist",
65
+ "README.md",
66
+ "LICENSE"
67
+ ],
68
+ "publishConfig": {
69
+ "access": "public"
70
+ },
71
+ "scripts": {
72
+ "build": "tsup",
73
+ "dev": "tsup --watch",
74
+ "clean": "rm -rf dist",
75
+ "prepublishOnly": "npm run build",
76
+ "typecheck": "tsc --noEmit"
77
+ },
78
+ "keywords": [
79
+ "x402",
80
+ "payment",
81
+ "protocol",
82
+ "crypto",
83
+ "bnb",
84
+ "bsc",
85
+ "blockchain",
86
+ "eip-712",
87
+ "http-402",
88
+ "web3"
89
+ ],
90
+ "repository": {
91
+ "type": "git",
92
+ "url": "https://github.com/wazabi/x402.git"
93
+ },
94
+ "bugs": {
95
+ "url": "https://github.com/wazabi/x402/issues"
96
+ },
97
+ "homepage": "https://github.com/wazabi/x402#readme",
98
+ "dependencies": {
99
+ "axios": "^1.6.7",
100
+ "zod": "^3.22.4"
101
+ },
102
+ "peerDependencies": {
103
+ "express": "^4.18.0 || ^5.0.0",
104
+ "viem": "^2.0.0"
105
+ },
106
+ "peerDependenciesMeta": {
107
+ "express": {
108
+ "optional": true
109
+ }
110
+ },
111
+ "devDependencies": {
112
+ "@types/express": "^4.17.21",
113
+ "@types/node": "^20.11.16",
114
+ "tsup": "^8.0.1",
115
+ "typescript": "^5.3.3",
116
+ "viem": "^2.7.8"
117
+ },
118
+ "engines": {
119
+ "node": ">=18.0.0"
120
+ }
121
+ }