b2b-platform-utils 1.1.51 → 1.1.52
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 +13 -1
- package/package.json +1 -1
package/errorsMap.js
CHANGED
|
@@ -843,7 +843,19 @@ const STATIC_ERRORS = [
|
|
|
843
843
|
errorKey: "invalidKycUserId",
|
|
844
844
|
httpCode: 422,
|
|
845
845
|
description: "KYC user identifier is missing or invalid.",
|
|
846
|
-
}
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
errorCode: 1138,
|
|
849
|
+
errorKey: "invalidUserId",
|
|
850
|
+
httpCode: 422,
|
|
851
|
+
description: "User identifier is missing or invalid.",
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
errorCode: 1139,
|
|
855
|
+
errorKey: "invalidCurrency",
|
|
856
|
+
httpCode: 422,
|
|
857
|
+
description: "Currency is missing or invalid.",
|
|
858
|
+
},
|
|
847
859
|
];
|
|
848
860
|
|
|
849
861
|
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.52",
|
|
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",
|