@konplit-services/common 1.0.230 → 1.0.233

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.
@@ -72,6 +72,7 @@ interface EasyPay {
72
72
  clientId: string;
73
73
  secret: string;
74
74
  easyPayBillerID: string;
75
+ easyPayAuthKey: string;
75
76
  easyPayMandateRef: string;
76
77
  easyPayClientCode: string;
77
78
  }
@@ -94,6 +95,7 @@ interface NQRCode {
94
95
  nqrpluSecret: string;
95
96
  nqrInstitutionId: string;
96
97
  nqrApiKey: string;
98
+ nqrAuthKey: string;
97
99
  }
98
100
  interface NIBSS {
99
101
  easyPay: EasyPay;
@@ -488,6 +488,9 @@ class AppConfigs {
488
488
  if (!this.env.NIBSS_EASYPAY_MANDATE_REF) {
489
489
  throw new Error("NIBSS_EASYPAY_MANDATE_REF is required");
490
490
  }
491
+ if (!this.env.NIBSS_EASYPAY_AUTH_KEY) {
492
+ throw new Error("NIBSS_EASYPAY_AUTH_KEY is required");
493
+ }
491
494
  if (!this.env.NIBSS_EASYPAY_CLIENT_CODE) {
492
495
  throw new Error("NIBSS_EASYPAY_CLIENT_CODE is required");
493
496
  }
@@ -515,6 +518,9 @@ class AppConfigs {
515
518
  if (!this.env.NIBSS_NQRCODE_API_KEY) {
516
519
  throw new Error("NIBSS_NQRCODE_API_KEY is required");
517
520
  }
521
+ if (!this.env.NIBSS_NQRCODE_AUTH_API_KEY) {
522
+ throw new Error("NIBSS_NQRCODE_AUTH_API_KEY is required");
523
+ }
518
524
  if (!this.env.NIBSS_BVN_CLIENT_ID) {
519
525
  throw new Error("NIBSS_BVN_CLIENT_ID is required");
520
526
  }
@@ -544,6 +550,7 @@ class AppConfigs {
544
550
  easyPayBillerID: this.env.NIBSS_EASYPAY_BILLER_ID,
545
551
  easyPayMandateRef: this.env.NIBSS_EASYPAY_MANDATE_REF,
546
552
  easyPayClientCode: this.env.NIBSS_EASYPAY_CLIENT_CODE,
553
+ easyPayAuthKey: this.env.NIBSS_EASYPAY_AUTH_KEY,
547
554
  },
548
555
  payplus: {
549
556
  base_url: this.env.NIBSS_PAYPLUS_BASE_URL,
@@ -555,6 +562,7 @@ class AppConfigs {
555
562
  nqrclientid: this.env.NIBSS_NQRCODE_CLIENT_ID,
556
563
  nqrpluSecret: this.env.NIBSS_NQRCODE_SECRET,
557
564
  nqrInstitutionId: this.env.NIBSS_NQRCODE_INSTITUTION_ID,
565
+ nqrAuthKey: this.env.NIBSS_NQRCODE_AUTH_API_KEY,
558
566
  nqrApiKey: this.env.NIBSS_NQRCODE_API_KEY,
559
567
  },
560
568
  bvn: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.230",
3
+ "version": "1.0.233",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",