Comparing version 0.1.1 to 0.1.2
@@ -78,4 +78,4 @@ /* | ||
ns = defs.$targetNamespace, | ||
encoding = ''; | ||
message = ''; | ||
encoding = '', | ||
message = '', | ||
xml = null, | ||
@@ -85,3 +85,3 @@ headers = { | ||
'Content-Type': "text/xml; charset=utf-8" | ||
}; | ||
}, | ||
options = {}; | ||
@@ -88,0 +88,0 @@ |
@@ -33,3 +33,3 @@ /* | ||
exheaders = exheaders || {}; | ||
for (attr in exheaders) { headers[attr] = exheaders[attr]; } | ||
for (var attr in exheaders) { headers[attr] = exheaders[attr]; } | ||
@@ -43,3 +43,3 @@ var options = { | ||
exoptions = exoptions || {}; | ||
for (attr in exoptions) { options[attr] = exoptions[attr]; } | ||
for (var attr in exoptions) { options[attr] = exoptions[attr]; } | ||
@@ -46,0 +46,0 @@ var request = req(options, function (error, res, body) { |
@@ -9,3 +9,4 @@ /* | ||
open_wsdl = require('./wsdl').open_wsdl, | ||
crypto = require('crypto'); | ||
crypto = require('crypto'), | ||
WSDL = require('./wsdl').WSDL; | ||
@@ -102,2 +103,2 @@ var _wsdlCache = {}; | ||
exports.listen = listen; | ||
exports.WSDL = WSDL; |
@@ -594,3 +594,6 @@ /* | ||
value = parseInt(text, 10); | ||
} else if (name === 'string') { | ||
} else if (name === 'dateTime') { | ||
value = new Date(text); | ||
} else { | ||
// handle string or other types | ||
if (typeof top.object !== 'string') { | ||
@@ -601,6 +604,2 @@ value = text; | ||
} | ||
} else if (name === 'dateTime') { | ||
value = new Date(text); | ||
} else { | ||
value = text; | ||
} | ||
@@ -607,0 +606,0 @@ top.object = value; |
{ | ||
"name": "soap", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A minimal node SOAP client", | ||
@@ -16,2 +16,3 @@ "engines": { "node": ">=0.4.0" }, | ||
"directories": { "lib": "./lib" }, | ||
"scripts": {"test": "mocha -R spec -u exports test/*-test.js"}, | ||
"keywords": ["soap"], | ||
@@ -18,0 +19,0 @@ "licenses": [{ |
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
Network access
Supply chain riskThis module accesses the network.
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
43498
10
1107
2
1