b2b-platform-utils 1.1.68 → 1.1.69

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
@@ -995,6 +995,13 @@ const STATIC_ERRORS = [
995
995
  httpCode: 422,
996
996
  description: "Two factor authentication secret is missing.",
997
997
  },
998
+ {
999
+ errorCode: 1163,
1000
+ errorKey: "invalidWagerBalancePriority",
1001
+ httpCode: 500,
1002
+ description:
1003
+ 'Wager balance priority is missing or invalid (expected "real", "bonus", or "any").',
1004
+ },
998
1005
  ];
999
1006
 
1000
1007
  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.68",
3
+ "version": "1.1.69",
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",