d2wd-client
Advanced tools
Comparing version 1.0.53 to 1.0.54
@@ -44,2 +44,12 @@ 'use strict'; | ||
} | ||
}, { | ||
key: 'uploadImage', | ||
value: function uploadImage(id, formData) { | ||
return this.client.postFormData(this.resourceUrl + '/' + id + '/image', formData); | ||
} | ||
}, { | ||
key: 'deleteImage', | ||
value: function deleteImage(id) { | ||
return this.client.delete(this.resourceUrl + '/' + id + '/image'); | ||
} | ||
}]); | ||
@@ -46,0 +56,0 @@ |
{ | ||
"name": "d2wd-client", | ||
"version": "1.0.53", | ||
"version": "1.0.54", | ||
"description": "d2wd API client library. Work on browser and server.", | ||
@@ -5,0 +5,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
305111
3328