@lendi/integrations-transform 1.3.1 → 1.3.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.
|
@@ -203,7 +203,7 @@ function createRentalIncome(amount, frequency, ownership) {
|
|
|
203
203
|
for (var _i = 0, ownership_1 = ownership; _i < ownership_1.length; _i++) {
|
|
204
204
|
var owner = ownership_1[_i];
|
|
205
205
|
var percent = owner.percent, applicantId = owner.applicantId;
|
|
206
|
-
var ownerAmount = amount * percent;
|
|
206
|
+
var ownerAmount = (0, round_decimal_1.roundDecimal)(amount * percent);
|
|
207
207
|
rentalIncome.push({
|
|
208
208
|
'@Frequency': enum_mappings_1.rentalIncomeFrequencyMapping[frequency],
|
|
209
209
|
'@RentalAmount': ownerAmount,
|
|
@@ -26,6 +26,7 @@ function transformLiability(_a) {
|
|
|
26
26
|
annualInterestRate: "".concat(application_paths_1.paths.Liability, ".@AnnualInterestRate"),
|
|
27
27
|
id: "".concat(application_paths_1.paths.Liability, ".@UniqueID"),
|
|
28
28
|
clearingFromThisLoan: "".concat(application_paths_1.paths.Liability, ".@ClearingFromThisLoan"),
|
|
29
|
+
clearingFromOtherSource: "".concat(application_paths_1.paths.Liability, ".@ClearingFromOtherSource"),
|
|
29
30
|
description: "".concat(application_paths_1.paths.Liability, ".@Description"),
|
|
30
31
|
financialInstitution: "".concat(application_paths_1.paths.Liability, ".AccountNumber.@FinancialInstitution"),
|
|
31
32
|
financialInstitutionAccountNumber: "".concat(application_paths_1.paths.Liability, ".AccountNumber.@AccountNumber"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lendi/integrations-transform",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Library for kafka event data transforming",
|
|
5
5
|
"author": "Integrations <integrations@lendi.com.au>",
|
|
6
6
|
"homepage": "https://bitbucket.org/lendi-dev/integrations-shared-packages#readme",
|