Socket
Socket
Sign inDemoInstall

ai

Package Overview
Dependencies
Maintainers
11
Versions
246
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ai - npm Package Compare versions

Comparing version 2.1.6 to 2.1.7

4

dist/index.d.ts

@@ -141,3 +141,3 @@ import { ServerResponse } from 'node:http';

*/
onResponse?: (response: Response) => void;
onResponse?: (response: Response) => void | Promise<void>;
/**

@@ -198,3 +198,3 @@ * Callback function to be called when the chat is finished streaming.

*/
onResponse?: (response: Response) => void;
onResponse?: (response: Response) => void | Promise<void>;
/**

@@ -201,0 +201,0 @@ * Callback function to be called when the completion is finished streaming.

{
"name": "ai",
"version": "2.1.6",
"version": "2.1.7",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "sideEffects": false,

@@ -39,3 +39,3 @@ /**

*/
onResponse?: (response: Response) => void;
onResponse?: (response: Response) => void | Promise<void>;
/**

@@ -96,3 +96,3 @@ * Callback function to be called when the chat is finished streaming.

*/
onResponse?: (response: Response) => void;
onResponse?: (response: Response) => void | Promise<void>;
/**

@@ -99,0 +99,0 @@ * Callback function to be called when the completion is finished streaming.

@@ -41,3 +41,3 @@ import { Readable, Writable } from 'svelte/store';

*/
onResponse?: (response: Response) => void;
onResponse?: (response: Response) => void | Promise<void>;
/**

@@ -98,3 +98,3 @@ * Callback function to be called when the chat is finished streaming.

*/
onResponse?: (response: Response) => void;
onResponse?: (response: Response) => void | Promise<void>;
/**

@@ -101,0 +101,0 @@ * Callback function to be called when the completion is finished streaming.

@@ -41,3 +41,3 @@ import { Ref } from 'vue';

*/
onResponse?: (response: Response) => void;
onResponse?: (response: Response) => void | Promise<void>;
/**

@@ -98,3 +98,3 @@ * Callback function to be called when the chat is finished streaming.

*/
onResponse?: (response: Response) => void;
onResponse?: (response: Response) => void | Promise<void>;
/**

@@ -101,0 +101,0 @@ * Callback function to be called when the completion is finished streaming.

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