@konplit-services/common 1.0.18 → 1.0.19

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.
@@ -75,7 +75,6 @@ export declare const error_codes: {
75
75
  CARD_DATE_NOT_VALID: string;
76
76
  CARD_BLOCKED: string;
77
77
  SERVICE_NOT_AVAILABLE: string;
78
- SERVER_NOT_ERROR: string;
79
78
  INVALID_REQUEST: string;
80
79
  INVALID_KEY: string;
81
80
  INVALID_REFERENCE_ID: string;
@@ -107,4 +106,8 @@ export declare const error_codes: {
107
106
  error_code: string;
108
107
  code: number;
109
108
  };
109
+ SERVER_ERROR: {
110
+ error_code: string;
111
+ code: number;
112
+ };
110
113
  };
@@ -81,7 +81,6 @@ exports.error_codes = {
81
81
  CARD_DATE_NOT_VALID: "CARD_DATE_NOT_VALID",
82
82
  CARD_BLOCKED: "CARD_BLOCKED",
83
83
  SERVICE_NOT_AVAILABLE: "SERVICE_NOT_AVAILABLE",
84
- SERVER_NOT_ERROR: "SERVER_ERROR",
85
84
  INVALID_REQUEST: "INVALID_REQUEST",
86
85
  INVALID_KEY: "INVALID_KEY",
87
86
  INVALID_REFERENCE_ID: "INVALID_REFERENCE_ID",
@@ -115,4 +114,8 @@ exports.error_codes = {
115
114
  error_code: "RESOUCE_NOT_FOUND",
116
115
  code: 400006,
117
116
  },
117
+ SERVER_ERROR: {
118
+ error_code: "SERVER_ERROR",
119
+ code: 500000,
120
+ },
118
121
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",