node-dropbox-v2
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -131,25 +131,16 @@ var request = require('request'); | ||
method: "GET", | ||
//Lets let the main app set that... | ||
encoding: null, | ||
url: apiContentRoot + api.getFiles, | ||
headers: { | ||
"Content-Type": "application/octet-stream; charset=utf-8", | ||
//"Content-Type": "image/png", | ||
//"Content-Type": "application/octet-stream", | ||
"Dropbox-API-Arg": '{"path": "/'+path+'"}', | ||
"Authorization": "Bearer "+ access_token | ||
}, | ||
json: false, | ||
//body: body.toString('utf8') | ||
} | ||
return request(options, cb); | ||
}, | ||
} | ||
return request(options, cb); | ||
}, | ||
/** | ||
* Let connect pipe to downloaded file. | ||
*/ | ||
getFilePipe: function(path, cb) { | ||
options = optionsBuilder(apiContentRoot + api.getFiles + '/' + path, access_token); | ||
return request(options, cb) | ||
}, | ||
/** | ||
* Gets changes to files and folders in a user's Dropbox. | ||
@@ -156,0 +147,0 @@ */ |
{ | ||
"name": "node-dropbox-v2", | ||
"description": "A simple Dropbox API v2 client for node.js", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"author": "Nodefried <info@nodefried.com>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
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
13248
297