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

assistant-chat-scroll

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assistant-chat-scroll - npm Package Compare versions

Comparing version 0.0.1-alpha.6 to 0.0.1-alpha.7

8

dist/AssistantChatScroll/AssistantChatScroll.d.ts
import React from 'react';
import { AssistantChatScrollProps } from './AssistantChatScrollProps';
import { ScrollToIndex } from './types';
export type AssistantChatScrollRef = {
getAnchorIndex: () => number;
saveScrollPosition: () => void;
scrollToIndex: ScrollToIndex;
restoreScrollPosition: () => void;
loadHistory: () => Promise<void>;
};
export declare const AssistantChatScroll: React.FC<AssistantChatScrollProps>;

13

dist/AssistantChatScroll/AssistantChatScrollProps.d.ts

@@ -1,8 +0,16 @@

import React from 'react';
import { PrependScrollTargetIndex, AssistantChatLoadHistoryWorker, GetScrollButton, PrependScrollRestorationStrategy, AppendScrollTargetIndex, ScrollAlignment } from './types';
import React, { Ref } from 'react';
import { PrependScrollTargetIndex, AssistantChatLoadHistoryWorker, GetScrollButton, PrependScrollRestorationStrategy, AppendScrollTargetIndex, ScrollAlignment, ScrollToIndex } from './types';
export declare const defaultPrependScrollTargetIndex: PrependScrollTargetIndex;
export declare const defaultAppendScrollTargetIndex: AppendScrollTargetIndex;
export type AssistantChatScrollRef = {
getAnchorIndex: () => number;
saveScrollPosition: () => void;
scrollToIndex: ScrollToIndex;
restoreScrollPosition: () => void;
loadHistory: () => Promise<void>;
};
export type AssistantChatScrollProps = {
style?: React.CSSProperties;
children?: React.ReactNode;
ref?: Ref<AssistantChatScrollRef>;
itemClassName?: string;

@@ -28,3 +36,4 @@ } & AssistantChatScrollSettings;

children?: React.ReactNode;
ref?: React.Ref<AssistantChatScrollRef> | undefined;
itemClassName?: string | undefined;
} & AssistantChatScrollSettings & Required<AssistantChatScrollSettings>;
{
"name": "assistant-chat-scroll",
"version": "0.0.1-alpha.6",
"version": "0.0.1-alpha.7",
"type": "module",

@@ -5,0 +5,0 @@ "main": "dist/main.js",

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