d2wd-client
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -30,4 +30,4 @@ "use strict"; | ||
key: "upload", | ||
value: function upload(sellerId, formData) { | ||
return this.client.postFormData("/sellers/" + sellerId + "/contacts", formData); | ||
value: function upload(sellerId, data) { | ||
return this.client.post("/sellers/" + sellerId + "/contacts", data); | ||
} | ||
@@ -34,0 +34,0 @@ }, { |
@@ -25,4 +25,4 @@ "use strict"; | ||
key: "upload", | ||
value: function upload(sellerId, formData) { | ||
return this.client.postFormData("/sellers/" + sellerId + "/pages", formData); | ||
value: function upload(sellerId, data) { | ||
return this.client.post("/sellers/" + sellerId + "/pages", data); | ||
} | ||
@@ -29,0 +29,0 @@ }, { |
@@ -24,5 +24,5 @@ "use strict"; | ||
}, { | ||
key: "upload", | ||
value: function upload(sellerId, formData) { | ||
return this.client.postFormData("/sellers/" + sellerId + "/topproducts", formData); | ||
key: "add", | ||
value: function add(sellerId, data) { | ||
return this.client.post("/sellers/" + sellerId + "/topproducts", data); | ||
} | ||
@@ -29,0 +29,0 @@ }, { |
{ | ||
"name": "d2wd-client", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "d2wd API client library. Work on browser and server.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
287456