rets-client
Advanced tools
Comparing version 4.0.2 to 4.0.3
{ | ||
"name": "rets-client", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "A RETS client (Real Estate Transaction Standard).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -137,3 +137,5 @@ rets-client | ||
for (var i=0; i<loopFields.length; i++) { | ||
if (excludeFields.indexOf(loopFields[i]) == -1) { | ||
if (excludeFields.indexOf(loopFields[i]) != -1) { | ||
continue; | ||
} | ||
if (typeof(obj[field]) == 'object') { | ||
@@ -233,4 +235,3 @@ console.log(" "+loopFields[i]+": "+JSON.stringify(obj[loopFields[i]])); | ||
"/tmp/photo" + (i + 1) + "." + photoResults.objects[i].headerInfo.contentType.match(/\w+\/(\w+)/i)[1], | ||
photoResults.objects[i].data | ||
); | ||
photoResults.objects[i].data); | ||
} | ||
@@ -313,4 +314,3 @@ console.log("---------------------------------"); | ||
fileStream = fs.createWriteStream( | ||
"/tmp/photo" + i + "." + photoEvent.headerInfo.contentType.match(/\w+\/(\w+)/i)[1] | ||
); | ||
"/tmp/photo" + i + "." + photoEvent.headerInfo.contentType.match(/\w+\/(\w+)/i)[1]); | ||
photoEvent.dataStream.pipe(fileStream); | ||
@@ -317,0 +317,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