@nestjs/cqrs 10.0.2 → 10.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/event-bus.js CHANGED
@@ -117,7 +117,7 @@ let EventBus = EventBus_1 = class EventBus extends utils_1.ObservableBus {
117
117
  }
118
118
  const subscription = stream$
119
119
  .pipe((0, operators_1.filter)((e) => !!e), (0, operators_1.mergeMap)((command) => (0, rxjs_1.defer)(() => this.commandBus.execute(command)).pipe((0, operators_1.catchError)((error) => {
120
- const unhandledError = this.mapToUnhandledErrorInfo(event, error);
120
+ const unhandledError = this.mapToUnhandledErrorInfo(command, error);
121
121
  this.unhandledExceptionBus.publish(unhandledError);
122
122
  this._logger.error(`Command handler which execution was triggered by Saga has thrown an unhandled exception.`, error);
123
123
  return (0, rxjs_1.of)();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/cqrs",
3
- "version": "10.0.2",
3
+ "version": "10.0.3",
4
4
  "description": "A lightweight CQRS module for Nest framework (node.js)",
5
5
  "license": "MIT",
6
6
  "url": "https://github.com/nestjs/cqrs#readme",
@@ -23,12 +23,12 @@
23
23
  "devDependencies": {
24
24
  "@commitlint/cli": "17.6.7",
25
25
  "@commitlint/config-angular": "17.6.7",
26
- "@nestjs/common": "10.1.0",
27
- "@nestjs/core": "10.1.0",
26
+ "@nestjs/common": "10.1.1",
27
+ "@nestjs/core": "10.1.1",
28
28
  "@types/node": "18.17.0",
29
29
  "@types/jest": "29.5.3",
30
- "@typescript-eslint/eslint-plugin": "6.1.0",
31
- "@typescript-eslint/parser": "6.1.0",
30
+ "@typescript-eslint/eslint-plugin": "6.2.0",
31
+ "@typescript-eslint/parser": "6.2.0",
32
32
  "eslint": "8.45.0",
33
33
  "eslint-config-prettier": "8.8.0",
34
34
  "eslint-plugin-import": "2.27.5",