cqrs-eventdenormalizer
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -297,7 +297,6 @@ 'use strict'; | ||
if (self.isReplaying && !self.replayingVms[vm.id]) { | ||
self.replayingVms[vm.id] = vm; | ||
} | ||
if (self.isReplaying) { | ||
if (!self.replayingVms[vm.id]) { | ||
self.replayingVms[vm.id] = vm; | ||
} | ||
return callback(null, self.replayingVms[vm.id]); | ||
@@ -358,2 +357,9 @@ } | ||
}); | ||
mergedVms.forEach(function (vm) { | ||
if (!self.replayingVms[vm.id]) { | ||
self.replayingVms[vm.id] = vm; | ||
} | ||
}); | ||
return callback(null, mergedVms); | ||
@@ -360,0 +366,0 @@ } |
{ | ||
"author": "adrai", | ||
"name": "cqrs-eventdenormalizer", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -0,1 +1,4 @@ | ||
## [v1.1.1](https://github.com/adrai/node-cqrs-eventdenormalizer/compare/v1.1.0...v1.1.1) | ||
- little optimization for replay | ||
## [v1.1.0](https://github.com/adrai/node-cqrs-eventdenormalizer/compare/v1.0.10...v1.1.0) | ||
@@ -2,0 +5,0 @@ - added possibility to denormalize multiple viewmodels in same collection |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3063
172147