Comparing version 0.4.0 to 0.4.1
@@ -195,4 +195,2 @@ /*! | ||
function update(me, p) { | ||
if (p.ready && (!p.file && !p.data)) | ||
return Q.reject(new Error('if the document is ‘ready’ it must have a content as either ‘file’ or ‘data’')); | ||
var s = commonUploadParams(p); | ||
@@ -199,0 +197,0 @@ return documentPOST(me, 'docs/update', s, p.file || p.data); |
{ | ||
"name": "tdoc-api", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Wrapper around tDoc REST-ful APIs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
18830
360