cloudinary-promised
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -49,3 +49,3 @@ "use strict"; | ||
}; | ||
exports.fileExists = (id, localAbsolutePath, options) => __awaiter(this, void 0, void 0, function* () { | ||
exports.fileExists = (id, localAbsolutePath, options) => { | ||
if (exports.isVideo(localAbsolutePath)) { | ||
@@ -55,3 +55,3 @@ return exports.videoExists(id, options); | ||
return exports.imageExists(id, options); | ||
}); | ||
}; | ||
exports.uploadOrGetMetadata = (id, localAbsolutePath, options) => __awaiter(this, void 0, void 0, function* () { | ||
@@ -63,5 +63,5 @@ const exists = yield exports.fileExists(id, localAbsolutePath, options); | ||
else { | ||
return yield exports.getMetadata(id, localAbsolutePath, options); | ||
return exports.getMetadata(id, localAbsolutePath, options); | ||
} | ||
}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "cloudinary-promised", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Wrapper for Cloudinary functions.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
9456