
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.
@bobsled/consumer-components
Advanced tools
This repository contains the source code for the Bobsled Consumer Components. The Bobsled Consumer Components are a set of React components that can be used to build a consumer application that interacts with the Bobsled API.
This repository contains the source code for the Bobsled Consumer Components. The Bobsled Consumer Components are a set of React components that can be used to build a consumer application that interacts with the Bobsled API.
To install the Bobsled Consumer Components, run the following command:
npm install @bobsled/consumer-components
To use the Bobsled Consumer Components, import the components you need from the @bobsled/consumer-components
package and use them in your application.
import { DestinationSelector } from "@bobsled/consumer-components";
import type { Destination } from "@bobsled/consumer-components";
function App() {
const handleOnSave = (destination: Destination) => {
const { region, cloud } = destination;
// ... do a call with these parameters
};
return (
<div>
<DestinationSelector onSave={(destination: Destination) => handleOnSave(destination)} />
</div>
);
}
If you are using Vanilla JS:
import { DestinationSelector } from "@bobsled/consumer-components";
function App() {
const handleOnSave = (destination) => {
const { region, cloud } = destination;
// ... do a call with these parameters
};
return (
<div>
<DestinationSelector onSave={(destination) => handleOnSave(destination)} />
</div>
);
}
The Bobsled Consumer Components can be customized using CSS variables. The following CSS variables are available for customization:
:root {
--bobsled-primary-color: #007bff;
--bobsled-secondary-color: #6c757d;
--bobsled-text-color: #333;
--bobsled-background-color: #f8f9fa;
--bobsled-border-color: #dee2e6;
--bobsled-border-radius: 0.25rem;
}
FAQs
This repository contains the source code for the Bobsled Consumer Components. The Bobsled Consumer Components are a set of React components that can be used to build a consumer application that interacts with the Bobsled API.
We found that @bobsled/consumer-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
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.