
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@forlagshuset/nestjs-message-dispatcher
Advanced tools
Library to facilitate message creation & sending
module
Module({
controllers: [TestController],
providers: [
LoggerService,
MessageDispatcherInterceptor,
{
provide: AsyncLoggerProvider,
useExisting: LoggerService,
},
{
provide: Options,
useValue: <Options>{
subject,
messageData: <Partial<Message>>{
service: {
type: MsgServiceType.App,
id: serviceId,
},
action: {
type: MsgActionType.Object,
},
object: {
type: MsgObjectType.ErudioNamespace,
},
},
},
},
],
}).compile();
controller
@Controller('/test')
export class TestController {
@MessageEventEmitter({
objectIdGetter: (request) => request.params.id,
action: Action.CREATED,
})
@Get(':id')
async test(@Param() params: { id: string }): Promise<{ id: string }> {
// do some action
// Message created and event emitted on success calls.
}
}
FAQs
Creates and send messages to nats
We found that @forlagshuset/nestjs-message-dispatcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.