@konplit-services/common 1.17.0 → 1.18.0

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.
@@ -258,6 +258,7 @@ declare class AppConfigs {
258
258
  getWalletDBURI(): string;
259
259
  getAdminWebUrl(): string;
260
260
  getClientAppUrl(): string;
261
+ getMerchantAppUrl(): string;
261
262
  getNATSURI(): string;
262
263
  getWebsiteDBURI(): string;
263
264
  getSettlementDBURI(): string;
@@ -131,6 +131,12 @@ class AppConfigs {
131
131
  }
132
132
  return this.env.CLIENT_APP_URL;
133
133
  }
134
+ getMerchantAppUrl() {
135
+ if (!this.env.MERCHANT_APP_URL) {
136
+ throw new Error("MERCHANT_APP_URL is required");
137
+ }
138
+ return this.env.MERCHANT_APP_URL;
139
+ }
134
140
  getNATSURI() {
135
141
  if (!this.env.NATS_URI) {
136
142
  throw new Error("NATS_URI is required");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.17.0",
3
+ "version": "1.18.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",