crypto-swap 1.0.8 → 1.0.10

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/package.json +1 -1
  2. package/swap.js +14 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crypto-swap",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "LightningEX Cryptocurrency Swap CLI",
5
5
  "main": "swap.js",
6
6
  "bin": {
package/swap.js CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env node
2
+
1
3
  /**
2
4
  * Crypto Exchange CLI - LightningEX API Client (Node.js)
3
5
  * Usage: node exchange.js [command] [options]
@@ -933,17 +935,17 @@ Options:
933
935
  --sendNetwork Send network (for pair-list)
934
936
 
935
937
  Examples:
936
- node swap.js
937
- node swap.js wizard
938
- node swap.js currencies
939
- node swap.js pair-list --send USDT --receive USDT
940
- node swap.js pair-list --send USDT --receive USDT --send-network TRX
941
- node swap.js pair --send USDT --receive USDT --send-network TRX --receive-network BSC
942
- node swap.js rate --send USDT --receive USDT --send-network TRX --receive-network BSC --amount 100
943
- node swap.js validate --currency USDT --network BSC --address 0x...
944
- node swap.js status --id I1Y0...
945
- node swap.js monitor --id I1Y0...
946
- node swap.js ui --port 8080
938
+ crypto-swap
939
+ crypto-swap wizard
940
+ crypto-swap currencies
941
+ crypto-swap pair-list --send USDT --receive USDT
942
+ crypto-swap pair-list --send USDT --receive USDT --send-network TRX
943
+ crypto-swap pair --send USDT --receive USDT --send-network TRX --receive-network BSC
944
+ crypto-swap rate --send USDT --receive USDT --send-network TRX --receive-network BSC --amount 100
945
+ crypto-swap validate --currency USDT --network BSC --address 0x...
946
+ crypto-swap status --id I1Y0...
947
+ crypto-swap monitor --id I1Y0...
948
+ crypto-swap ui --port 8080
947
949
  `);
948
950
  }
949
951
 
@@ -998,7 +1000,7 @@ async function main() {
998
1000
  break;
999
1001
  case 'order':
1000
1002
  console.log('❌ The "order" command is disabled. Please use the interactive wizard to place orders:');
1001
- console.log(' ./crypto-swap wizard');
1003
+ console.log(' crypto-swap wizard');
1002
1004
  return;
1003
1005
  case 'status':
1004
1006
  if (!args.options.id) {