nirium 0.6.0 → 0.6.1

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.
Files changed (3) hide show
  1. package/README.md +13 -8
  2. package/dist/index.js +1 -1
  3. package/package.json +22 -3
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # nirium
2
2
 
3
- Official TypeScript SDK for the **Nirium Protocol** — autonomous DeFi agent infrastructure on Stellar/Soroban.
3
+ Official TypeScript SDK for the **Nirium Protocol** — autonomous AI treasury infrastructure on Stellar/Soroban.
4
+
5
+ Nirium agents rebalance USDC ↔ CETES (tokenized Mexican T-bills via Etherfuse) 24/7 without human intervention. Built for developers who want to integrate autonomous treasury management, agentic payments (x402 + MPP), and real-time market signals into their applications.
4
6
 
5
7
  ## Install
6
8
 
@@ -26,9 +28,9 @@ console.log('Agent alive:', alive);
26
28
  const market = await agent.getMarket();
27
29
  console.log('XLM Price:', market.xlmPrice);
28
30
 
29
- // Execute a strategy
30
- const result = await agent.execute('flash-loan-arb', 'XLM-USDC', { amount: 5000 });
31
- console.log('Profit:', result.profit);
31
+ // Execute a treasury rebalance strategy
32
+ const result = await agent.execute('blend-yield', 'USDC', { amount: 5000 });
33
+ console.log('Result:', result.success, result.txHash);
32
34
 
33
35
  // Real-time signals via WebSocket
34
36
  agent.subscribe((signal) => {
@@ -103,7 +105,8 @@ const data = await response.json();
103
105
  | **Public** (no key) | `health`, `loop/status`, `execute-demo`, `signals/recent`, `skills` list |
104
106
  | **Protected** (API key) | `execute`, `market`, `loop/start\|stop\|scan`, `subscriptions`, `skills/install`, `webhooks` |
105
107
  | **WebSocket** (JWT) | `/ws/signals` — real-time signal stream |
106
- | **x402 Premium** | `/api/v1/premium/signals` ($0.02), `/api/v1/premium/market` ($0.05) |
108
+ | **x402 Premium** | `/api/v1/premium/signals` ($0.02 USDC), `/api/v1/premium/market` ($0.05 USDC) |
109
+ | **MPP** | `/api/v1/mpp/signals`, `/api/v1/mpp/market` |
107
110
 
108
111
  ## Requirements
109
112
 
@@ -112,9 +115,11 @@ const data = await response.json();
112
115
 
113
116
  ## Links
114
117
 
115
- - [Full SDK Documentation](../../SDKs.md)
116
- - [API Documentation](../../API_DOCUMENTATION_OPENAPI.yaml)
117
- - [MCP Integration Guide](../../MCP_INTEGRATION_GUIDE.md)
118
+ - [Documentation](https://nirium.xyz/docs)
119
+ - [Developer Sandbox](https://nirium.xyz/sandbox)
120
+ - [API Reference](https://nirium.xyz/docs/api)
121
+ - [MCP Server Integration](https://nirium.xyz/docs/mcp)
122
+ - [GitHub](https://github.com/nirium/nirium)
118
123
 
119
124
  ## License
120
125
 
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // ═══════════════════════════════════════════════════════════════
2
- // nirium v0.6.0 — Official TypeScript SDK (x402 + MPP)
2
+ // nirium v0.6.1 — Official TypeScript SDK (x402 + MPP)
3
3
  // ═══════════════════════════════════════════════════════════════
4
4
  import WebSocket from 'ws';
5
5
  // @ts-ignore — ESM subpath imports
package/package.json CHANGED
@@ -1,9 +1,23 @@
1
1
  {
2
2
  "name": "nirium",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Official TypeScript SDK for the Nirium autonomous agent economy on Stellar (x402 + MPP)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
+ "homepage": "https://nirium.xyz",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/nirium/nirium"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/nirium/nirium/issues",
14
+ "email": "xvaiosx7@gmail.com"
15
+ },
16
+ "author": {
17
+ "name": "Nirium Protocol",
18
+ "email": "xvaiosx7@gmail.com",
19
+ "url": "https://nirium.xyz"
20
+ },
7
21
  "files": [
8
22
  "dist",
9
23
  "README.md"
@@ -29,14 +43,19 @@
29
43
  "keywords": [
30
44
  "nirium",
31
45
  "stellar",
46
+ "soroban",
32
47
  "defi",
33
48
  "sdk",
34
- "soroban",
35
49
  "agent",
50
+ "autonomous",
51
+ "treasury",
36
52
  "x402",
37
53
  "mpp",
38
54
  "agentic-payments",
39
- "usdc"
55
+ "usdc",
56
+ "cetes",
57
+ "etherfuse",
58
+ "rwa"
40
59
  ],
41
60
  "license": "MIT"
42
61
  }