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.58 to 1.0.60

30

lib/api/ajaxCart.js

@@ -24,2 +24,7 @@ "use strict";

}, {
key: "retrieveNative",
value: function retrieveNative(order_id, cookie) {
return this.client.get("/cart/" + order_id, null, cookie);
}
}, {
key: "update",

@@ -35,2 +40,7 @@ value: function update(data) {

}, {
key: "checkoutNative",
value: function checkoutNative(orderId) {
return this.client.put("/cart/checkout/" + orderId);
}
}, {
key: "updateBillingAddress",

@@ -61,2 +71,7 @@ value: function updateBillingAddress(address) {

}, {
key: "updateItemNative",
value: function updateItemNative(id, orderId, data) {
return this.client.put("/cart/" + orderId + "/items/" + id, data);
}
}, {
key: "deleteItem",

@@ -67,2 +82,7 @@ value: function deleteItem(id) {

}, {
key: "deleteItemNative",
value: function deleteItemNative(orderId) {
return this.client.delete("/cart/" + orderId + "/items/" + id);
}
}, {
key: "verifyDiscount",

@@ -73,2 +93,7 @@ value: function verifyDiscount(code) {

}, {
key: "verifyDiscountNative",
value: function verifyDiscountNative(orderId, code) {
return this.client.get("/cart/" + orderId + "/discount/" + code);
}
}, {
key: "removeDiscount",

@@ -78,2 +103,7 @@ value: function removeDiscount() {

}
}, {
key: "removeDiscountNative",
value: function removeDiscountNative(orderId) {
return this.client.delete("/cart/" + orderId + "/discount");
}
}]);

@@ -80,0 +110,0 @@

4

package.json
{
"name": "d2wd-client",
"version": "1.0.58",
"version": "1.0.60",
"description": "d2wd API client library. Work on browser and server.",

@@ -83,2 +83,2 @@ "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