b2b-platform-utils 1.1.60 → 1.1.61

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.
Files changed (2) hide show
  1. package/errorsMap.js +7 -0
  2. package/package.json +1 -1
package/errorsMap.js CHANGED
@@ -928,6 +928,13 @@ const STATIC_ERRORS = [
928
928
  httpCode: 422,
929
929
  description: "Promo code is not active.",
930
930
  },
931
+ {
932
+ errorCode: 1152,
933
+ errorKey: "withdrawalWagerNotCompleted",
934
+ httpCode: 422,
935
+ description:
936
+ "Withdrawal wager requirements are not completed for the requested amount.",
937
+ },
931
938
  ];
932
939
 
933
940
  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.60",
3
+ "version": "1.1.61",
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",