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
0
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.25.0 to 1.25.1

8

dist/clients/chat/src/Chat.d.ts

@@ -30,2 +30,8 @@ import WaiiHttpClient from "../../../lib/src/WaiiHttpClient";

};
type GetObjectRequest = {
uuid: string;
};
type GetObjectResponse = {
uuid: string;
};
declare class Chat {

@@ -35,4 +41,6 @@ private httpClient;

chat(params: ChatRequest, signal?: AbortSignal): Promise<ChatResponse>;
submitChat(params: ChatRequest, signal?: AbortSignal): Promise<GetObjectResponse>;
getChatResponse(params: GetObjectRequest, signal?: AbortSignal): Promise<ChatResponse>;
}
export default Chat;
export { ChatRequest, ChatResponse, ChatResponseData };

@@ -13,2 +13,4 @@ "use strict";

const CHAT_ENDPOINT = 'chat-message';
const SUBMIT_CHAT_ENDPOINT = 'submit-chat-message';
const GET_CHAT_RESPONSE_ENDPOINT = 'get-chat-response';
class Chat {

@@ -23,3 +25,14 @@ constructor(httpClient) {

}
submitChat(params, signal) {
return __awaiter(this, void 0, void 0, function* () {
return this.httpClient.commonFetch(SUBMIT_CHAT_ENDPOINT, params, signal);
});
}
getChatResponse(params, signal) {
return __awaiter(this, void 0, void 0, function* () {
return this.httpClient.commonFetch(GET_CHAT_RESPONSE_ENDPOINT, params, signal);
});
}
;
}
exports.default = Chat;

2

package.json
{
"name": "waii-sdk-js",
"version": "1.25.0",
"version": "1.25.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