b2b-platform-utils 1.1.52 → 1.1.53
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 +6 -0
- package/package.json +1 -1
package/errorsMap.js
CHANGED
|
@@ -856,6 +856,12 @@ const STATIC_ERRORS = [
|
|
|
856
856
|
httpCode: 422,
|
|
857
857
|
description: "Currency is missing or invalid.",
|
|
858
858
|
},
|
|
859
|
+
{
|
|
860
|
+
errorCode: 1140,
|
|
861
|
+
errorKey: "presetNotFound",
|
|
862
|
+
httpCode: 404,
|
|
863
|
+
description: "Preset was not found.",
|
|
864
|
+
},
|
|
859
865
|
];
|
|
860
866
|
|
|
861
867
|
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.53",
|
|
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",
|