x402-bazaar 3.2.2 → 3.2.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/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.2.2');
28
+ .version('3.2.3');
29
29
 
30
30
  program
31
31
  .command('init')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x402-bazaar",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
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",
@@ -505,13 +505,21 @@ export async function initCommand(options) {
505
505
  log.box('What\'s next?', summaryLines.join('\n'));
506
506
 
507
507
  // Print critical info AFTER the box so it's visible even when output is truncated
508
- if (walletMode === 'generate' && network === 'skale') {
508
+ if (walletMode === 'generate') {
509
509
  console.log('');
510
- log.success(chalk.bold(' Gas (CREDITS) will be auto-funded on first use — no ETH needed!'));
510
+ log.info(chalk.bold('Next steps after restarting your IDE:'));
511
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`);
512
+ if (network === 'skale') {
513
+ log.info(` ${chalk.white('1.')} Ask your agent to run ${chalk.cyan('setup_wallet')} — this auto-funds 0.1 CREDITS for gas (free!)`);
514
+ log.info(` ${chalk.white('2.')} Fund your wallet with USDC on SKALE on Base:`);
515
+ log.dim(` ${chalk.cyan('https://x402bazaar.org/fund')} — Bridge from any chain in 1 click`);
516
+ log.dim(` ${chalk.cyan('https://bridge.skale.space')} — Native SKALE bridge`);
517
+ log.info(` ${chalk.white('3.')} Start using paid APIs! Try: ${chalk.dim('"Search for weather APIs on x402 Bazaar"')}`);
518
+ } else {
519
+ log.info(` ${chalk.white('1.')} Ask your agent to run ${chalk.cyan('setup_wallet')} to verify your wallet`);
520
+ log.info(` ${chalk.white('2.')} Fund your wallet with USDC + ETH on Base`);
521
+ log.info(` ${chalk.white('3.')} Start using paid APIs! Try: ${chalk.dim('"Search for weather APIs on x402 Bazaar"')}`);
522
+ }
515
523
  console.log('');
516
524
  }
517
525