Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

producteca-sdk

Package Overview
Dependencies
Maintainers
4
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

producteca-sdk - npm Package Compare versions

Comparing version 1.2.6 to 1.3.0

8

build/productsApi.js

@@ -46,3 +46,3 @@ (function() {

ProductsApi.prototype.getMany = function(ids) {
return this.respond(this.client.getAsync("/products?ids=" + ids)).then(this._convertJsonToProducts);
return (this.respond(this.client.getAsync("/products?ids=" + ids))).then(this._convertJsonToProducts);
};

@@ -59,7 +59,3 @@

ProductsApi.prototype.findByVariationSku = function(sku) {
return (this.respond(this.client.getAsync("/products/bysku/" + sku))).then(this._convertJsonToProduct)["catch"]((function(_this) {
return function() {
throw new Error("The product with sku=" + sku + " wasn't found");
};
})(this));
return (this.respond(this.client.getAsync("/products/bysku/" + sku))).then(this._convertJsonToProducts);
};

@@ -66,0 +62,0 @@

@@ -8,3 +8,3 @@ {

},
"version": "1.2.6",
"version": "1.3.0",
"main": "build/sdk.js",

@@ -11,0 +11,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc