b2b-platform-utils 1.1.28 → 1.1.29
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.
- package/errorsMap.js +12 -0
- package/package.json +1 -1
package/errorsMap.js
CHANGED
|
@@ -323,6 +323,18 @@ const STATIC_ERRORS = [
|
|
|
323
323
|
httpCode: 422,
|
|
324
324
|
description: "Two Factor Auth code is invalid or expired.",
|
|
325
325
|
},
|
|
326
|
+
{
|
|
327
|
+
errorCode: 1052,
|
|
328
|
+
errorKey: "cashBackCantReactivate",
|
|
329
|
+
httpCode: 422,
|
|
330
|
+
description: "Cashback cannot be reactivated in current state",
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
errorCode: 1053,
|
|
334
|
+
errorKey: "cashBackAlreadyActive",
|
|
335
|
+
httpCode: 422,
|
|
336
|
+
description: "Cashback is already active for the user",
|
|
337
|
+
},
|
|
326
338
|
];
|
|
327
339
|
|
|
328
340
|
const STATIC_BY_KEY = Object.fromEntries(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "b2b-platform-utils",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.29",
|
|
4
4
|
"description": "Shared utilities for Node.js microservices: errors map, local cache, logger, numbers, dates, filesystem, media optimization, paginator, slugger, crypto wrapper, sanitize HTML, sorting.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "KingSizer",
|