Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@atlas.js/braintree
Advanced tools
Braintree client as a component for @atlas.js.
npm i @atlas.js/braintree
In addition to the Atlas.js Service, you can access all the objects and properties the standard braintree library exposes directly through this module, so you don't need to import the braintree library itself.
import * as braintree from '@atlas.js/braintree'
import { Application } from '@atlas.js/core'
const app = new Application({
config: {
services: {
payments: {
environment: braintree.Environment.Development,
publicKey: 'your-public-key',
privateKey: 'your-private-key',
merchantId: 'your-merchant-id',
}
}
}
})
app.service('payments', braintree.Service)
await app.start()
// The braintree service is now available here:
app.services.payments
// Example use
await app.services.payments.transaction.sale({
amount: '5.00',
paymentMethodNonce: 'nonce-from-the-client',
})
See the LICENSE file for information.
FAQs
Braintree client as a component for @atlas.js
The npm package @atlas.js/braintree receives a total of 9 weekly downloads. As such, @atlas.js/braintree popularity was classified as not popular.
We found that @atlas.js/braintree 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.