Note that this major version release contains backwards incompatible changes.
- Callback functionality has been removed. Callbacks can still be used by using
util.callbackify()
. request
has been replaced bynode-fetch
. Full API responses are returned by function calls.- Add support for for text API.
- Deprecate
sendSMS()
, this is deprecated in the API and is replaced bycreateText()
. - Add
createChannel()
.
- Reconnect to websocket stream if disconnected.
- Switch to
ws
module for the websocket stream. - Fix
close
on stream connection to actually close. - Add
fullResponses
option to return response objects from requests.
- Add promise support.
- Add end to end encryption support.
- Support the
body
parameter for thelink
push type.
Note that this major version release contains backwards incompatible changes.
- Remove support for deprecated
list
andaddress
push types. - Add
deleteAllPushes
function. - Use
Access-Token
header for authentication. - Remove Contacts functions.
- Rename
updatePush
todismissPush
. - Add
updateDevice
function. - Change signature of
createDevice
to take an Object of device options. - Add
muteSubscription
andunmuteSubscription
functions. - Default
devices
to active only. - Default
subscriptions
to active only. - Add chats functions.
- Add ephemerals support for sending SMS messages, clipboard messages and dismissals.
- Check file existence before trying to push.
- Fix error message handling.
- Fix usage of
file
.
- Add support for subscriptions API.
- Update
updatePush
so that lists can be updated. - Add support for more target types.
- Fix missing parameter in
contacts
function.
- Add options parameter to
contacts
,devices
andhistory
to control responses.
- Add
createContact
function. - Add
updatePush
function.
- Add
createDevice
function.
- Upgrade to and support version 2 of the API.
- Set request defaults locally so multiple instances can be used.
- Support and prefer using device IDENs over device IDs.
- Use JSON post body rather than form encoding. Fixes empty lists.
- Update API URL
- Initial release