
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@liquide/react-liquide-sdk-staging
Advanced tools
Made with love by Liquide
react-liquide-sdk
is a React SDK created by Liquide to provide seamless integration with Liquide's trading functionalities. This SDK enables developers to easily embed Liquide's components into their React applications.
Install the SDK using npm:
npm install @liquide/react-liquide-sdk
or
yarn add @liquide/react-liquide-sdk
First, initialize the SDK with your API key. Then, use the provided components in your application. The components will only render if the API key is valid.
In your main application file, initialize the SDK with your API key:
import React, { useEffect } from 'react';
import { Liquide, LiquideTrades } from '@liquide/react-liquide-sdk';
const App = () => {
useEffect(() => {
Liquide.initialize('YOUR_API_KEY');
}, []);
return (
<div>
<LiquideTrades />
</div>
);
};
To interact with user-specific components in this project, a user access token is required for authentication and authorization.
import React, { useEffect } from 'react';
import { Liquide, LiquideTrades } from '@liquide/react-liquide-sdk';
const App = () => {
useEffect(() => {
Liquide.identifyUser('USER_ACCESS_TOKEN');
}, ['USER_ACCESS_TOKEN']);
return (
<div>
<LiquideTrades />
</div>
);
};
The setCaptureEvent method is responsible for capturing specific events triggered within the application. You can pass the method responsible for capturing events via the setCaptureEvent prop.
import React, { useEffect } from 'react';
import { Liquide, LiquideTrades } from '@liquide/react-liquide-sdk';
interface IEventData = {
name: string
action: 'click' | 'scroll' | 'hover'
type: 'button' | 'card' | 'tab' | 'logo'
context: string
properties?: Record<string, any>
}
const App = () => {
useEffect(() => {
Liquide.setCaptureEvent((data: IEventData) => void)
}, []);
return (
<div>
<LiquideTrades />
</div>
);
};
<LiquideTrades onPress={() => void} onBtnClick={()=> void} btnTitle={'View all'} />
<LiquideDashboard onPress={() => void} navigateTo={'liquide_tab'} />
<LiquidePastTrades onPress={() => void } />
MIT © liquide-life
FAQs
Liquide React SDK
The npm package @liquide/react-liquide-sdk-staging receives a total of 3 weekly downloads. As such, @liquide/react-liquide-sdk-staging popularity was classified as not popular.
We found that @liquide/react-liquide-sdk-staging 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.