diff --git a/packages/core/lib/queues/HandlerContainer.ts b/packages/core/lib/queues/HandlerContainer.ts index d37943a8..4314266a 100644 --- a/packages/core/lib/queues/HandlerContainer.ts +++ b/packages/core/lib/queues/HandlerContainer.ts @@ -110,7 +110,7 @@ export class MessageHandlerConfig< export class MessageHandlerConfigBuilder< MessagePayloadSchemas extends object, ExecutionContext, - PrehandlerOutput, + PrehandlerOutput = undefined, > { private readonly configs: MessageHandlerConfig< MessagePayloadSchemas, diff --git a/packages/core/package.json b/packages/core/package.json index 3a22c8f0..9ffabff6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@message-queue-toolkit/core", - "version": "9.0.0", + "version": "9.0.1", "private": false, "license": "MIT", "description": "Useful utilities, interfaces and base classes for message queue handling. Supports AMQP and SQS with a common abstraction on top currently",