b2b-platform-utils 1.1.75 → 1.1.78
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
|
@@ -1290,6 +1290,12 @@ const STATIC_ERRORS = [
|
|
|
1290
1290
|
httpCode: 422,
|
|
1291
1291
|
description: "SMS password reset token is invalid or expired.",
|
|
1292
1292
|
},
|
|
1293
|
+
{
|
|
1294
|
+
errorCode: 1212,
|
|
1295
|
+
errorKey: "insufficientPermissions",
|
|
1296
|
+
httpCode: 403,
|
|
1297
|
+
description: "Authenticated user lacks the required permission.",
|
|
1298
|
+
},
|
|
1293
1299
|
];
|
|
1294
1300
|
|
|
1295
1301
|
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.78",
|
|
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",
|