b2b-platform-utils 1.1.39 → 1.1.40
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 +18 -0
- package/package.json +1 -1
package/errorsMap.js
CHANGED
|
@@ -545,6 +545,24 @@ const STATIC_ERRORS = [
|
|
|
545
545
|
httpCode: 422,
|
|
546
546
|
description: "Balance set target bucket is missing or invalid.",
|
|
547
547
|
},
|
|
548
|
+
{
|
|
549
|
+
errorCode: 1089,
|
|
550
|
+
errorKey: "pageSeoNotFound",
|
|
551
|
+
httpCode: 404,
|
|
552
|
+
description: "Page SEO was not found.",
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
errorCode: 1090,
|
|
556
|
+
errorKey: "pageSeoAttributesNotFound",
|
|
557
|
+
httpCode: 404,
|
|
558
|
+
description: "Page SEO attributes were not found.",
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
errorCode: 1091,
|
|
562
|
+
errorKey: "pageSeoAlreadyExists",
|
|
563
|
+
httpCode: 422,
|
|
564
|
+
description: "Page SEO already exists.",
|
|
565
|
+
},
|
|
548
566
|
];
|
|
549
567
|
|
|
550
568
|
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.40",
|
|
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",
|