@halcyon-agile/node-event-sourcing
Advanced tools
Comparing version 1.0.28 to 1.0.29
@@ -22,3 +22,3 @@ "use strict"; | ||
this.events.length && | ||
this.events[0].version % this.snapshotIn === 0) { | ||
Number.isInteger(this.events[0].version / this.snapshotIn)) { | ||
const payload = JSON.parse(JSON.stringify(this)); | ||
@@ -25,0 +25,0 @@ delete payload.events; |
{ | ||
"name": "@halcyon-agile/node-event-sourcing", | ||
"version": "1.0.28", | ||
"version": "1.0.29", | ||
"description": "> Opinionated OOP based node.js event sourcing library inspired by laravel-event-sourcing", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
47136