Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nlux/core

Package Overview
Dependencies
Maintainers
1
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nlux/core - npm Package Compare versions

Comparing version 2.1.0-beta to 2.1.1-beta

13

nlux-core.d.ts

@@ -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

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