All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- ADDED: Made
apiKey
andapiSecret
optional whenapplicationId
andprivateKey
are present in Nexmo constructor.
- ADDED: Change host via the config object, using
apiHost
&restHost
- FIXED: URI Encode Signed SMS Message
- ADDED: Pricing API support
- ADDED: typings for Verify API
- ADDED: Applications API V2 support
- Added message signing for for sending SMS
- Added
Nexmo.generateSignature
to verify signed messages
- FIXED: #116 - default setting of
retry-after
for 429 http status code responses
- FIXED: #110 - check the
statusCode
on the response - FIXED: #114 - handle 429 HTTP status codes
- UPDATED: To allow errors to be programmatically useful the
error
callback objects has been updated to{statusCode: STATUS_CODE, body: JSON_BODY, headers: HEADERS}
- ADDED: Add File API to library.
nexmo.files.get
andnexmo.files.save
.
- Fixed: Bug #104 - Fix JSON parsing error
- UPDATED: Changed User Agent format to match other libraries
- FIXED: Bug #88 - Undefined method when missing
method
declaration
- ADDED:
nexmo.generateJwt
to generate JWT based on instance credentials - ADDED:
Nexmo.generateJwt
static function to generate JWT
- ADDED:
applicationId
andprivateKey
properties to first constructor parameter to support JWT generation. - ADDED:
options.logger
to constructor 2nd parameter to allow adding customer logger. - ADDED:
options.appendToUserAgent
to constructor 2nd paramater to append custom string toUser-Agent
header sent to Nexmo. - ADDED: nexmo.calls adding support to
create
,get
,update
anddelete
calls. - ADDED: nexmo.applications adding support to
create
,get
,update
anddelete
calls. - ADDED: Functionality is now namespaced:
nexmo.message
nexmo.calls
nexmo.number
nexmo.verify
nexmo.numberInsight
nexmo.account
nexmo.voice
- legacy voice functionality
- CHANGED:
var Nexmo = require('nexmo');
returns a class definition which should be created using thenew
operator e.g.var nexmo = new Nexmo(args...);
. - REMOVED:
var nexmo = require('nexmo');
no longer exposes singleton functions offered by "easynexmo".
Earlier versions of this library were published as "easynexmo". The "easynexmo" package is now deprecated.