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

quidproquo-actionprocessor-node

Package Overview
Dependencies
Maintainers
1
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quidproquo-actionprocessor-node - npm Package Compare versions

Comparing version 0.0.22 to 0.0.24

24

lib/actionProcessor/core/network/NetworkActionProcessor.js

@@ -19,2 +19,6 @@ "use strict";

timeout: 10000,
headers: {
// Fixes: https://github.com/axios/axios/issues/5346
'Accept-Encoding': 'gzip,deflate,compress',
},
});

@@ -95,9 +99,15 @@ const processNetworkRequestGet = (payload) => __awaiter(void 0, void 0, void 0, function* () {

}
const response = yield requestMethod(payload);
return (0, quidproquo_core_1.actionResult)({
headers: response.headers,
status: response.status,
statusText: response.statusText,
data: response.data,
});
try {
const response = yield requestMethod(payload);
return (0, quidproquo_core_1.actionResult)({
headers: response.headers,
status: response.status,
statusText: response.statusText,
data: response.data,
});
}
catch (err) {
console.log(err);
return (0, quidproquo_core_1.actionResultError)(quidproquo_core_1.ErrorTypeEnum.GenericError, err.stack);
}
});

@@ -104,0 +114,0 @@ exports.default = {

{
"name": "quidproquo-actionprocessor-node",
"version": "0.0.22",
"version": "0.0.24",
"description": "",

@@ -5,0 +5,0 @@ "main": "./lib/index.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