nats-hemera
Advanced tools
Comparing version 5.0.0-rc.3 to 5.0.0-rc.4
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ const Joi = require('joi') |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -17,3 +17,3 @@ 'use strict' | ||
const TimeoutError = HemeraError.subclass('TimeoutError') | ||
const BusinessError = HemeraError.subclass('BusinessError') | ||
const ResponseError = HemeraError.subclass('ResponseError') | ||
const PatternNotFound = HemeraError.subclass('PatternNotFound') | ||
@@ -28,5 +28,5 @@ const MaxRecursionError = HemeraError.subclass('MaxRecursionError') | ||
TimeoutError, | ||
BusinessError, | ||
ResponseError, | ||
PatternNotFound, | ||
ProcessLoadError | ||
} |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -97,3 +97,2 @@ /** | ||
this._pattern = null | ||
this._actCallback = null | ||
this._execute = null | ||
@@ -1144,4 +1143,4 @@ this._cleanPattern = '' | ||
let error = Errio.fromObject(self._response.payload.error) | ||
const internalError = new Errors.BusinessError( | ||
'An business error was received', | ||
const internalError = new Errors.ResponseError( | ||
'Response error received', | ||
self.errorDetails | ||
@@ -1188,3 +1187,2 @@ ).causedBy(error) | ||
hemera._execute = null | ||
hemera._actCallback = null | ||
hemera.sid = 0 | ||
@@ -1203,4 +1201,3 @@ | ||
if (cb) { | ||
hemera._actCallback = cb.bind(hemera) | ||
hemera._execute = hemera._actCallback | ||
hemera._execute = cb.bind(hemera) | ||
hemera._series( | ||
@@ -1207,0 +1204,0 @@ hemera, |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ 'use strict' |
{ | ||
"name": "nats-hemera", | ||
"author": "Dustin Deus (https://github.com/StarpTech)", | ||
"version": "5.0.0-rc.3", | ||
"version": "5.0.0-rc.4", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "homepage": "https://hemerajs.github.io/hemera/", |
66870
2669