Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@nabcellent/wasiliana
Advanced tools
Readme
This is a Typescript package that interfaces with the Wasiliana Api. The API enables you to initiate mobile SMS notifications.
You can install the package via yarn or npm:
yarn add @nabcellent/wasiliana
npm i @nabcellent/wasiliana
Initialize the Wasiliana class with your config.
import { Wasiliana, WasilianaConfig } from '@nabcellent/wasiliana';
let config: WasilianaConfig = {
apiKey : process.env.WASILIANA_SMS_API_KEY,
senderId : process.env.WASILIANA_SMS_SENDER_ID
};
const wasiliana = new Wasiliana(config);
Enables you to send text messages
const response = await wasiliana.sms.text('#WasilianaTest').to(254123456789).send()
// OR
const response = await wasiliana.sms.text('#WasilianaTest').to([254123456789]).send()
// Expected responses
// -- SUCCESS
{
status: 'success',
data: 'Successfully Dispatched the sms to process'
}
// -- FAILED
{
status: 'failed',
data: 'App does not match your api key'
}
OR
{
status: 'failed',
data: 'Wrong sender id sent'
}
OR
{
status: 'failed',
data: 'Short code does not exist'
}
OR
{
status: 'failed',
data: 'App does not exist'
}
OR
{
status: 'failed',
data: 'ApiKey must be present in the header'
}
Provide the text message.
const response = wasiliana.sms.cost('Hello World.')
// Expected response(number)
0.2
Please see CONTRIBUTING for details.
If you discover any security related issues, please email nabcellent.dev@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
FAQs
Wasiliana API Library
The npm package @nabcellent/wasiliana receives a total of 1 weekly downloads. As such, @nabcellent/wasiliana popularity was classified as not popular.
We found that @nabcellent/wasiliana demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.