Update dependency nexmo to v2 (main) #16
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.0.0-beta-7
->^2.2.1
By merging this PR, the issue #18 will be automatically resolved and closed:
Release Notes
nexmo/nexmo-node (nexmo)
v2.2.1
Compare Source
v2.2.0
Compare Source
v2.1.1
Compare Source
Bug Fixes
HTTPClient
(@poying)Documentation
New Features
Other goodies
eslint
. Runnpm run lint-fix
to automatically fix any formatting issuesQ&A
Q. What happened to 2.1.0?
A. @mheap can't computer correctly and published the wrong thing to NPM. As NPM (quite rightly) doesn't let you overwrite tags, we're having to skip to 2.1.1
v2.0.2
Compare Source
v2.0.1
Compare Source
retry-after
for 429 http status code responsesv2.0.0
Compare Source
statusCode
on the responseerror
callback objects has been updated to{statusCode: STATUS_CODE, body: JSON_BODY, headers: HEADERS}
v1.2.1
Compare Source
v1.2.0
Compare Source
nexmo.files.get
andnexmo.files.save
.v1.1.2
Compare Source
v1.1.1
Compare Source
method
declarationv1.1.0
Compare Source
nexmo.generateJwt
to generate JWT based on instance credentialsNexmo.generateJwt
static function to generate JWTv1.0.0
Compare Source
applicationId
andprivateKey
properties to first constructor parameter to support JWT generation.options.logger
to constructor 2nd parameter to allow adding customer logger.options.appendToUserAgent
to constructor 2nd paramater to append custom string toUser-Agent
header sent to Nexmo.create
,get
,update
anddelete
calls.create
,get
,update
anddelete
calls.nexmo.message
nexmo.calls
nexmo.number
nexmo.verify
nexmo.numberInsight
nexmo.account
nexmo.voice
- legacy voice functionalityvar Nexmo = require('nexmo');
returns a class definition which should be created using thenew
operator e.g.var nexmo = new Nexmo(args...);
.var nexmo = require('nexmo');
no longer exposes singleton functions offered by "easynexmo".