cqrs-eventdenormalizer
Advanced tools
Comparing version 1.9.30 to 1.9.31
@@ -224,5 +224,5 @@ 'use strict'; | ||
this.replayingVms[vm.id] = vm; | ||
if (vm.actionOnCommit === 'delete' && !this.replayingVmsToDelete[vm.id]) { | ||
if (vm.actionOnCommit === 'delete') { | ||
delete this.replayingVms[vm.id]; | ||
this.replayingVmsToDelete[vm.id] = vm; | ||
if (!this.replayingVmsToDelete[vm.id]) this.replayingVmsToDelete[vm.id] = vm; | ||
} | ||
@@ -229,0 +229,0 @@ if (vm.actionOnCommit === 'create') { |
{ | ||
"author": "adrai", | ||
"name": "cqrs-eventdenormalizer", | ||
"version": "1.9.30", | ||
"version": "1.9.31", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -0,1 +1,4 @@ | ||
## [v1.9.31](https://github.com/adrai/node-cqrs-eventdenormalizer/compare/v1.9.30...v1.9.31) | ||
- fix replay race condition when deleting and creating multiple times | ||
## [v1.9.30](https://github.com/adrai/node-cqrs-eventdenormalizer/compare/v1.9.29...v1.9.30) | ||
@@ -2,0 +5,0 @@ - updated viewmodel |
171280