@nlux/core
Advanced tools
Comparing version 2.1.0-beta to 2.1.1-beta
@@ -676,8 +676,7 @@ type ChatItem<AiMsg> = { | ||
type CallbackArgType = object | string | number | boolean | symbol | null | undefined | void; | ||
type CallbackFunction = (...args: CallbackArgType[]) => CallbackArgType; | ||
type StreamParser = (root: HTMLElement, syntaxHighlighter?: HighlighterExtension) => IObserver<string>; | ||
type StandardStreamParserOutput = IObserver<string> & { | ||
onComplete(completeCallback: CallbackFunction): void; | ||
type StandardStreamParserOutput = { | ||
next(value: string): void; | ||
complete(): void; | ||
error(error: Error): void; | ||
}; | ||
@@ -689,2 +688,3 @@ type StandardStreamParser = (root: HTMLElement, syntaxHighlighter?: HighlighterExtension, options?: { | ||
streamingAnimationSpeed?: number; | ||
onComplete?: () => void; | ||
}) => StandardStreamParserOutput; | ||
@@ -920,2 +920,5 @@ | ||
type CallbackArgType = object | string | number | boolean | symbol | null | undefined | void; | ||
type CallbackFunction = (...args: CallbackArgType[]) => CallbackArgType; | ||
interface ContextDomElementHandler { | ||
@@ -922,0 +925,0 @@ destroy(): void; |
{ | ||
"name": "@nlux/core", | ||
"version": "2.1.0-beta", | ||
"version": "2.1.1-beta", | ||
"description": "nlux is Javascript and React library for building conversational AI interfaces, with support for OpenAI, Hugging Face, and more.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
497652
2814