@konplit-services/common 1.0.210 → 1.0.212

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.
@@ -45,7 +45,7 @@ class ResponsePublisher {
45
45
  * @param {number} timeout - The timeout duration to wait for a response
46
46
  * @returns {Promise<any>} - Resolves with the reply data from the responding service
47
47
  */
48
- request(data, timeout = 10000) {
48
+ request(data, timeout = 1000 * 60 * 5) {
49
49
  return __awaiter(this, void 0, void 0, function* () {
50
50
  try {
51
51
  // Send request and wait for the response
@@ -1,6 +1,6 @@
1
1
  import { ResSubjects } from "../../subjects";
2
2
  export interface CardTokenizeEvent {
3
- subject: ResSubjects.CardInitiationTransaction;
3
+ subject: ResSubjects.CardTokenize;
4
4
  data: {
5
5
  transactionId: string;
6
6
  authData: string;
@@ -77,6 +77,7 @@ export declare enum ResSubjects {
77
77
  NIBSSInstitutions = "res.nibss.institution.list",
78
78
  QRDynamicCodeCreated = "res.dynamic.code.created",
79
79
  CardInitiationTransaction = "res.card.initiation.transaction",
80
+ CardTokenize = "res.card.tokenize",
80
81
  CardRecurrentTransaction = "res.card.recurrent.transaction",
81
82
  CardAuthenticatedOTP = "res.card.auth.otp",
82
83
  CardAuthorized3DS = "res.card.ath.threeds",
@@ -111,6 +111,7 @@ var ResSubjects;
111
111
  ResSubjects["QRDynamicCodeCreated"] = "res.dynamic.code.created";
112
112
  //Interswitch
113
113
  ResSubjects["CardInitiationTransaction"] = "res.card.initiation.transaction";
114
+ ResSubjects["CardTokenize"] = "res.card.tokenize";
114
115
  ResSubjects["CardRecurrentTransaction"] = "res.card.recurrent.transaction";
115
116
  ResSubjects["CardAuthenticatedOTP"] = "res.card.auth.otp";
116
117
  ResSubjects["CardAuthorized3DS"] = "res.card.ath.threeds";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.210",
3
+ "version": "1.0.212",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",