@riocrypto/common 1.0.443 → 1.0.444

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.
@@ -91,7 +91,9 @@ class CCXTClient {
91
91
  }
92
92
  getBuyQuote(amount, crypto, fiat) {
93
93
  return __awaiter(this, void 0, void 0, function* () {
94
+ console.log("getBuyQuote", amount, crypto, fiat);
94
95
  if (this.env === "production") {
96
+ console.log("its prod");
95
97
  const exchange = yield this.getOptimalExchange(crypto);
96
98
  if (!exchange)
97
99
  throw new Error("Unable to get optimal exchange");
@@ -108,6 +110,7 @@ class CCXTClient {
108
110
  };
109
111
  }
110
112
  else {
113
+ console.log("its dev");
111
114
  return {
112
115
  price: 0.5,
113
116
  amountCrypto: amount,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.443",
3
+ "version": "1.0.444",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",