node-nats-streaming
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -150,3 +150,3 @@ | ||
/** | ||
* Configures the subscription start mode. Note that options like | ||
* Configures the subscription start mode. | ||
* Typically you would invoke this message with StartPostion#FIRST, StartPosition#NEW_ONLY or | ||
@@ -153,0 +153,0 @@ * StartPosition#LAST_RECEIVED. For all other uses (SubscriptionOptions#setStartSequence, |
@@ -24,3 +24,3 @@ /*! | ||
*/ | ||
var VERSION = '0.0.4', | ||
var VERSION = '0.0.5', | ||
DEFAULT_PORT = 4222, | ||
@@ -27,0 +27,0 @@ DEFAULT_PRE = 'nats://localhost:', |
{ | ||
"name": "node-nats-streaming", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Node.js client for NATS Streaming, a lightweight, high-performance cloud native messaging system", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -6,3 +6,3 @@ # [Work-in-progress] node-nats-streaming - Node.js NATS Streaming Client | ||
[![License MIT](https://img.shields.io/npm/l/express.svg)](http://opensource.org/licenses/MIT) | ||
[![Build Status](https://travis-ci.org/nats-io/node-nats-streaming.svg?branch=master)](http://travis-ci.org/nats-io/node-nats-streaming) [![npm version](https://badge.fury.io/js/nats.svg)](http://badge.fury.io/js/nats)[![Coverage Status](https://coveralls.io/repos/github/nats-io/node-nats-streaming/badge.svg?branch=master)](https://coveralls.io/github/nats-io/node-nats-streaming?branch=master) | ||
[![Build Status](https://travis-ci.org/nats-io/node-nats-streaming.svg?branch=master)](http://travis-ci.org/nats-io/node-nats-streaming) [![npm version](https://badge.fury.io/js/node-nats-streaming.svg)](http://badge.fury.io/js/nats)[![Coverage Status](https://coveralls.io/repos/github/nats-io/node-nats-streaming/badge.svg?branch=master)](https://coveralls.io/github/nats-io/node-nats-streaming?branch=master) | ||
@@ -73,3 +73,3 @@ NATS Streaming provides the following high-level feature set: | ||
// Subscribe starting at a specific time | ||
Date d = new Date(2016, 7, 8); // August 8th, 2016 | ||
var d = new Date(2016, 7, 8); // August 8th, 2016 | ||
var opts = stan.subscriptionOptions(); | ||
@@ -109,3 +109,3 @@ opts.setStartTime(d); | ||
}); | ||
... | ||
// ... | ||
// client receives message sequence 1-40, and disconnects | ||
@@ -112,0 +112,0 @@ stan.close(); |
161282