x402-bazaar 3.2.0 → 3.2.2

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/bin/cli.js CHANGED
@@ -25,7 +25,7 @@ const program = new Command();
25
25
  program
26
26
  .name('x402-bazaar')
27
27
  .description(chalk.hex('#FF9900')('x402 Bazaar') + ' — Connect your AI agent to the marketplace in one command')
28
- .version('3.0.0');
28
+ .version('3.2.2');
29
29
 
30
30
  program
31
31
  .command('init')
@@ -33,7 +33,7 @@ program
33
33
  .option('--env <environment>', 'Force environment (claude-desktop, cursor, claude-code, vscode-continue, generic)')
34
34
  .option('--no-wallet', 'Skip wallet configuration (read-only mode)')
35
35
  .option('--server-url <url>', 'Custom server URL', 'https://x402-api.onrender.com')
36
- .option('--network <network>', 'Network: mainnet or testnet', 'mainnet')
36
+ .option('--network <network>', 'Network: skale, mainnet, or testnet')
37
37
  .option('--budget <amount>', 'Max USDC budget per session', '1.00')
38
38
  .action(initCommand);
39
39
 
@@ -43,7 +43,7 @@ program
43
43
  .option('--env <environment>', 'Target environment (claude-desktop, cursor, claude-code, vscode-continue, generic)')
44
44
  .option('--output <path>', 'Output file path')
45
45
  .option('--server-url <url>', 'Custom server URL', 'https://x402-api.onrender.com')
46
- .option('--network <network>', 'Network: mainnet or testnet', 'mainnet')
46
+ .option('--network <network>', 'Network: skale, mainnet, or testnet')
47
47
  .option('--budget <amount>', 'Max USDC budget per session', '1.00')
48
48
  .action(configCommand);
49
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x402-bazaar",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "description": "CLI for x402 Bazaar — AI Agent Marketplace. Browse, call, and auto-pay APIs with USDC on Base. One command to connect your agent.",
5
5
  "type": "module",
6
6
  "main": "bin/cli.js",
@@ -200,7 +200,7 @@ export async function initCommand(options) {
200
200
  let coinbaseApiKey = '';
201
201
  let coinbaseApiSecret = '';
202
202
  let maxBudget = '1.00';
203
- let network = 'mainnet';
203
+ let network = 'skale';
204
204
  let serverUrl = options.serverUrl || 'https://x402-api.onrender.com';
205
205
 
206
206
  if (options.wallet === false) {
@@ -504,7 +504,17 @@ export async function initCommand(options) {
504
504
 
505
505
  log.box('What\'s next?', summaryLines.join('\n'));
506
506
 
507
- console.log('');
507
+ // Print critical info AFTER the box so it's visible even when output is truncated
508
+ if (walletMode === 'generate' && network === 'skale') {
509
+ console.log('');
510
+ log.success(chalk.bold('✅ Gas (CREDITS) will be auto-funded on first use — no ETH needed!'));
511
+ console.log('');
512
+ log.info(chalk.bold('💰 Fund your wallet with USDC on SKALE on Base:'));
513
+ log.dim(` ${chalk.cyan('https://x402bazaar.org/fund')} — Bridge from any chain in 1 click`);
514
+ log.dim(` ${chalk.cyan('https://bridge.skale.space')} — Native SKALE bridge`);
515
+ console.log('');
516
+ }
517
+
508
518
  log.dim(' Need help? https://x402bazaar.org');
509
519
  log.dim(' Dashboard: https://x402-api.onrender.com/dashboard');
510
520
  log.dim(' Re-configure: npx x402-bazaar init');