@zeroxyz/sdk 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,95 @@
1
+ {
2
+ "name": "@zeroxyz/sdk",
3
+ "version": "0.1.0",
4
+ "description": "TypeScript SDK for Zero — search, fetch, and pay for AI capabilities (x402 + MPP).",
5
+ "keywords": [
6
+ "zero",
7
+ "zeroxyz",
8
+ "x402",
9
+ "mpp",
10
+ "ai-agents",
11
+ "crypto-payments",
12
+ "stablecoin",
13
+ "usdc"
14
+ ],
15
+ "homepage": "https://zero.xyz",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/piedotorg/zero.git",
19
+ "directory": "packages/sdk"
20
+ },
21
+ "license": "MIT",
22
+ "type": "module",
23
+ "main": "./dist/index.cjs",
24
+ "module": "./dist/index.js",
25
+ "types": "./dist/index.d.ts",
26
+ "exports": {
27
+ ".": {
28
+ "import": {
29
+ "types": "./dist/index.d.ts",
30
+ "default": "./dist/index.js"
31
+ },
32
+ "require": {
33
+ "types": "./dist/index.d.cts",
34
+ "default": "./dist/index.cjs"
35
+ }
36
+ },
37
+ "./testing": {
38
+ "import": {
39
+ "types": "./dist/testing.d.ts",
40
+ "default": "./dist/testing.js"
41
+ },
42
+ "require": {
43
+ "types": "./dist/testing.d.cts",
44
+ "default": "./dist/testing.cjs"
45
+ }
46
+ }
47
+ },
48
+ "files": [
49
+ "dist",
50
+ "testing",
51
+ "README.md",
52
+ "CHANGELOG.md",
53
+ "LICENSE"
54
+ ],
55
+ "sideEffects": false,
56
+ "engines": {
57
+ "node": ">=20.3.0"
58
+ },
59
+ "publishConfig": {
60
+ "access": "public"
61
+ },
62
+ "scripts": {
63
+ "build": "tsup",
64
+ "dev": "tsup --watch",
65
+ "prepare": "pnpm run build",
66
+ "typecheck": "tsc",
67
+ "test": "vitest run --project unit",
68
+ "test:unit": "vitest run --project unit",
69
+ "test:integration": "vitest run --project integration",
70
+ "test:online": "vitest run --project online",
71
+ "check:publint": "publint",
72
+ "check:attw": "attw --pack .",
73
+ "check:pack": "pnpm run build && pnpm run check:publint && pnpm run check:attw"
74
+ },
75
+ "dependencies": {
76
+ "@relayprotocol/relay-sdk": "^5.2.1",
77
+ "@x402/core": "~2.9.0",
78
+ "@x402/evm": "~2.9.0",
79
+ "@x402/extensions": "~2.9.0",
80
+ "@x402/fetch": "~2.9.0",
81
+ "mppx": "^0.6.9",
82
+ "tslib": "^2.8.1",
83
+ "viem": "^2.47.10",
84
+ "zod": "^4.3.5"
85
+ },
86
+ "devDependencies": {
87
+ "@arethetypeswrong/cli": "0.18.2",
88
+ "@types/node": "^25.0.7",
89
+ "@zero/test-fixtures": "workspace:*",
90
+ "publint": "^0.3.16",
91
+ "tsup": "^8.5.1",
92
+ "typescript": "^5.9.3",
93
+ "vitest": "^4.0.17"
94
+ }
95
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "../dist/testing.cjs",
3
+ "module": "../dist/testing.js",
4
+ "types": "../dist/testing.d.ts"
5
+ }