b2b-platform-utils 1.1.93 → 1.1.95
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 +12 -0
- package/package.json +1 -1
package/errorsMap.js
CHANGED
|
@@ -1812,6 +1812,18 @@ const STATIC_ERRORS = [
|
|
|
1812
1812
|
description:
|
|
1813
1813
|
"Payment provider temporarily restricted processing for this deposit.",
|
|
1814
1814
|
},
|
|
1815
|
+
{
|
|
1816
|
+
errorCode: 1295,
|
|
1817
|
+
errorKey: "withdrawBlocked",
|
|
1818
|
+
httpCode: 409,
|
|
1819
|
+
description: "Withdrawals are blocked for this user.",
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
errorCode: 1296,
|
|
1823
|
+
errorKey: "invalidCardNumber",
|
|
1824
|
+
httpCode: 422,
|
|
1825
|
+
description: "Card number is invalid",
|
|
1826
|
+
},
|
|
1815
1827
|
];
|
|
1816
1828
|
|
|
1817
1829
|
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.95",
|
|
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",
|