Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cqrs-saga

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cqrs-saga - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

projectFilesBackup/.idea/workspace.xml

1

lib/definitions/saga.js

@@ -191,2 +191,3 @@ 'use strict';

sagaModel.set(data);
sagaModel.actionOnCommit = 'update';
}

@@ -193,0 +194,0 @@ callb(null, sagaModel);

@@ -449,2 +449,3 @@ 'use strict';

sagaModel.set(s);
sagaModel.actionOnCommit = 'update';

@@ -518,2 +519,3 @@ var calledAddCommandToSend = false;

sagaModel.set(s);
sagaModel.actionOnCommit = 'update';
sagaModel.commit = function (clb) {

@@ -520,0 +522,0 @@ if (sagaModel.isDestroyed()) {

9

lib/sagaModel.js

@@ -23,6 +23,8 @@ 'use strict';

this.id = id;
this.destroyed = false;
this.commandsToSend = [];
this.actionOnCommit = 'create';
}

@@ -55,3 +57,3 @@

},
/**

@@ -64,3 +66,3 @@ * Returns the commit date.

},
/**

@@ -160,2 +162,3 @@ * Defines a timeout date and optional timeout commands, and adds them to this model.

this.destroyed = true;
this.actionOnCommit = 'delete';
},

@@ -162,0 +165,0 @@

{
"author": "adrai",
"name": "cqrs-saga",
"version": "1.2.3",
"version": "1.2.4",
"private": false,

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -0,1 +1,4 @@

## [v1.2.4](https://github.com/adrai/node-cqrs-saga/compare/v1.2.3...v1.2.4)
- added convenience information on sagaModel (actionOnCommit)
## [v1.2.3](https://github.com/adrai/node-cqrs-saga/compare/v1.2.1...v1.2.3)

@@ -2,0 +5,0 @@ - fix usage with own db implementation

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc