@konplit-services/common 1.0.225 → 1.0.226

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.
@@ -121,6 +121,7 @@ declare class AppConfigs {
121
121
  getNATSURI(): string;
122
122
  getWebsiteDBURI(): string;
123
123
  getSettlementDBURI(): string;
124
+ getBvnAuthDBURI(): string;
124
125
  getOpayDBURI(): string;
125
126
  getKoreDBURI(): string;
126
127
  getNATSPassword(): string;
@@ -89,6 +89,12 @@ class AppConfigs {
89
89
  }
90
90
  return this.env.MONGO_SETTLEMENT_URI;
91
91
  }
92
+ getBvnAuthDBURI() {
93
+ if (!this.env.MONGO_BVN_AUTH_URI) {
94
+ throw new Error("MONGO_BVN_AUTH_URI is required");
95
+ }
96
+ return this.env.MONGO_BVN_AUTH_URI;
97
+ }
92
98
  getOpayDBURI() {
93
99
  if (!this.env.MONGO_OPAY_URI) {
94
100
  throw new Error("MONGO_OPAY_URI is required");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.225",
3
+ "version": "1.0.226",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",