Socket
Socket
Sign inDemoInstall

@nestjs/cqrs

Package Overview
Dependencies
0
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0-next.1 to 7.0.0-next.2

6

dist/cqrs.module.d.ts

@@ -1,2 +0,2 @@

import { OnModuleInit } from '@nestjs/common';
import { OnApplicationBootstrap } from '@nestjs/common';
import { CommandBus } from './command-bus';

@@ -7,3 +7,3 @@ import { EventBus } from './event-bus';

import { ExplorerService } from './services/explorer.service';
export declare class CqrsModule<EventBase extends IEvent = IEvent> implements OnModuleInit {
export declare class CqrsModule<EventBase extends IEvent = IEvent> implements OnApplicationBootstrap {
private readonly explorerService;

@@ -14,3 +14,3 @@ private readonly eventsBus;

constructor(explorerService: ExplorerService<EventBase>, eventsBus: EventBus<EventBase>, commandsBus: CommandBus, queryBus: QueryBus);
onModuleInit(): void;
onApplicationBootstrap(): void;
}

@@ -27,3 +27,3 @@ "use strict";

}
onModuleInit() {
onApplicationBootstrap() {
const { events, queries, sagas, commands } = this.explorerService.explore();

@@ -30,0 +30,0 @@ this.eventsBus.register(events);

{
"name": "@nestjs/cqrs",
"version": "7.0.0-next.1",
"version": "7.0.0-next.2",
"description": "A lightweight CQRS module for Nest framework (node.js)",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc