From 42a902b0238ae60ddf47ad6821c240a31414e708 Mon Sep 17 00:00:00 2001 From: Mohammad Twin Date: Mon, 29 May 2023 10:00:26 +0400 Subject: [PATCH 1/4] version increased --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 87871b4..27ff166 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@togethercrew.dev/tc-messagebroker", - "version": "0.0.32", + "version": "0.0.33", "description": "a service that include common things that need in every microservies ", "main": "./dist/index.js", "types": "./dist/index.d.ts", From 3aa04cdd7ff98d8883ec616e81e4c996e7899257 Mon Sep 17 00:00:00 2001 From: Mohammad Twin Date: Mon, 29 May 2023 12:09:15 +0400 Subject: [PATCH 2/4] fix: type was fixed --- src/rabbitmq/rabbit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rabbitmq/rabbit.ts b/src/rabbitmq/rabbit.ts index 10f5748..1ee1643 100644 --- a/src/rabbitmq/rabbit.ts +++ b/src/rabbitmq/rabbit.ts @@ -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 | null) => void) { this.eventFunction[eventName] = onMessage; } From 2dbcd94b1fbd3afad237be69d588f475b9bf511d Mon Sep 17 00:00:00 2001 From: Mohammad Twin Date: Mon, 29 May 2023 12:10:11 +0400 Subject: [PATCH 3/4] feat: version increased --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 27ff166..70c8594 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@togethercrew.dev/tc-messagebroker", - "version": "0.0.33", + "version": "0.0.34", "description": "a service that include common things that need in every microservies ", "main": "./dist/index.js", "types": "./dist/index.d.ts", From 89ec0c323c942eb20cee9ff7342f8fcb7c68cfce Mon Sep 17 00:00:00 2001 From: Cyrille <1618640+cyri113@users.noreply.github.com> Date: Mon, 29 May 2023 11:47:53 +0200 Subject: [PATCH 4/4] v0.0.35 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 70c8594..3062745 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@togethercrew.dev/tc-messagebroker", - "version": "0.0.34", + "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",