
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
SDK for merchants to integrate Nash Pay on their backend.
Install with
# npm
npm install --save nash-pay
# yarn
yarn add nash-pay
Start building!
import { NashPayApi } from 'nash-pay'
const api = new NashPayApi('sandbox', `<YOUR_API_KEY>`, `<YOUR_API_SECRET_KEY>`)
// Create a new invoice:
const invoiceCreateResponse = await api.createInvoice({
price: 10
currency: 'eur'
})
// Get an invoice by ID:
const invoiceGetResponse = await api.getInvoice(invoiceId)
Take a look at the examples, for instance invoice-create-and-get.ts
.
You can run this example like this:
$ npm install -g ts-node
$ ts-node examples/invoice-create-and-get.ts
These are the two main files:
Often used yarn commands:
yarn install
yarn build
yarn lint
yarn test
FAQs
Nash Pay SDK
The npm package nash-pay receives a total of 0 weekly downloads. As such, nash-pay popularity was classified as not popular.
We found that nash-pay demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.