
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@yhangry/sdk
Advanced tools
React SDK for embedding the [Yhangry](https://yhangry.com) private chef service widget into your holiday rental website.
React SDK for embedding the Yhangry private chef service widget into your holiday rental website.
npm install @yhangry/sdk
YhangryProvider
In your main app entry point (e.g., src/index.tsx
), wrap your app in the YhangryProvider
and provide your clientId
:
import { YhangryProvider } from '@yhangry/sdk';
import App from './App';
const Root = () => (
<YhangryProvider clientId="your_client_id">
<App />
</YhangryProvider>
);
export default Root;
Widget
componentPlace the widget anywhere in your component tree:
import { Widget } from '@yhangry/sdk';
function BookingPage() {
return <Widget />;
}
You can obtain your clientId
from the Yhangry Developers Portal.
The widget will use the default configuration from your developer dashboard. You can override this behavior by passing a config
object.
<Widget
config={{
theme: 'light',
color_hex: '#000000',
copy_title: 'Book a Private Chef',
copy_subtitle: 'Delicious meals in your holiday rental'
}}
/>
Prop | Type | Description |
---|---|---|
id | string | Yhangry Widget ID |
theme | "light" | "dark" | Theme style for the widget |
color_hex | string | Primary color (hex format, e.g. #FF0000 ) |
copy_title | string | Custom title displayed in the widget |
copy_subtitle | string | Custom subtitle displayed below the title |
Visit developers.yhangry.com or reach out to us at tech@yhangry.com.
FAQs
React SDK for embedding the [Yhangry](https://yhangry.com) private chef service widget into your holiday rental website.
The npm package @yhangry/sdk receives a total of 15 weekly downloads. As such, @yhangry/sdk popularity was classified as not popular.
We found that @yhangry/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.