Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
sea-ai-ui-component
Advanced tools
The seatable AI UI component.
git clone git@gitlab.seafile.top:seatable-extends/sea-ai-ui-component.git
cd sea-ai-ui-component
npm install
cd example
npm start
注意:自定义API 的demo,目前不支持修改参数同步更新视图
npm install sea-ai-ui-component
<!-- app.jsx -->
import React from 'react';
import SeatableAI from 'sea-ai-ui-component';
import Layout from 'xxx';
const APP = () => {
return (
<SeatableAI isDevelopment={isDevelopment}> // 加载 assistants
<Layout />
</SeatableAI>
);
}
export default APP;
<!-- layout.jsx -->
import React from 'react';
import { Chat, Assistants, useAssistants } from 'sea-ai-ui-component';
const Layout = () => {
const { usingAssistant } = useAssistants();
if (usingAssistant) {
return (<Chat usingAssistant={usingAssistant} />);
}
return (
<Assistants readonly /> // readonly: 只读下不展示添加按钮
);
};
依据业务逻辑新编写组件
FAQs
> The seatable AI UI component.
The npm package sea-ai-ui-component receives a total of 14 weekly downloads. As such, sea-ai-ui-component popularity was classified as not popular.
We found that sea-ai-ui-component demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.