cqrs-eventdenormalizer
Advanced tools
Comparing version 1.12.4 to 1.12.5
@@ -277,8 +277,3 @@ 'use strict'; | ||
function retry (retryIn, callback) { | ||
if (!callback && _.isFunction(retryIn)) { | ||
callback = retryIn; | ||
retryIn = 0; | ||
} | ||
function retry (retryIn) { | ||
if (self.collection.isReplaying) { | ||
@@ -337,3 +332,3 @@ var debugMsg = '[' + self.name + ']' + debugOutPut + ' finishing denormalization because is replaying!'; | ||
if (arguments.length === 0) { | ||
return retry(callback); | ||
return retry(); | ||
} | ||
@@ -343,8 +338,8 @@ | ||
if (!_.isFunction(arguments[0])) { | ||
return retry(arguments[0], callback); | ||
return retry(arguments[0]); | ||
} | ||
return retry(arguments[0]); | ||
return retry(); | ||
} | ||
retry(arguments[0], arguments[1]); | ||
retry(arguments[0]); | ||
}, | ||
@@ -351,0 +346,0 @@ |
{ | ||
"author": "adrai", | ||
"name": "cqrs-eventdenormalizer", | ||
"version": "1.12.4", | ||
"version": "1.12.5", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -568,10 +568,2 @@ # Introduction | ||
} | ||
// and if you pass in a callback, then: | ||
//if (vm.actionOnCommit === 'create') { | ||
// return this.retry(callback); | ||
// // or | ||
// //return this.retry(100, callback); // retries to denormalize again in 0-100ms | ||
// // or | ||
// //return this.retry({ from: 500, to: 8000 }, callback); // retries to denormalize again in 500-8000ms | ||
//} | ||
@@ -578,0 +570,0 @@ vm.set('firstname', data.firstname); |
@@ -0,1 +1,4 @@ | ||
## [v1.12.5](https://github.com/adrai/node-cqrs-eventdenormalizer/compare/v1.12.4...v1.12.5) | ||
- fixing dynamodb DocumentClient initialization [#65](https://github.com/adrai/node-cqrs-eventdenormalizer/pull/65) thanks to [nanov](https://github.com/nanov) | ||
## [v1.12.4](https://github.com/adrai/node-cqrs-eventdenormalizer/compare/v1.12.3...v1.12.4) | ||
@@ -2,0 +5,0 @@ - [optimization] skip to load vm if viewbuilder has not requested it via shouldHandle function |
196400
29
4552
882