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

@nlux/react

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/react - npm Package Compare versions

Comparing version 2.1.10-beta to 2.2.11-beta

11

nlux-react.d.ts
import { useEffect, JSX, RefObject, FC, ReactElement, ComponentClass, ReactNode, Context } from 'react';
import { MessageOptions as MessageOptions$2, StandardChatAdapter as StandardChatAdapter$1, EventsMap as EventsMap$1, DisplayOptions as DisplayOptions$1, ConversationOptions as ConversationOptions$1, ComposerOptions as ComposerOptions$1, ContextItems, AiContext as AiContext$1, ContextItemDataType, ContextAdapter, ContextAdapterBuilder } from '@nlux/core';
export { AiChatPropsInEvents, ComposerOptions, ConversationLayout, ConversationOptions, DisplayOptions, ErrorCallback, ErrorEventDetails, EventCallback, EventName, EventsMap, HighlighterExtension, HistoryPayloadSize, MessageReceivedCallback, MessageRenderedCallback, MessageSentCallback, MessageStreamStartedCallback, PreDestroyCallback, PreDestroyEventDetails, ReadyCallback, ReadyEventDetails, UpdatableAiChatProps } from '@nlux/core';
import { MessageOptions as MessageOptions$2, StandardChatAdapter as StandardChatAdapter$1, EventsConfig as EventsConfig$1, DisplayOptions as DisplayOptions$1, ConversationOptions as ConversationOptions$1, ComposerOptions as ComposerOptions$1, ContextItems, AiContext as AiContext$1, ContextItemDataType, ContextAdapter, ContextAdapterBuilder } from '@nlux/core';
export { AiChatPropsInEvents, ComposerOptions, ConversationLayout, ConversationOptions, DisplayOptions, ErrorCallback, ErrorEventDetails, EventCallback, EventName, EventsConfig, HighlighterExtension, HistoryPayloadSize, MessageReceivedCallback, MessageReceivedEventDetails, MessageRenderedCallback, MessageRenderedEventDetails, MessageSentCallback, MessageSentEventDetails, MessageStreamStartedCallback, MessageStreamStartedEventDetails, PreDestroyCallback, PreDestroyEventDetails, ReadyCallback, ReadyEventDetails, UpdatableAiChatProps } from '@nlux/core';

@@ -281,3 +281,3 @@ type UseEffectParams = Parameters<typeof useEffect>;

className?: string;
events?: Partial<EventsMap<AiMsg>>;
events?: EventsConfig<AiMsg>;
initialConversation?: ChatItem<AiMsg>[];

@@ -365,3 +365,3 @@ composerOptions?: ComposerOptions;

type PreDestroyCallback<AiMsg = string> = (preDestroyDetails: PreDestroyEventDetails<AiMsg>) => void;
type EventsMap<AiMsg = string> = {
type EventsMap<AiMsg> = {
ready: ReadyCallback<AiMsg>;

@@ -375,2 +375,3 @@ preDestroy: PreDestroyCallback<AiMsg>;

};
type EventsConfig<AiMsg = string> = Partial<EventsMap<AiMsg>>;

@@ -561,3 +562,3 @@ type CallbackArgType = object | string | number | boolean | symbol | null | undefined | void;

*/
events?: Partial<EventsMap$1<AiMsg>>;
events?: EventsConfig$1<AiMsg>;
/**

@@ -564,0 +565,0 @@ * The class name to add to the root element of the component.

{
"name": "@nlux/react",
"version": "2.1.10-beta",
"version": "2.2.11-beta",
"description": "nlux React is a library for building conversational AI interfaces, with support for OpenAI, HuggingFace, and more.",

@@ -62,3 +62,3 @@ "keywords": [

"dependencies": {
"@nlux/core": "2.1.10-beta"
"@nlux/core": "2.2.11-beta"
},

@@ -65,0 +65,0 @@ "peerDependencies": {

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