b2b-platform-utils 1.1.84 → 1.1.87

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 +18 -0
  2. package/package.json +1 -1
package/errorsMap.js CHANGED
@@ -1386,6 +1386,24 @@ const STATIC_ERRORS = [
1386
1386
  httpCode: 422,
1387
1387
  description: "Financial operation amount is invalid.",
1388
1388
  },
1389
+ {
1390
+ errorCode: 1228,
1391
+ errorKey: "gameVendorMethodNotImplemented",
1392
+ httpCode: 501,
1393
+ description: "Game vendor method is not implemented.",
1394
+ },
1395
+ {
1396
+ errorCode: 1229,
1397
+ errorKey: "depositReconciliationExternalIdConflict",
1398
+ httpCode: 409,
1399
+ description: "Confirmed PSP external identifiers conflict with identifiers already stored on this Deposit.",
1400
+ },
1401
+ {
1402
+ errorCode: 1230,
1403
+ errorKey: "depositReconciliationNotEligible",
1404
+ httpCode: 422,
1405
+ description: "Deposit cannot be reconciled in its current state.",
1406
+ },
1389
1407
  ];
1390
1408
 
1391
1409
  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.84",
3
+ "version": "1.1.87",
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",