b2b-platform-utils 1.1.61 → 1.1.64
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 +8 -2
- package/package.json +1 -1
package/errorsMap.js
CHANGED
|
@@ -865,13 +865,13 @@ const STATIC_ERRORS = [
|
|
|
865
865
|
{
|
|
866
866
|
errorCode: 1141,
|
|
867
867
|
errorKey: "depositBlocked",
|
|
868
|
-
httpCode:
|
|
868
|
+
httpCode: 409,
|
|
869
869
|
description: "Deposits are blocked for this user.",
|
|
870
870
|
},
|
|
871
871
|
{
|
|
872
872
|
errorCode: 1142,
|
|
873
873
|
errorKey: "casinoBlocked",
|
|
874
|
-
httpCode:
|
|
874
|
+
httpCode: 409,
|
|
875
875
|
description: "Casino gameplay is blocked for this user.",
|
|
876
876
|
},
|
|
877
877
|
{
|
|
@@ -935,6 +935,12 @@ const STATIC_ERRORS = [
|
|
|
935
935
|
description:
|
|
936
936
|
"Withdrawal wager requirements are not completed for the requested amount.",
|
|
937
937
|
},
|
|
938
|
+
{
|
|
939
|
+
errorCode: 1153,
|
|
940
|
+
errorKey: "providerRateLimitGuardTimeout",
|
|
941
|
+
httpCode: 503,
|
|
942
|
+
description: "Provider request is temporarily throttled, try again later.",
|
|
943
|
+
},
|
|
938
944
|
];
|
|
939
945
|
|
|
940
946
|
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.64",
|
|
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",
|