New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

waii-sdk-js

Package Overview
Dependencies
Maintainers
3
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

waii-sdk-js - npm Package Compare versions

Comparing version 1.12.0 to 1.12.1

9

dist/lib/src/WaiiHttpClient.js

@@ -12,3 +12,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const undici_1 = require("undici");
class WaiiHttpClient {

@@ -54,11 +53,5 @@ constructor(url = 'http://localhost:9859/api/', apiKey = '') {

};
(0, undici_1.setGlobalDispatcher)(new undici_1.Agent({
connectTimeout: 6000000,
headersTimeout: 6000000,
bodyTimeout: 6000000,
keepAliveTimeout: 6000000
}));
let timer;
let fetchOrTimeout = Promise.race([
(0, undici_1.fetch)(this.url + endpoint, request),
fetch(this.url + endpoint, request),
new Promise((res, rej) => {

@@ -65,0 +58,0 @@ timer = setTimeout(() => rej(new Error(`Call timed out after ${this.timeout} ms`)), this.timeout);

5

package.json
{
"name": "waii-sdk-js",
"version": "1.12.0",
"version": "1.12.1",
"description": "Typescript / Javascript SDK for the waii api. SQL generation and much more.",

@@ -27,5 +27,4 @@ "main": "dist/src/waii-sdk.js",

"uuid": "^9.0.0",
"js-yaml": "^4.1.0",
"undici": "^6.7.1"
"js-yaml": "^4.1.0"
}
}
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