@adhityan/gc-nats
Advanced tools
Comparing version 2.2.2 to 2.3.0
@@ -39,2 +39,4 @@ "use strict"; | ||
const natsService = new nats_streaming_1.StreamingService(clientID, options, clusterID); | ||
debug('nats serice object created', natsService); | ||
debug('calling subscribe from startWorker actual', clientID); | ||
return natsService.subscribe(channel, messageReceived, messageValidation, durability, restartFrom); | ||
@@ -56,2 +58,3 @@ }); | ||
debug('Worker wrapper constructor running'); | ||
this.startWorker(); | ||
} | ||
@@ -58,0 +61,0 @@ startWorker() { |
{ | ||
"name": "@adhityan/gc-nats", | ||
"description": "Typescript Node.js client for NATS streaming server", | ||
"version": "2.2.2", | ||
"version": "2.3.0", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
@@ -27,2 +27,5 @@ import Debug from 'debug'; | ||
const natsService = new StreamingService(clientID, options, clusterID); | ||
debug('nats serice object created', natsService); | ||
debug('calling subscribe from startWorker actual', clientID); | ||
return natsService.subscribe(channel, messageReceived, messageValidation, durability, restartFrom); | ||
@@ -47,2 +50,3 @@ } | ||
debug('Worker wrapper constructor running'); | ||
this.startWorker(); | ||
} | ||
@@ -49,0 +53,0 @@ |
Sorry, the diff of this file is not supported yet
41119
664