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.11.0 to 1.11.1

.idea/modules.xml

3

dist/clients/semantic-context/src/SemanticContext.d.ts

@@ -21,2 +21,5 @@ import WaiiHttpClient from "../../../lib/src/WaiiHttpClient";

type GetSemanticContextRequestFilter = {
labels?: string[];
scope?: string;
statement?: string;
always_include?: boolean;

@@ -23,0 +26,0 @@ };

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

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

@@ -53,5 +54,11 @@ 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([
fetch(this.url + endpoint, request),
(0, undici_1.fetch)(this.url + endpoint, request),
new Promise((res, rej) => {

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

2

dist/samples/hello-waii.js

@@ -24,3 +24,3 @@ "use strict";

updated: [{
key: '',
key: '', // will be generated by the system
account_name: '<your account name>',

@@ -27,0 +27,0 @@ database: '<your database>',

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

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

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