@forgeintel/sdk 0.2.0-beta.0 → 0.3.0-beta.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@forgeintel/sdk",
3
- "version": "0.2.0-beta.0",
4
- "description": "The Forge SDK for x402 paid APIs: agent feedback (feedback IDs, one-request GET ratings), OpenAPI and challenge enrichment, and passive call signals. Express adapter plus a framework-free core. Never on your critical path.",
3
+ "version": "0.3.0-beta.0",
4
+ "description": "The Forge SDK for x402 paid APIs: agent feedback (feedback IDs, one-request GET ratings), agent context, OpenAPI and challenge enrichment, and passive call signals. Express, Hono, Next.js and any fetch handler. Never on your critical path.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "engines": {
@@ -23,6 +23,21 @@
23
23
  "import": "./dist/core.js",
24
24
  "default": "./dist/core.js"
25
25
  },
26
+ "./fetch": {
27
+ "types": "./dist/fetch.d.ts",
28
+ "import": "./dist/fetch.js",
29
+ "default": "./dist/fetch.js"
30
+ },
31
+ "./hono": {
32
+ "types": "./dist/hono.d.ts",
33
+ "import": "./dist/hono.js",
34
+ "default": "./dist/hono.js"
35
+ },
36
+ "./next": {
37
+ "types": "./dist/next.d.ts",
38
+ "import": "./dist/next.js",
39
+ "default": "./dist/next.js"
40
+ },
26
41
  "./package.json": "./package.json"
27
42
  },
28
43
  "types": "./dist/index.d.ts",
@@ -40,7 +55,11 @@
40
55
  "openapi",
41
56
  "express",
42
57
  "payments",
43
- "forge"
58
+ "forge",
59
+ "hono",
60
+ "nextjs",
61
+ "cloudflare-workers",
62
+ "bun"
44
63
  ],
45
64
  "repository": {
46
65
  "type": "git",
@@ -57,25 +76,24 @@
57
76
  "tag": "beta"
58
77
  },
59
78
  "peerDependencies": {
60
- "express": ">=4.21 <6"
79
+ "express": ">=4.21 <6",
80
+ "hono": ">=4"
61
81
  },
62
82
  "peerDependenciesMeta": {
63
83
  "express": {
64
84
  "optional": true
85
+ },
86
+ "hono": {
87
+ "optional": true
65
88
  }
66
89
  },
67
90
  "devDependencies": {
68
91
  "@apidevtools/swagger-parser": "^12.1.0",
69
92
  "@types/express": "^5.0.3",
70
93
  "@types/node": "^22.18.0",
71
- "@x402/core": "~2.25.0",
72
- "@x402/evm": "~2.25.0",
73
- "@x402/express": "~2.25.0",
74
94
  "ajv": "^8.20.0",
75
95
  "ajv-formats": "^3.0.1",
76
- "express": "^5.2.1",
77
- "typescript": "^5.9.2",
78
- "viem": "^2.56.3",
79
- "x402-express": "^1.2.0"
96
+ "hono": "^4.13.7",
97
+ "typescript": "^5.9.2"
80
98
  }
81
99
  }