@riocrypto/common-server 1.0.698 → 1.0.699

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.
@@ -92,9 +92,13 @@ const getPlatformAndPartnerFees = (mongoose, amountFiat, fiat, processor, countr
92
92
  else {
93
93
  volume = Number(amountUSD);
94
94
  }
95
+ console.log("volume", volume);
95
96
  for (const range of user.platformFeeRanges) {
97
+ console.log(range);
96
98
  if (range.min <= Number(volume) && range.max >= Number(volume)) {
99
+ console.log("amountFiat", amountFiat);
97
100
  platformFeeFiat = amountFiat * range.fee;
101
+ console.log("platformFeeFiat", platformFeeFiat);
98
102
  break;
99
103
  }
100
104
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.698",
3
+ "version": "1.0.699",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",