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

producteca-sdk

Package Overview
Dependencies
Maintainers
8
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 8.10.0 to 8.11.0

16

build/client.js
(function() {
var Client, Promise, _, debug, request,
var Client, Promise, _, debug, debugResponse, debugResponseError, request,
bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };

@@ -11,2 +11,6 @@

debugResponse = require("debug")("producteca-sdk:client:response");
debugResponseError = require("debug")("producteca-sdk:client:response:error");
request = require("request-promise");

@@ -78,3 +82,11 @@

debug(JSON.stringify(options));
return request(options).promise();
return request(options).promise().tap((function(_this) {
return function(response) {
return debugResponse(JSON.stringify(response));
};
})(this)).tapCatch((function(_this) {
return function(err) {
return debugResponseError(JSON.stringify(err.message || err.body || err.code || err.error || err));
};
})(this));
};

@@ -81,0 +93,0 @@

2

package.json
{
"name": "producteca-sdk",
"version": "8.10.0",
"version": "8.11.0",
"description": "SDK for querying the Producteca's API",

@@ -5,0 +5,0 @@ "main": "build/sdk.js",

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