@konplit-services/common 1.0.404 → 1.0.406
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
CHANGED
package/build/app.configs.js
CHANGED
|
@@ -59,6 +59,12 @@ class AppConfigs {
|
|
|
59
59
|
}
|
|
60
60
|
return this.env.MONGO_URI_MONO;
|
|
61
61
|
}
|
|
62
|
+
getUssdDBURI() {
|
|
63
|
+
if (!this.env.MONGO_URI_USSD_PAYMENT) {
|
|
64
|
+
throw new Error("MONGO_URI_USSD_PAYMENT is required");
|
|
65
|
+
}
|
|
66
|
+
return this.env.MONGO_URI_USSD_PAYMENT;
|
|
67
|
+
}
|
|
62
68
|
getRevenueDBURI() {
|
|
63
69
|
if (!this.env.MONGO_REVENUE_URI) {
|
|
64
70
|
throw new Error("MONGO_REVENUE_URI is required");
|