@konplit-services/common 1.12.0 → 1.13.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.
@@ -270,6 +270,7 @@ declare class AppConfigs {
270
270
  getBVNEnvironment(): string;
271
271
  getSettlementInterval(): string;
272
272
  getCardExpiryInterval(): string;
273
+ getRequeryTransactionInterval(): string;
273
274
  getNodeMAilDetails(): {
274
275
  host: string;
275
276
  port: number;
@@ -203,6 +203,12 @@ class AppConfigs {
203
203
  }
204
204
  return this.env.CARD_EXPIRY_INTERVAL;
205
205
  }
206
+ getRequeryTransactionInterval() {
207
+ if (!this.env.REQUERY_TRANSACTION) {
208
+ throw new Error("REQUERY_TRANSACTION is required");
209
+ }
210
+ return this.env.REQUERY_TRANSACTION;
211
+ }
206
212
  getNodeMAilDetails() {
207
213
  if (!this.env.MAIL_HOST) {
208
214
  throw new Error("MAIL_HOST is required");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",