@x402storage/mcp 1.0.0 → 1.0.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.
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ server.tool('store_file', 'Store a file permanently on IPFS via x402.storage. Re
31
31
  content: [
32
32
  {
33
33
  type: 'text',
34
- text: result.gateway,
34
+ text: result.url,
35
35
  },
36
36
  ],
37
37
  };
package/dist/upload.d.ts CHANGED
@@ -23,7 +23,7 @@ export declare class UploadError extends Error {
23
23
  */
24
24
  interface UploadResponse {
25
25
  cid: string;
26
- gateway: string;
26
+ url: string;
27
27
  }
28
28
  /**
29
29
  * Uploads a file to api.x402.storage with automatic payment handling
package/dist/upload.js CHANGED
@@ -110,6 +110,6 @@ export async function uploadFile(filePath, privateKey) {
110
110
  const result = (await response.json());
111
111
  return {
112
112
  cid: result.cid,
113
- gateway: result.gateway,
113
+ url: result.url,
114
114
  };
115
115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x402storage/mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "MCP server for x402.storage file uploads",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -11,12 +11,20 @@
11
11
  "bin": {
12
12
  "x402-mcp": "./dist/index.js"
13
13
  },
14
- "files": ["dist"],
14
+ "files": [
15
+ "dist"
16
+ ],
15
17
  "scripts": {
16
18
  "build": "tsc",
17
19
  "prepublishOnly": "npm run build"
18
20
  },
19
- "keywords": ["x402", "ipfs", "storage", "mcp", "claude"],
21
+ "keywords": [
22
+ "x402",
23
+ "ipfs",
24
+ "storage",
25
+ "mcp",
26
+ "claude"
27
+ ],
20
28
  "engines": {
21
29
  "node": ">=18.0.0"
22
30
  },