b2b-platform-utils 1.1.101 → 1.1.102

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 +6 -0
  2. package/package.json +1 -1
package/errorsMap.js CHANGED
@@ -1866,6 +1866,12 @@ const STATIC_ERRORS = [
1866
1866
  httpCode: 422,
1867
1867
  description: "Withdrawal authenticator challenge expired or was invalidated.",
1868
1868
  },
1869
+ {
1870
+ errorCode: 1304,
1871
+ errorKey: "withdrawalBlockedByBonusWagering",
1872
+ httpCode: 409,
1873
+ description: "Withdrawals are blocked while a player bonus has wagering status.",
1874
+ },
1869
1875
  ];
1870
1876
 
1871
1877
  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.101",
3
+ "version": "1.1.102",
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",