@riocrypto/common-server 1.0.1294 → 1.0.1296

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.
@@ -43,7 +43,6 @@ const getExchangeRates = (from, to, noMarkups) => __awaiter(void 0, void 0, void
43
43
  const mexicoCityTime = new Date(now.toLocaleString("en-US", { timeZone: "America/Mexico_City" }));
44
44
  const hours = mexicoCityTime.getHours();
45
45
  const minutes = mexicoCityTime.getMinutes();
46
- // Check if it's between 2:30 PM and 6:00 PM
47
46
  if ((hours === 15 && minutes >= 45) ||
48
47
  (hours > 15 && hours < 24) ||
49
48
  (hours === 0 && minutes === 0)) {
@@ -53,6 +52,7 @@ const getExchangeRates = (from, to, noMarkups) => __awaiter(void 0, void 0, void
53
52
  conversionRateWithMarkups = conversionRate * 0.996;
54
53
  }
55
54
  }
55
+ console.log("conversion rate with markups", conversionRateWithMarkups);
56
56
  let safestPrice = conversionRateWithMarkups;
57
57
  // Volatility based markups
58
58
  const { startDate, endDate } = getDateRange();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1294",
3
+ "version": "1.0.1296",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",