moltspay 0.4.2 → 0.4.3

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/README.md CHANGED
@@ -277,7 +277,7 @@ import { createX402Client } from 'moltspay/x402';
277
277
 
278
278
  const client = await createX402Client({ chain: 'base' });
279
279
 
280
- const response = await client.fetch('https://juai8.com/x402pay', {
280
+ const response = await client.fetch('https://juai8.com/zen7/v1/video/generate', {
281
281
  method: 'POST',
282
282
  headers: { 'Content-Type': 'application/json' },
283
283
  body: JSON.stringify({ prompt: 'a cat dancing' })
@@ -292,7 +292,7 @@ const result = await response.json();
292
292
  import { x402Fetch } from 'moltspay/x402';
293
293
 
294
294
  // Single paid request
295
- const response = await x402Fetch('https://juai8.com/x402pay', {
295
+ const response = await x402Fetch('https://juai8.com/zen7/v1/video/generate', {
296
296
  method: 'POST',
297
297
  body: JSON.stringify({ prompt: 'a cat dancing' })
298
298
  }, { chain: 'base' });
package/dist/index.d.mts CHANGED
@@ -633,7 +633,7 @@ declare function parseStatusMarker(message: string): {
633
633
  * const client = await createX402Client({ chain: 'base', useCDP: true });
634
634
  *
635
635
  * // Make request - payment handled automatically
636
- * const response = await client.fetch('https://juai8.com/x402pay');
636
+ * const response = await client.fetch('https://juai8.com/zen7/v1/video/generate');
637
637
  * ```
638
638
  */
639
639
 
@@ -671,7 +671,7 @@ declare function isX402Available(): boolean;
671
671
  * const client = await createX402Client({ chain: 'base' });
672
672
  *
673
673
  * // Request paid API - payment handled automatically
674
- * const response = await client.fetch('https://juai8.com/x402pay', {
674
+ * const response = await client.fetch('https://juai8.com/zen7/v1/video/generate', {
675
675
  * method: 'POST',
676
676
  * headers: { 'Content-Type': 'application/json' },
677
677
  * body: JSON.stringify({ prompt: 'a cat dancing' })
@@ -690,7 +690,7 @@ declare function createX402Client(config?: X402ClientConfig): Promise<X402Client
690
690
  * ```typescript
691
691
  * import { x402Fetch } from 'moltspay/x402';
692
692
  *
693
- * const response = await x402Fetch('https://juai8.com/x402pay', {
693
+ * const response = await x402Fetch('https://juai8.com/zen7/v1/video/generate', {
694
694
  * method: 'POST',
695
695
  * body: JSON.stringify({ prompt: 'a cat dancing' })
696
696
  * }, { chain: 'base' });
package/dist/index.d.ts CHANGED
@@ -633,7 +633,7 @@ declare function parseStatusMarker(message: string): {
633
633
  * const client = await createX402Client({ chain: 'base', useCDP: true });
634
634
  *
635
635
  * // Make request - payment handled automatically
636
- * const response = await client.fetch('https://juai8.com/x402pay');
636
+ * const response = await client.fetch('https://juai8.com/zen7/v1/video/generate');
637
637
  * ```
638
638
  */
639
639
 
@@ -671,7 +671,7 @@ declare function isX402Available(): boolean;
671
671
  * const client = await createX402Client({ chain: 'base' });
672
672
  *
673
673
  * // Request paid API - payment handled automatically
674
- * const response = await client.fetch('https://juai8.com/x402pay', {
674
+ * const response = await client.fetch('https://juai8.com/zen7/v1/video/generate', {
675
675
  * method: 'POST',
676
676
  * headers: { 'Content-Type': 'application/json' },
677
677
  * body: JSON.stringify({ prompt: 'a cat dancing' })
@@ -690,7 +690,7 @@ declare function createX402Client(config?: X402ClientConfig): Promise<X402Client
690
690
  * ```typescript
691
691
  * import { x402Fetch } from 'moltspay/x402';
692
692
  *
693
- * const response = await x402Fetch('https://juai8.com/x402pay', {
693
+ * const response = await x402Fetch('https://juai8.com/zen7/v1/video/generate', {
694
694
  * method: 'POST',
695
695
  * body: JSON.stringify({ prompt: 'a cat dancing' })
696
696
  * }, { chain: 'base' });