@bolt.tech/kafka-utils 1.0.0 → 1.0.1
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.
- package/build/index.js +3 -3
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.initialiseNotification = initialiseNotification;
|
|
13
13
|
exports.sendNotification = sendNotification;
|
|
14
|
-
const getTopic = require('./kafka/topicMap.kafka');
|
|
14
|
+
const getTopic = require('./utils/kafka/topicMap.kafka');
|
|
15
15
|
let notificationType;
|
|
16
16
|
function initialiseNotification(paramStorePath, nodeEnvLocal, serviceName, notificationType) {
|
|
17
17
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -30,8 +30,8 @@ function initialiseNotification(paramStorePath, nodeEnvLocal, serviceName, notif
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
const NotificationSchema = require('./schemaRegistry/notificationSchema.registry');
|
|
34
|
-
const publishToKafka = require('./kafka/publisher.kafka');
|
|
33
|
+
const NotificationSchema = require('./utils/schemaRegistry/notificationSchema.registry');
|
|
34
|
+
const publishToKafka = require('./utils/kafka/publisher.kafka');
|
|
35
35
|
function sendNotification(userId, message) {
|
|
36
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37
37
|
try {
|