@itentialopensource/adapter-utils
Advanced tools
Comparing version 4.24.3 to 4.24.4
## 4.24.4 [11-12-2019] | ||
* fix for return that is just an array of data (no objects) | ||
See merge request itentialopensource/adapter-utils!139 | ||
--- | ||
## 4.24.3 [11-06-2019] | ||
@@ -3,0 +11,0 @@ |
@@ -733,4 +733,9 @@ /* @copyright Itential, LLC 2018-9 */ | ||
for (let i = 0; i < transObj.length; i += 1) { | ||
// move the fields we care about into a IAP Entity Object | ||
outEntities.push(extractJSONEntity(transObj[i], entitySchema)); | ||
// is this just an array of data or something that needs to be translated? | ||
if (typeof transObj[i] === 'object') { | ||
// move the fields we care about into a IAP Entity Object | ||
outEntities.push(extractJSONEntity(transObj[i], entitySchema)); | ||
} else { | ||
outEntities.push(transObj[i]); | ||
} | ||
} | ||
@@ -737,0 +742,0 @@ |
{ | ||
"name": "@itentialopensource/adapter-utils", | ||
"version": "4.24.3", | ||
"version": "4.24.4", | ||
"description": "Itential Adapter Utility Libraries", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1519097
13289