Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed naming of handleUndispatchedEvents option

  • Loading branch information...
commit ed3311d55fe8325a1c1674745e864410b9f55106 1 parent 21171ac
@adrai authored
Showing with 8 additions and 5 deletions.
  1. +5 −2 README.md
  2. +2 −2 lib/domain.js
  3. +1 −1  package.json
View
7 README.md
@@ -26,7 +26,7 @@ It can be very useful as domain component if you work with (d)ddd, cqrs, eventde
snapshotThreshold: 10,
forcedQueuing: false,
disableQueuing: false,
- handleUpdispatchedEvents: true//,
+ handleUndispatchedEvents: true//,
// retryOnConcurrencyTimeout: 800,
// commandLock: { type: 'inMemory', collectionName: 'commandlock' }
}, function(err) {
@@ -79,6 +79,10 @@ See [tests](https://github.com/adrai/node-cqrs-domain/tree/master/test) for deta
# Release Notes
+## v0.7.4
+
+- fixed naming of handleUndispatchedEvents option
+
## v0.7.3
- updated eventstore
@@ -98,7 +102,6 @@ See [tests](https://github.com/adrai/node-cqrs-domain/tree/master/test) for deta
## v0.6.1
- buffer commands by aggregate id
->>>>>>> 2c334aca7fffdae5fd1ff21fe0044c1a51100356
## v0.6.0
View
4 lib/domain.js
@@ -67,7 +67,7 @@ module.exports = domain = _.extend(new EventEmitter2({
// commandLock: { type: 'inMemory', collectionName: 'commandlock' },
forcedQueuing: false,
disableQueuing: false,
- handleUpdispatchedEvents: true,
+ handleUndispatchedEvents: true,
retryOnConcurrencyTimeout: 800,
snapshotThreshold: 10
};
@@ -95,7 +95,7 @@ module.exports = domain = _.extend(new EventEmitter2({
return callback(err);
}
- if (options.handleUpdispatchedEvents) {
+ if (options.handleUndispatchedEvents) {
es.getUndispatchedEvents(function(err, evts) {
if (evts && evts.length > 0) {
_.each(evts, function(evt) {
View
2  package.json
@@ -1,7 +1,7 @@
{
"author": "adrai",
"name": "cqrs-domain",
- "version": "0.7.3",
+ "version": "0.7.4",
"private": false,
"main": "index.js",
"engines": {
Please sign in to comment.
Something went wrong with that request. Please try again.