Releases: aerogear/aerogear-unifiedpush-nodejs-client
Releases · aerogear/aerogear-unifiedpush-nodejs-client
Release list
0.16.1
v0.16.0
Better Errors
This release adds proper Error objects to the Promise rejections
I "Promise" this works
This latest update is some what of a complete re-write of the sender and now only returns a promise.
This is not a drop in replacement for 0.12.0.
Example
//Require the unifiedpush-node-sender library
const agSender = require('unifiedpush-node-sender');
const settings = {
url: 'http://localhost:8080/ag-push',
applicationId: '12345',
masterSecret: '123456'
};
Send a Message
//First get a handle on the client object, then use the client.sender.send method to send a message
agSender(settings).then((client) => {
client.sender.send(message, options).then((response) => {
console.log('success', response);
})
});
"Priority" release
A Documentation update around Adding the priority flag
Release 0.11.0
This release adds the request library
0.10.1 release
0.10.0 release
Keep The Head(ers) Ringing
Release Notes - AeroGear JavaScript - Version node-sender-0.9.0
Feature Request
- [AGJS-300] - Support Custom Auth Headers in the Node Sender
0.8.0 - Monday Funday
This release includes changes to the message format that is sent to the Unified Push Server version 1.1.X
To send the proper message format to the 1.0.x series, use the 0.7.X version