tg-core-components 6.3.4-3.20 → 6.3.4-3.22

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.
@@ -113,7 +113,7 @@ var ResponsibleGaming = function ResponsibleGaming(_ref) {
113
113
  Product: product,
114
114
  Timespan: timespan,
115
115
  Amount: amount,
116
- MaxAmount: maxAmounts ? getValues(maxAmounts[type], currency, timespan)[0] : Infinity,
116
+ MaxAmount: maxAmounts && currency ? getValues(maxAmounts, currency, timespan)[0] : Infinity,
117
117
  Status: 'NewLimit'
118
118
  };
119
119
  console.log(type);
@@ -156,7 +156,7 @@ var ResponsibleGaming = function ResponsibleGaming(_ref) {
156
156
  Product: product,
157
157
  Timespan: timespan,
158
158
  Amount: amount,
159
- MaxAmount: maxAmounts ? (0, _helpers.getValues)(maxAmounts[type], currency, timespan)[0] : Infinity,
159
+ MaxAmount: maxAmounts && currency ? (0, _helpers.getValues)(maxAmounts, currency, timespan)[0] : Infinity,
160
160
  Status: 'NewLimit'
161
161
  };
162
162
  console.log(type);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tg-core-components",
3
- "version": "6.3.4-3.20",
3
+ "version": "6.3.4-3.22",
4
4
  "description": "tg-core-components",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",