Comparing version 2.1.0 to 2.2.0
# easysoap changelog | ||
## 2.2.0 | ||
* change: output gets more flatten | ||
## 2.1.0 | ||
@@ -4,0 +7,0 @@ * bugfix: headers not interpreted |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"main": "./src/index.js", | ||
@@ -11,0 +11,0 @@ "dependencies": { |
@@ -93,5 +93,11 @@ (() => { | ||
dataAsJson = dataAsJson[methodParams.response[0].name]; | ||
} else if (dataAsJson[methodParams.response[0].element]) { | ||
dataAsJson = dataAsJson[methodParams.response[0].element]; | ||
} | ||
} | ||
if (Array.isArray(dataAsJson) && dataAsJson.length === 1) { | ||
dataAsJson = dataAsJson[0]; | ||
} | ||
return { | ||
@@ -98,0 +104,0 @@ 'data' : dataAsJson, |
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
28352
537