@axinom/mosaic-message-bus 0.21.0-rc.2 → 0.21.0-rc.20

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.
@@ -7,5 +7,5 @@ import { BrokerProxy } from '../broker';
7
7
  * @param broker The RabbitMQ broker to use for checking the connectivity.
8
8
  * @returns A `Gauge` metric with a name `ax_rabbitmq_connectivity`.
9
9
  */
10
- export declare const CreateRabbitMQConnectivityMetric: (broker: BrokerProxy) => Metric<string>;
10
+ export declare const createRabbitMQConnectivityMetric: (broker: BrokerProxy) => Metric<string>;
11
11
  //# sourceMappingURL=rabbitmq-metrics.d.ts.map
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateRabbitMQConnectivityMetric = void 0;
3
+ exports.createRabbitMQConnectivityMetric = void 0;
4
4
  /* eslint-disable no-case-declarations */
5
5
  const prom_client_1 = require("prom-client");
6
6
  /**
@@ -10,7 +10,7 @@ const prom_client_1 = require("prom-client");
10
10
  * @param broker The RabbitMQ broker to use for checking the connectivity.
11
11
  * @returns A `Gauge` metric with a name `ax_rabbitmq_connectivity`.
12
12
  */
13
- const CreateRabbitMQConnectivityMetric = (broker) => {
13
+ const createRabbitMQConnectivityMetric = (broker) => {
14
14
  return new prom_client_1.Gauge({
15
15
  name: `ax_rabbitmq_connectivity`,
16
16
  help: `Connection status from the service to the RabbitMQ broker`,
@@ -19,5 +19,5 @@ const CreateRabbitMQConnectivityMetric = (broker) => {
19
19
  },
20
20
  });
21
21
  };
22
- exports.CreateRabbitMQConnectivityMetric = CreateRabbitMQConnectivityMetric;
22
+ exports.createRabbitMQConnectivityMetric = createRabbitMQConnectivityMetric;
23
23
  //# sourceMappingURL=rabbitmq-metrics.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-message-bus",
3
- "version": "0.21.0-rc.2",
3
+ "version": "0.21.0-rc.20",
4
4
  "description": "Messaging library for Axinom Mosaic services",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -29,7 +29,7 @@
29
29
  "lint": "eslint . --ext .ts,.tsx,.js --color --cache"
30
30
  },
31
31
  "dependencies": {
32
- "@axinom/mosaic-message-bus-abstractions": "^0.8.0-rc.2",
32
+ "@axinom/mosaic-message-bus-abstractions": "^0.8.0-rc.20",
33
33
  "amqplib": "^0.10.3",
34
34
  "dotenv": "^8.2.0",
35
35
  "prom-client": "^13.2.0",
@@ -51,5 +51,5 @@
51
51
  "publishConfig": {
52
52
  "access": "public"
53
53
  },
54
- "gitHead": "d11756b27f4b3ab9837f13632a2e5d82e05a920e"
54
+ "gitHead": "4d906f44b3e1e97bd19c0c8f2571ec1cdcb2fb5d"
55
55
  }
@@ -9,7 +9,7 @@ import { BrokerProxy } from '../broker';
9
9
  * @param broker The RabbitMQ broker to use for checking the connectivity.
10
10
  * @returns A `Gauge` metric with a name `ax_rabbitmq_connectivity`.
11
11
  */
12
- export const CreateRabbitMQConnectivityMetric = (
12
+ export const createRabbitMQConnectivityMetric = (
13
13
  broker: BrokerProxy,
14
14
  ): Metric<string> => {
15
15
  return new Gauge({