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.
- package/cli.js +3 -0
- 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
|
|