b2b-platform-utils 1.1.78 → 1.1.80
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
|
@@ -1296,6 +1296,12 @@ const STATIC_ERRORS = [
|
|
|
1296
1296
|
httpCode: 403,
|
|
1297
1297
|
description: "Authenticated user lacks the required permission.",
|
|
1298
1298
|
},
|
|
1299
|
+
{
|
|
1300
|
+
errorCode: 1213,
|
|
1301
|
+
errorKey: "withdrawalRejected",
|
|
1302
|
+
httpCode: 422,
|
|
1303
|
+
description: "Withdrawal was rejected and cannot be processed.",
|
|
1304
|
+
},
|
|
1299
1305
|
];
|
|
1300
1306
|
|
|
1301
1307
|
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.80",
|
|
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",
|