message-brokers 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -95,6 +95,13 @@ declare module "message-brokers" {
95
95
  */
96
96
  publishHarStub(har_stub: object): Promise<PublishResponse>;
97
97
 
98
+ /**
99
+ * Publishes a trending data into the exchange.
100
+ * @param trending_data - The trending data object to be published.
101
+ * @returns A promise that resolves to a response object.
102
+ */
103
+ publishTrendingData(trending_data: object): Promise<PublishResponse>;
104
+
98
105
  /**
99
106
  * Publishes all pending messages stored in the cache.
100
107
  * @returns A promise that resolves to a response object indicating the result of the operation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "message-brokers",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "This package contains functions to publish the messages into the message brokers like rabbitmq.",
5
5
  "main": "lib/message-brokers.js",
6
6
  "types": "lib/types/message-brokers.d.ts",