producteca-sdk
Advanced tools
Comparing version 7.0.2 to 7.1.0
@@ -19,4 +19,5 @@ (function() { | ||
this.deletePayment = bind(this.deletePayment, this); | ||
this.updatePayment = bind(this.updatePayment, this); | ||
this.createPayment = bind(this.createPayment, this); | ||
this.deleteShipment = bind(this.deleteShipment, this); | ||
this.createPayment = bind(this.createPayment, this); | ||
this.updateShipment = bind(this.updateShipment, this); | ||
@@ -120,2 +121,6 @@ this.createShipment = bind(this.createShipment, this); | ||
SalesOrdersApi.prototype.deleteShipment = function(salesOrderId, shipmentId) { | ||
return this.client.delAsync("/salesorders/" + salesOrderId + "/shipments/" + shipmentId); | ||
}; | ||
SalesOrdersApi.prototype.createPayment = function(salesOrderId, payment) { | ||
@@ -125,4 +130,4 @@ return this.client.postAsync("/salesorders/" + salesOrderId + "/payments", payment); | ||
SalesOrdersApi.prototype.deleteShipment = function(salesOrderId, shipmentId) { | ||
return this.client.delAsync("/salesorders/" + salesOrderId + "/shipments/" + shipmentId); | ||
SalesOrdersApi.prototype.updatePayment = function(salesOrderId, paymentId, paymentUpdate) { | ||
return this.client.putAsync("/salesorders/" + salesOrderId + "/payments/" + paymentId, paymentUpdate); | ||
}; | ||
@@ -129,0 +134,0 @@ |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "7.0.2", | ||
"version": "7.1.0", | ||
"main": "build/sdk.js", | ||
@@ -23,3 +23,3 @@ "dependencies": { | ||
"coffee-script": "^1.12.4", | ||
"grunt": "~0.4.4", | ||
"grunt": "^1.0.4", | ||
"grunt-bump": "^0.3.1", | ||
@@ -26,0 +26,0 @@ "grunt-contrib-clean": "~0.5.0", |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
69967
21
787
1