@konplit-services/common 1.0.316 → 1.0.317
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/app.configs.d.ts +1 -0
- package/build/app.configs.js +6 -0
- package/package.json +1 -1
package/build/app.configs.d.ts
CHANGED
package/build/app.configs.js
CHANGED
|
@@ -143,6 +143,12 @@ class AppConfigs {
|
|
|
143
143
|
}
|
|
144
144
|
return this.env.MONGO_KORE_URI;
|
|
145
145
|
}
|
|
146
|
+
getNotificationDBURI() {
|
|
147
|
+
if (!this.env.MONGO_NOTIFICATION_URI) {
|
|
148
|
+
throw new Error("MONGO_NOTIFICATION_URI is required");
|
|
149
|
+
}
|
|
150
|
+
return this.env.MONGO_NOTIFICATION_URI;
|
|
151
|
+
}
|
|
146
152
|
getNATSPassword() {
|
|
147
153
|
if (!this.env.NATS_PASSWORD) {
|
|
148
154
|
throw new Error("NATS_PASSWORD is required");
|