@riocrypto/common-server 1.0.1222 → 1.0.1224

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,7 +97,12 @@ const getPlatformFees = (mongoose, conversionRateToUSD, amountFiat, fiat, proces
97
97
  else {
98
98
  volume = Number(amountUSD);
99
99
  }
100
+ console.log("treywey");
101
+ console.log(country);
102
+ console.log(side);
103
+ console.log(volume);
100
104
  for (const range of user.platformFeeRanges[country][side]) {
105
+ console.log(range);
101
106
  if (range.min <= Number(volume) && range.max >= Number(volume)) {
102
107
  if (discount) {
103
108
  if (discount > range.fee) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1222",
3
+ "version": "1.0.1224",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",