Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
A framework that helps you build scalable, personalized customer engagement applications.
You can install the package from npm by running:
$ npm install elarian@latest
const { initializeClient } = require('elarian');
// ...
const elarian = await initializeClient({
token: 'YOUR_TOKEN',
appId: 'YOUR_APP_ID',
});
elarian.on('consentDenied', (userId) => {
// ...
});
elarian.on('consentGranted', (userId, data) => {
// ...
});
const { state } = await elarian.fetchAppState();
await elarian.updateAppState(Buffer.from('abc'));
await elarian.sendMessage('Hello test');
await elarian.collectPayment({ amount: 10, currency: 'UGX' });
For detailed info on this SDK, see the reference.
Run all tests:
$ npm install
$ npm test
See SDK Spec for reference.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Read the contribution guide for more information.
If you find a bug, please file an issue on our issue tracker on GitHub.
FAQs
Elarian JavaScript SDK
We found that elarian demonstrated a healthy version release cadence and project activity because the last version was released less than 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.