Skip to content

Commit

Permalink
Merge pull request #27 from RnDAO/version
Browse files Browse the repository at this point in the history
version increased
  • Loading branch information
cyri113 authored May 29, 2023
2 parents 952a307 + 89ec0c3 commit b329b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@togethercrew.dev/tc-messagebroker",
"version": "0.0.32",
"version": "0.0.35",
"description": "a service that include common things that need in every microservies ",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/rabbitmq/rabbit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class RabbitMQ {
this.channel.sendToQueue(queueName, data, options);
}

onEvent(eventName: string, onMessage: (msg: amqplib.ConsumeMessage | null) => void) {
onEvent(eventName: string, onMessage: (msg: Record<string, any> | null) => void) {
this.eventFunction[eventName] = onMessage;
}

Expand Down

0 comments on commit b329b0e

Please sign in to comment.