@haven_ai/sdk 0.1.5 → 0.1.7

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.
@@ -9,7 +9,7 @@ Environment:
9
9
  HAVEN_API_KEY sk_agent_* from Haven
10
10
  HAVEN_DELEGATE_KEY local agent delegate private key; never sent to Haven
11
11
  HAVEN_API_URL default: https://havenbackend-production-8a00.up.railway.app
12
- HAVEN_X402_URL default: $HAVEN_API_URL/demo/x402/data
12
+ HAVEN_X402_URL required: URL of any x402-gated (HTTP 402) resource to pay for
13
13
 
14
14
  This intentionally uses only documented HTTP endpoints:
15
15
  GET /openapi.json
@@ -27,7 +27,7 @@ from eth_keys import keys
27
27
 
28
28
 
29
29
  API = os.environ.get("HAVEN_API_URL", "https://havenbackend-production-8a00.up.railway.app").rstrip("/")
30
- PAID_URL = os.environ.get("HAVEN_X402_URL", f"{API}/demo/x402/data")
30
+ PAID_URL = os.environ["HAVEN_X402_URL"] # any x402-gated resource to pay for
31
31
  API_KEY = os.environ["HAVEN_API_KEY"]
32
32
  DELEGATE_KEY = os.environ["HAVEN_DELEGATE_KEY"]
33
33
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haven_ai/sdk",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "TypeScript SDK for Haven — agent wallet infrastructure",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",