@lendi/integrations-transform 1.2.4 → 1.2.5
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.
|
@@ -93,6 +93,10 @@ function findArrayItemAndMerge(existingItem, newItem, uniqueKey, options) {
|
|
|
93
93
|
// Income array in CompanyApplicant
|
|
94
94
|
return newItem;
|
|
95
95
|
}
|
|
96
|
+
if (uniqueKey === 'Income' && existingItem && existingItem.some(function (item) { return item.BusinessActivityStatement; })) {
|
|
97
|
+
// Income array in CompanyApplicant for Low Doc applications
|
|
98
|
+
return newItem;
|
|
99
|
+
}
|
|
96
100
|
// Copying existing array
|
|
97
101
|
var mergedArray = existingItem.slice();
|
|
98
102
|
// Searching whether item in the new array exists in existing array
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lendi/integrations-transform",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "git+ssh://git@bitbucket.org/lendi-dev/integrations-shared-packages.git"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@lendi/integrations-credit-protocol": "1.15.
|
|
24
|
+
"@lendi/integrations-credit-protocol": "1.15.4",
|
|
25
25
|
"@lendi/integrations-protocol": "2.5.4",
|
|
26
26
|
"clean-deep": "^3.4.0",
|
|
27
27
|
"date-fns": "2.19.0",
|