
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
clockpay-react
Advanced tools
[](https://badge.fury.io/js/clockpay) [](https://opensource.org/licenses/MIT)
A lightweight, type-safe React.js SDK for integrating ClockPay payment services, including payment links and currency support, to streamline secure client-side payments.
Using npm:
npm install clockpay-react
Using yarn:
yarn add clockpay-react
Using pnpm:
pnpm add clockpay-react
Importing the SDK using ES modules
import { PaymentButton } from 'clockpay-react';
import { PaymentButton } from 'clockpay-react';
// Initialize the SDK
<PaymentButton
publicKey='clockpay_public_key_....'
clientSecret='secret'
/>
Parameter | Type | Required | Description |
---|---|---|---|
publicKey | string | Yes | Gotten from the business account developer dashboard |
clientSecret | string | Yes | Gotten from the server-side response |
backgroundColor | string | No | Allows you to style the background-color eg. backgroundColor="#ffffff" |
borderColor | string | No | Allows you to style the border-color eg. borderColor="#ffffff" |
textColor | string | No | Allows you to style the text-color eg. textColor="#000000" |
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
[](https://badge.fury.io/js/clockpay) [](https://opensource.org/licenses/MIT)
The npm package clockpay-react receives a total of 5 weekly downloads. As such, clockpay-react popularity was classified as not popular.
We found that clockpay-react 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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.