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

producteca-sdk

Package Overview
Dependencies
Maintainers
7
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 7.3.0 to 7.3.1

7

build/client.js

@@ -54,5 +54,5 @@ (function() {

Client.prototype._doRequest = function(arg, arg1) {
var body, options, path, qs, raw, ref, ref1, verb;
var body, headers, options, path, qs, raw, ref, ref1, verb;
verb = arg.verb, path = arg.path, body = arg.body;
ref = arg1 != null ? arg1 : {}, qs = ref.qs, raw = (ref1 = ref.raw) != null ? ref1 : false;
ref = arg1 != null ? arg1 : {}, qs = ref.qs, raw = (ref1 = ref.raw) != null ? ref1 : false, headers = ref.headers;
options = {

@@ -62,3 +62,4 @@ method: verb,

body: body,
qs: qs
qs: qs,
headers: headers
};

@@ -65,0 +66,0 @@ if (!_.isEmpty(this.authMethod)) {

@@ -84,6 +84,13 @@ (function() {

ProductsApi.prototype.updateIntegration = function(productId, integration) {
var url;
ProductsApi.prototype.updateIntegration = function(productId, integration, appId) {
var headers, url;
url = "/products/" + productId + "/integrations";
return this.client.putAsync(url, integration);
if (appId) {
headers = {
"x-app-id": appId
};
}
return this.client.putAsync(url, integration, {
headers: headers
});
};

@@ -90,0 +97,0 @@

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

},
"version": "7.3.0",
"version": "7.3.1",
"main": "build/sdk.js",

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

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