Socket
Socket
Sign inDemoInstall

d2wd-client

Package Overview
Dependencies
14
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

4

lib/api/sellers/contacts.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc