pushover-notifications
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -30,3 +30,26 @@ var https = require( 'https' ), | ||
this.user = opts.user; | ||
this.sounds = {}; | ||
this.sounds = { | ||
"pushover":"Pushover (default)", | ||
"bike":"Bike", | ||
"bugle":"Bugle", | ||
"cashregister":"Cash Register", | ||
"classical":"Classical", | ||
"cosmic":"Cosmic", | ||
"falling":"Falling", | ||
"gamelan":"Gamelan", | ||
"incoming":"Incoming", | ||
"intermission":"Intermission", | ||
"magic":"Magic", | ||
"mechanical":"Mechanical", | ||
"pianobar":"Piano Bar", | ||
"siren":"Siren", | ||
"spacealarm":"Space Alarm", | ||
"tugboat":"Tug Boat", | ||
"alien":"Alien Alarm (long)", | ||
"climb":"Climb (long)", | ||
"persistent":"Persistent (long)", | ||
"echo":"Pushover Echo (long)", | ||
"updown":"Up Down (long)", | ||
"none":"None (silent)" | ||
}; | ||
@@ -33,0 +56,0 @@ if ( opts.debug ) { |
@@ -5,3 +5,3 @@ { | ||
"description": "Pushover API for node.js", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"homepage": "http://github.com/qbit/node-pushover", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -20,2 +20,3 @@ var push = require( '../lib/pushover.js' ); | ||
console.log( result ); | ||
process.exit(0); | ||
}); |
@@ -17,7 +17,6 @@ var push = require( '../lib/pushover.js' ); | ||
setTimeout( function() { | ||
p.send( msg, function( err, result ) { | ||
console.log( 'error', err ); | ||
console.log( 'result', result ); | ||
}); | ||
}, 5000); | ||
p.send( msg, function( err, result ) { | ||
console.log( 'error', err ); | ||
console.log( 'result', result ); | ||
process.exit(0); | ||
}); |
6072
165