@pioneer-platform/chainflip-client 0.0.7 → 0.0.8
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/lib/index.js +3 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -138,12 +138,13 @@ const get_quote = function (quote) {
|
|
|
138
138
|
"destChain": longNameBuy,
|
|
139
139
|
"srcAsset": chainSell,
|
|
140
140
|
"destAsset": chainBuy,
|
|
141
|
-
"amount":
|
|
141
|
+
"amount": amountToQuote.toString(),
|
|
142
142
|
"quote": responseQuote.data,
|
|
143
143
|
"destAddress": quote.recipientAddress,
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
|
+
log.info("data good: ", data);
|
|
147
148
|
const headers = {
|
|
148
149
|
'Accept': '*/*',
|
|
149
150
|
'Accept-Encoding': 'gzip, deflate, br, zstd',
|
|
@@ -183,6 +184,7 @@ const get_quote = function (quote) {
|
|
|
183
184
|
}
|
|
184
185
|
catch (e) {
|
|
185
186
|
console.error(tag, "e: ", e);
|
|
187
|
+
console.error(tag, "e: ", JSON.stringify(e));
|
|
186
188
|
throw e;
|
|
187
189
|
}
|
|
188
190
|
});
|