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.8.2 to 1.9.1

18

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

@@ -6,3 +6,6 @@ declare class SemanticStatement {

labels?: string[];
constructor(scope: string | undefined, statement: string, labels?: string[]);
always_include?: boolean;
search_keys?: string[];
extract_prompt?: string;
constructor(scope: string | undefined, statement: string, labels?: string[], always_include?: boolean, search_keys?: string[], extract_prompt?: string);
}

@@ -17,5 +20,14 @@ type ModifySemanticContextRequest = {

};
type GetSemanticContextRequest = {};
type GetSemanticContextRequestFilter = {
always_include?: boolean;
};
type GetSemanticContextRequest = {
filter?: GetSemanticContextRequestFilter;
search_text?: string;
offset?: number;
limit?: number;
};
type GetSemanticContextResponse = {
semantic_context?: SemanticStatement[];
total_candidates?: number;
};

@@ -27,2 +39,2 @@ export declare let SemanticContext: {

export default SemanticContext;
export { SemanticStatement, ModifySemanticContextRequest, ModifySemanticContextResponse, GetSemanticContextRequest, GetSemanticContextResponse };
export { SemanticStatement, ModifySemanticContextRequest, ModifySemanticContextResponse, GetSemanticContextRequestFilter, GetSemanticContextRequest, GetSemanticContextResponse };

5

dist/clients/semantic-context/src/SemanticContext.js

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

class SemanticStatement {
constructor(scope = '*', statement, labels = []) {
constructor(scope = '*', statement, labels = [], always_include = true, search_keys = [], extract_prompt = '') {
this.id = (0, uuid_1.v4)();

@@ -27,2 +27,5 @@ this.scope = scope;

this.labels = labels;
this.always_include = always_include;
this.search_keys = search_keys;
this.extract_prompt = extract_prompt;
}

@@ -29,0 +32,0 @@ }

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

@@ -5,0 +5,0 @@ "main": "dist/src/waii-sdk.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