
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Proporciona acceso al API de Nequi para aplicaciones Node.js
Tenga en cuenta que esta libreria es para usar del lado del servidor ya que requiere las claves secretas de Nequi. No debe usarse directamente en el browser.
Instalar el paquete con:
npm install nequi --save
El paquete debe configurarse con las credenciales de su cuenta.
var nequiClient = require('nequi')('Your Access Key', 'Your Secret Key', 'Your API Key');
var payment = await nequiClient.pushPayments.create({
phoneNumber: '3009871234',
code: '1',
value: '5000'
});
O con versiones anteriores a Node.js v7.9
var nequiClient = require('nequi')('Your Access Key', 'Your Secret Key', 'Your API Key');
nequiClient.pushPayments.create(
{
phoneNumber: '3009871234',
code: '1',
value: '5000'
},
function(err, response) {
err; // null si no hay errores
response; // respuesta del servicio
}
);
O usando modulos ES:
import nequi from 'nequi';
const nequiClient = nequi('Your Access Key', 'Your Secret Key', 'Your API Key');
//…
Cada método devuelve una promesa encadenable que se puede utilizar en lugar de un callback:
// Crea y consultar una nueva suscripción:
nequi.subscriptionPayments.subscribe({
phoneNumber: '3009871234',
code: '1',
name: 'Company/Service name'
})
.then(function(subscription) {
return nequi.subscriptionPayments.getSubscription({
phoneNumber: '3009871234',
code: '1',
token: subscription.token
});
})
.then(function(subscription) {
// new subscription
}).catch(function(err) {
// Deal with an error
});
Ejecutar pruebas:
$ npm install
$ npm test
Ejecutar solo un archivo:
$ npm run mocha -- test/Error.spec.js
Ejecutar un caso de prueba:
$ npm run mocha -- test/Error.spec.js --grep 'Populates with type'
Desarrollo basado en la Libreria Node.js de Stripe
FAQs
Nequi API wrapper
We found that nequi demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.