@riocrypto/common-server 1.0.520 → 1.0.521

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.
@@ -97,6 +97,8 @@ class CCXTClient {
97
97
  let ticker = yield exchange.fetchTicker(`${crypto}/${fiat}`);
98
98
  if (!ticker.vwap)
99
99
  throw new Error("Unable to get ticker vwap");
100
+ const exchangeFee = yield exchange.fetchTradingFees();
101
+ console.log("exchangeFee", exchangeFee);
100
102
  return {
101
103
  price: ticker.vwap,
102
104
  amountCrypto: amount / ticker.vwap,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.520",
3
+ "version": "1.0.521",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",