@nestjs/cqrs
Advanced tools
Comparing version 10.2.1 to 10.2.2
@@ -34,3 +34,3 @@ import { OnModuleDestroy, Type } from '@nestjs/common'; | ||
*/ | ||
publish<TEvent extends EventBase, TContext = unknown>(event: TEvent, context: TContext): any; | ||
publish<TEvent extends EventBase, TContext = unknown>(event: TEvent, context?: TContext): any; | ||
/** | ||
@@ -40,3 +40,3 @@ * Publishes multiple events. | ||
*/ | ||
publishAll<TEvent extends EventBase, TContext = unknown>(events: TEvent[], context: TContext): any; | ||
publishAll<TEvent extends EventBase, TContext = unknown>(events: TEvent[], context?: TContext): any; | ||
bind(handler: IEventHandler<EventBase>, id: string): void; | ||
@@ -43,0 +43,0 @@ registerSagas(types?: Type<unknown>[]): void; |
{ | ||
"name": "@nestjs/cqrs", | ||
"version": "10.2.1", | ||
"version": "10.2.2", | ||
"description": "A lightweight CQRS module for Nest framework (node.js)", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
100740