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

@figuredev/orders-sdk

Package Overview
Dependencies
Maintainers
8
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figuredev/orders-sdk - npm Package Compare versions

Comparing version 0.12.43 to 0.12.44

12

lib/http.js

@@ -15,5 +15,15 @@ "use strict";

const createHttpRequest = (config) => __awaiter(void 0, void 0, void 0, function* () {
return yield axios_1.default.request(Object.assign({ timeout: 20000 }, config));
const defaultTimeout = 20000;
const source = axios_1.default.CancelToken.source();
const timeout = setTimeout(() => {
source.cancel();
}, config.timeout || defaultTimeout);
try {
return yield axios_1.default.request(Object.assign({ timeout: defaultTimeout, cancelToken: source.token }, config));
}
finally {
clearTimeout(timeout);
}
});
exports.createHttpRequest = createHttpRequest;
//# sourceMappingURL=http.js.map

2

package.json
{
"name": "@figuredev/orders-sdk",
"version": "0.12.43",
"version": "0.12.44",
"license": "ISC",

@@ -5,0 +5,0 @@ "files": [

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