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

iudex

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iudex - npm Package Compare versions

Comparing version 0.7.5 to 0.7.6

./dist/index.js

2

dist/index.d.ts

@@ -189,3 +189,3 @@ import OpenAI from 'openai';

};
declare function returnFunctionCall(baseUrl: string, apiKey: string): (functionCallId: string, functionReturn: any) => Promise<void>;
declare function returnFunctionCall(baseUrl: string, apiKey: string): (functionCallId: string, functionReturn: string) => Promise<void>;
type NextMessageRes = ChatFunctionCall | ChatText | undefined;

@@ -192,0 +192,0 @@ declare function nextMessage(baseUrl: string, apiKey: string): (workflowId: string) => Promise<NextMessageRes>;

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

functionCallId,
functionReturn: JSON.stringify(functionReturn)
functionReturn
};

@@ -276,4 +276,4 @@ return fetch(baseUrl + "/function_calls/" + functionCallId + "/return", {

const callId = lastMessage.tool_call_id;
const functionReturn = lastMessage.content;
const functionCallRes = returnFunctionCall(this.baseUrl, this.apiKey)(callId, functionReturn);
const functionReturn = lastMessage.content || "";
const functionCallRes = returnFunctionCall(this.baseUrl, this.apiKey)(callId, String(functionReturn));
const nextMessageRes = functionCallRes.then(() => poll(nextMessage(this.baseUrl, this.apiKey), [workflowId]));

@@ -280,0 +280,0 @@ return nextMessageRes.then((r) => {

{
"name": "iudex",
"version": "0.7.5",
"version": "0.7.6",
"description": "Iudex client",
"scripts": {
"build": "tsup",
"test": "jest"
},
"main": "./dist/index.js",

@@ -45,3 +41,7 @@ "module": "./dist/index.mjs",

"zod": "^3.21.4"
},
"scripts": {
"build": "tsup",
"test": "jest"
}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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