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.
@vonage/server-sdk
Advanced tools
Readme
This is the Node.JS Server SDK for Vonage APIs. To use it you will need a Vonage account. Sign up for free at vonage.com.
For full API documentation refer to developer.vonage.com.
npm install @vonage/server-sdk
yarn add @vonage/server-sdk
const { Vonage } = require('@vonage/server-sdk');
const vonage = new Vonage(credentials, options);
Where credentials
is any option from @vonage/auth
, and options
is any option from @vonage/server-client
Most methods that interact with the Vonage API uses Promises. You can either resolve these yourself, or use await
to wait for a response.
const resp = await vonage.sms.send({
to: '15552220000',
from: '15559992222',
text: 'This is a test',
});
Run:
npm run test
Or to continually watch and run tests as you change the code:
npm run test-watch
See the Vonage Node Quickstarts repo.
You can find more information for each product below:
The following is a list of Vonage APIs and whether the Node Server SDK provides support for them:
API | API Release Status | Supported? |
---|---|---|
Account API | General Availability | ✅ |
Alerts API | General Availability | ✅ |
Application API | General Availability | ✅ |
Audit API | Beta | ✅ |
Conversation API | Beta | ❌ |
Dispatch API | Beta | ❌ |
External Accounts API | Beta | ❌ |
Media API | Beta | ❌ |
Messages API | Beta | ✅ |
Number Insight V2 API | Beta | ✅ |
Number Insights API | General Availability | ✅ |
Number Management API | General Availability | ✅ |
Pricing API | General Availability | ✅ |
Proactive Connect API | Beta | ✅ |
Redact API | Developer Preview | ✅ |
Reports API | Beta | ❌ |
SMS API | General Availability | ✅ |
Sub Accounts | Beta | ✅ |
Users | General Availability | ✅ |
Verify API | General Availability | ✅ |
Verify v2 API | General Availability | ✅ |
Video API | General Availability | ✅ |
Voice API | General Availability | ✅ |
While most of the V2 functions have been ported into their own package, some of the functions have not been ported or were removed. Below is a list of those changes:
V2 Function | Status | Note |
---|---|---|
vonage.conversion | REMOVED | |
vonage.conversation | Not Implemented | This was only released as a beta package |
vonage.app | Moved | Moved to Applications |
vonage.files | Moved | Move to ServerClient |
vonage.message | Moved | Moved to SMS |
vonage.generateJwt | Moved | Was moved to JWT |
vonage.generateSignature | Moved | Was moved to SMS and Voice |
vonage.calls | Moved | Was moved to Voice |
vonage.credentials | Updated | Options can be found in Server Client |
vonage.options | Updated | Options can be found in Server Client |
vonage.options.httpClient | Removed | |
vonage.options.userAgent | Moved | Options can be found in Server Client |
For more information, check out each packages migration guide.
FAQs
Node.js Client for the Vonage API Platform
The npm package @vonage/server-sdk receives a total of 32,828 weekly downloads. As such, @vonage/server-sdk popularity was classified as popular.
We found that @vonage/server-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 44 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
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.