b2b-platform-utils 1.1.81 → 1.1.82
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
|
@@ -1374,6 +1374,12 @@ const STATIC_ERRORS = [
|
|
|
1374
1374
|
httpCode: 403,
|
|
1375
1375
|
description: "Credit financial operations are not allowed for this user.",
|
|
1376
1376
|
},
|
|
1377
|
+
{
|
|
1378
|
+
errorCode: 1226,
|
|
1379
|
+
errorKey: "financialOperationTrustedFieldForbidden",
|
|
1380
|
+
httpCode: 422,
|
|
1381
|
+
description: "Trusted financial operation field is forbidden.",
|
|
1382
|
+
},
|
|
1377
1383
|
];
|
|
1378
1384
|
|
|
1379
1385
|
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.82",
|
|
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",
|