@konplit-services/common 1.0.230 → 1.0.231

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.
@@ -94,6 +94,7 @@ interface NQRCode {
94
94
  nqrpluSecret: string;
95
95
  nqrInstitutionId: string;
96
96
  nqrApiKey: string;
97
+ nqrAuthKey: string;
97
98
  }
98
99
  interface NIBSS {
99
100
  easyPay: EasyPay;
@@ -515,6 +515,9 @@ class AppConfigs {
515
515
  if (!this.env.NIBSS_NQRCODE_API_KEY) {
516
516
  throw new Error("NIBSS_NQRCODE_API_KEY is required");
517
517
  }
518
+ if (!this.env.NIBSS_NQRCODE_AUTH_API_KEY) {
519
+ throw new Error("NIBSS_NQRCODE_AUTH_API_KEY is required");
520
+ }
518
521
  if (!this.env.NIBSS_BVN_CLIENT_ID) {
519
522
  throw new Error("NIBSS_BVN_CLIENT_ID is required");
520
523
  }
@@ -555,6 +558,7 @@ class AppConfigs {
555
558
  nqrclientid: this.env.NIBSS_NQRCODE_CLIENT_ID,
556
559
  nqrpluSecret: this.env.NIBSS_NQRCODE_SECRET,
557
560
  nqrInstitutionId: this.env.NIBSS_NQRCODE_INSTITUTION_ID,
561
+ nqrAuthKey: this.env.NIBSS_NQRCODE_AUTH_API_KEY,
558
562
  nqrApiKey: this.env.NIBSS_NQRCODE_API_KEY,
559
563
  },
560
564
  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.231",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",