moltspay 0.4.3 → 0.4.4

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 (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -4
package/README.md CHANGED
@@ -273,7 +273,7 @@ npx moltspay init --chain base
273
273
 
274
274
  ```typescript
275
275
  // 3. Make paid requests - payment handled automatically
276
- import { createX402Client } from 'moltspay/x402';
276
+ import { createX402Client } from 'moltspay';
277
277
 
278
278
  const client = await createX402Client({ chain: 'base' });
279
279
 
@@ -289,7 +289,7 @@ const result = await response.json();
289
289
  ### One-shot Request
290
290
 
291
291
  ```typescript
292
- import { x402Fetch } from 'moltspay/x402';
292
+ import { x402Fetch } from 'moltspay';
293
293
 
294
294
  // Single paid request
295
295
  const response = await x402Fetch('https://juai8.com/zen7/v1/video/generate', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "moltspay",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Blockchain payment infrastructure for AI Agents on Moltbook",
5
5
  "keywords": [
6
6
  "moltbook",
@@ -25,9 +25,7 @@
25
25
  },
26
26
  "./wallet": "./dist/wallet/index.js",
27
27
  "./permit": "./dist/permit/index.js",
28
- "./chains": "./dist/chains/index.js",
29
- "./x402": "./dist/x402/index.js",
30
- "./cdp": "./dist/cdp/index.js"
28
+ "./chains": "./dist/chains/index.js"
31
29
  },
32
30
  "bin": {
33
31
  "moltspay": "./dist/cli.js"