tg-core-components 6.1.16-vega-integration.1 → 6.1.16-vega-integration.2

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.
@@ -108,8 +108,8 @@ var DepositWidget = function (_Component) {
108
108
  providerType: selectedMethod.providerType,
109
109
  lastDepositAmount: paymentStats.LastDepositAmount,
110
110
  remainingDepositLimit: remainingDepositLimit,
111
- methodMin: selectedMethod.limit.min,
112
- methodMax: selectedMethod.limit.max,
111
+ methodMin: 1,
112
+ methodMax: 500,
113
113
  customAmount: selectedMethodDetail && selectedMethodDetail.customAmounts,
114
114
  cancelWithdrawalAmount: selectedMethod.amount,
115
115
  spainRemainingDepositAmount: _this.getSpainRemainingDepositAmount()
@@ -262,7 +262,7 @@ var DepositWidget = function (_Component) {
262
262
  return errors;
263
263
  }
264
264
 
265
- if (amount < parseFloat(selectedMethod.limit.min) || amount < parseFloat(_this2.getMinDepositBonusAmount())) {
265
+ if (amount < parseFloat(1) || amount < parseFloat(_this2.getMinDepositBonusAmount())) {
266
266
  errors.amount.push(React.createElement(Translate, {
267
267
  id: 'error.cashier.amount-below-method-limit',
268
268
  defaultMessage: 'Amount is too low.'
@@ -141,7 +141,7 @@ var WithdrawWidget = function (_PureComponent) {
141
141
  if (amount === undefined) {
142
142
  return errors;
143
143
  }
144
- if (amount && Number(amount) < parseFloat(selectedMethod.limit.min)) {
144
+ if (amount && Number(amount) < parseFloat(1)) {
145
145
  errors.amount.push(React.createElement(Translate, {
146
146
  id: 'error.cashier.amount-below-method-limit',
147
147
  defaultMessage: 'Amount is too low.'
@@ -149,7 +149,7 @@ var WithdrawWidget = function (_PureComponent) {
149
149
  return errors;
150
150
  }
151
151
 
152
- if (Number(amount) > parseFloat(selectedMethod.limit.max)) {
152
+ if (Number(amount) > parseFloat(500)) {
153
153
  errors.amount.push(React.createElement(Translate, {
154
154
  id: 'error.cashier.amount-above-method-limit',
155
155
  defaultMessage: 'Amount is too high.'
@@ -173,8 +173,8 @@ var DepositWidget = function (_Component) {
173
173
  providerType: selectedMethod.providerType,
174
174
  lastDepositAmount: paymentStats.LastDepositAmount,
175
175
  remainingDepositLimit: remainingDepositLimit,
176
- methodMin: selectedMethod.limit.min,
177
- methodMax: selectedMethod.limit.max,
176
+ methodMin: 1,
177
+ methodMax: 500,
178
178
  customAmount: selectedMethodDetail && selectedMethodDetail.customAmounts,
179
179
  cancelWithdrawalAmount: selectedMethod.amount,
180
180
  spainRemainingDepositAmount: _this.getSpainRemainingDepositAmount()
@@ -327,7 +327,7 @@ var DepositWidget = function (_Component) {
327
327
  return errors;
328
328
  }
329
329
 
330
- if (amount < parseFloat(selectedMethod.limit.min) || amount < parseFloat(_this2.getMinDepositBonusAmount())) {
330
+ if (amount < parseFloat(1) || amount < parseFloat(_this2.getMinDepositBonusAmount())) {
331
331
  errors.amount.push(_react2.default.createElement(_Translate2.default, {
332
332
  id: 'error.cashier.amount-below-method-limit',
333
333
  defaultMessage: 'Amount is too low.'
@@ -198,7 +198,7 @@ var WithdrawWidget = function (_PureComponent) {
198
198
  if (amount === undefined) {
199
199
  return errors;
200
200
  }
201
- if (amount && Number(amount) < parseFloat(selectedMethod.limit.min)) {
201
+ if (amount && Number(amount) < parseFloat(1)) {
202
202
  errors.amount.push(_react2.default.createElement(_Translate2.default, {
203
203
  id: 'error.cashier.amount-below-method-limit',
204
204
  defaultMessage: 'Amount is too low.'
@@ -206,7 +206,7 @@ var WithdrawWidget = function (_PureComponent) {
206
206
  return errors;
207
207
  }
208
208
 
209
- if (Number(amount) > parseFloat(selectedMethod.limit.max)) {
209
+ if (Number(amount) > parseFloat(500)) {
210
210
  errors.amount.push(_react2.default.createElement(_Translate2.default, {
211
211
  id: 'error.cashier.amount-above-method-limit',
212
212
  defaultMessage: 'Amount is too high.'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tg-core-components",
3
- "version": "6.1.16-vega-integration.1",
3
+ "version": "6.1.16-vega-integration.2",
4
4
  "description": "tg-core-components",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -76,5 +76,5 @@
76
76
  "webpack": "^3.0.0",
77
77
  "webpack-blocks": "^1.0.0"
78
78
  },
79
- "gitHead": "833c6feccb7d8243f1a9bf32af8ae1913db39db7"
79
+ "gitHead": "5b7548653fb2af4e797105980801abed1e503aa8"
80
80
  }