Comparing version 0.1.2 to 0.1.3
@@ -121,7 +121,8 @@ /* | ||
var obj = self.wsdl.xmlToObject(body); | ||
callback(null, obj[output.$name], body); | ||
} | ||
catch (error) { | ||
callback(error, null, body); | ||
return; | ||
} | ||
callback(null, obj[output.$name], body); | ||
} | ||
@@ -128,0 +129,0 @@ }, headers, options); |
@@ -203,2 +203,11 @@ /* | ||
function extend(base, obj) { | ||
for (var key in obj) { | ||
if (obj.hasOwnProperty(key)) { | ||
base[key] = obj[key]; | ||
} | ||
} | ||
return base; | ||
} | ||
var TypesElement = function() { | ||
@@ -216,5 +225,5 @@ Element.apply(this, arguments); | ||
assert(child instanceof SchemaElement); | ||
this.complexTypes = child.complexTypes; | ||
this.types = child.types; | ||
this.includes = child.includes; | ||
extend(this.complexTypes, child.complexTypes); | ||
extend(this.types, child.types); | ||
extend(this.includes, child.includes); | ||
} | ||
@@ -221,0 +230,0 @@ |
{ | ||
"name": "soap", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A minimal node SOAP client", | ||
@@ -5,0 +5,0 @@ "engines": { "node": ">=0.4.0" }, |
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
46805
11
1116