@konplit-services/common 1.0.287 → 1.0.288

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.
@@ -297,6 +297,7 @@ declare class AppConfigs {
297
297
  };
298
298
  getValuePayDetails(): {
299
299
  visa_redirect_url: string;
300
+ visa_redirect_fail_url: string;
300
301
  visa_callback_url: string;
301
302
  valuepay_ceo: string;
302
303
  support_email: string;
@@ -489,6 +489,9 @@ class AppConfigs {
489
489
  if (!this.env.VALUEPAY_VISA_REDIRECT_URL) {
490
490
  throw new Error("VALUEPAY_VISA_REDIRECT_URL is required");
491
491
  }
492
+ if (!this.env.VALUEPAY_VISA_FAIL_REDIRECT_URL) {
493
+ throw new Error("VALUEPAY_VISA_FAIL_REDIRECT_URL is required");
494
+ }
492
495
  if (!this.env.VALUEPAY_VISA_CALLBACK_URL) {
493
496
  throw new Error("VALUEPAY_VISA_CALLBACK_URL is required");
494
497
  }
@@ -515,6 +518,7 @@ class AppConfigs {
515
518
  }
516
519
  return {
517
520
  visa_redirect_url: this.env.VALUEPAY_VISA_REDIRECT_URL,
521
+ visa_redirect_fail_url: this.env.VALUEPAY_VISA_FAIL_REDIRECT_URL,
518
522
  visa_callback_url: this.env.VALUEPAY_VISA_CALLBACK_URL,
519
523
  valuepay_ceo: this.env.VALUEPAY_CEO,
520
524
  support_email: this.env.VALUEPAY_SUPPORT_EMAIL,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.287",
3
+ "version": "1.0.288",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",