degate-cli 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/cli.js +3 -0
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -404,6 +404,9 @@ async function intentTryCreate(client, order) {
404
404
  const resp = await client.post('/order-book-api/intent/v2/compact_try_create', order, {
405
405
  headers: { Version: '0.0.1' },
406
406
  });
407
+ if (!resp.data?.result) {
408
+ console.log(chalk.yellow('[DEBUG] compact_try_create raw resp.data:'), JSON.stringify(resp.data, null, 2));
409
+ }
407
410
  return resp.data;
408
411
  }
409
412
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "degate-cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "DeGate Turbo Range CLI - deposit/withdraw LP positions across Solana & EVM chains",
5
5
  "main": "cli.js",
6
6
  "bin": {