creditu-common-library 2.3.0 → 2.3.1

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.
@@ -48,10 +48,5 @@ export declare class DebtParams {
48
48
  * La alternativa es BALANCES, que es el cálculo que se hace en el Excel "Producto_LowCode-Desarrollo"
49
49
  */
50
50
  insurancesStrategy?: InsurancesStrategy;
51
- /**
52
- * Indica si se hace algún pago durante los meses de gracia
53
- * Por defecto es true
54
- */
55
- hasGracePeriodAnyPayment?: boolean;
56
51
  constructor(params: DebtParams);
57
52
  }
@@ -28,11 +28,6 @@ var DebtParams = /** @class */ (function () {
28
28
  * La alternativa es BALANCES, que es el cálculo que se hace en el Excel "Producto_LowCode-Desarrollo"
29
29
  */
30
30
  this.insurancesStrategy = insurances_strategy_enum_1.InsurancesStrategy.PERIODS;
31
- /**
32
- * Indica si se hace algún pago durante los meses de gracia
33
- * Por defecto es true
34
- */
35
- this.hasGracePeriodAnyPayment = true;
36
31
  Object.entries(params).forEach(function (_a) {
37
32
  var key = _a[0], value = _a[1];
38
33
  _this[key] = value;
@@ -129,7 +129,6 @@ var InsuranceService = /** @class */ (function () {
129
129
  // Cálculo de seguros no está abordando los siguientes casos ya que en Brasil no lo estamos haciendo:
130
130
  // - balanceForLifeInsuranceCalculation distinto a CURRENT
131
131
  // - isLifeInsuranceProportional distinto a false
132
- // - hasGracePeriodAnyPayment distinto a true
133
132
  // Futuro refactor debería poder manejar estos casos
134
133
  totalLifeInsuranceFee = this.getLifeInsuranceFeeUsingBalance(inputs, params, balanceAfter);
135
134
  propertyInsuranceFee = this.getPropertyInsuranceFeeUsingBalance(inputs, params);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "creditu-common-library",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "files": [