randalthor-dropboxapi
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -79,4 +79,20 @@ const Dropbox = require("dropbox").Dropbox; | ||
} | ||
async deleteFileSync(path) { | ||
try { | ||
await this.dpx.filesDeleteV2(path); | ||
} catch (error) { | ||
console.error(error); | ||
} | ||
} | ||
async getTempLink(path) { | ||
try { | ||
return await this.dpx.filesGetTemporaryLink(path); | ||
} catch (error) { | ||
console.error(error); | ||
} | ||
} | ||
} | ||
module.exports.Client = Client; |
{ | ||
"name": "randalthor-dropboxapi", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Client Wrapper for Dropbox Node API", | ||
@@ -5,0 +5,0 @@ "main": "client.js", |
4220
88