@konplit-services/common 1.0.177 → 1.0.178

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.
@@ -103,6 +103,7 @@ declare class AppConfigs {
103
103
  getAccountDBURI(): string;
104
104
  getMerchantDBURI(): string;
105
105
  getMonoDBURI(): string;
106
+ getQRPaymentDBURI(): string;
106
107
  getTransferDBURI(): string;
107
108
  getVirtualAccountDBURI(): string;
108
109
  getWalletDBURI(): string;
@@ -47,6 +47,12 @@ class AppConfigs {
47
47
  }
48
48
  return this.env.MONGO_URI_MONO;
49
49
  }
50
+ getQRPaymentDBURI() {
51
+ if (!this.env.MONGO_URI_QRPAYMENT) {
52
+ throw new Error("MONGO_URI_QRPAYMENT is required");
53
+ }
54
+ return this.env.MONGO_URI_QRPAYMENT;
55
+ }
50
56
  getTransferDBURI() {
51
57
  if (!this.env.MONGO_URI_TRANSFER) {
52
58
  throw new Error("MONGO_URI_TRANSFER is required");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.177",
3
+ "version": "1.0.178",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",