diff --git a/lib/nats.js b/lib/nats.js index bb9a409f..3b8a0935 100644 --- a/lib/nats.js +++ b/lib/nats.js @@ -21,7 +21,7 @@ var net = require('net'), /** * Constants */ -var VERSION = '0.7.29', +var VERSION = '0.8', DEFAULT_PORT = 4222, DEFAULT_PRE = 'nats://localhost:', @@ -1102,7 +1102,7 @@ Client.prototype.flush = function(opt_callback) { * Publish a message to the given subject, with optional reply and callback. * * @param {String} subject - * @param {String} [opt_msg] + * @param {String} [msg] * @param {String} [opt_reply] * @param {Function} [opt_callback] * @api public @@ -1278,6 +1278,7 @@ Client.prototype.unsubscribe = function(sid, opt_max) { * @param {Mixed} sid * @param {Number} timeout * @param {Number} expected + * @param {Function} callback * @api public */ Client.prototype.timeout = function(sid, timeout, expected, callback) { diff --git a/package.json b/package.json index 6816eafc..37a44bcd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nats", - "version": "0.7.29", + "version": "0.8", "description": "Node.js client for NATS, a lightweight, high-performance cloud native messaging system", "keywords": [ "nats",