b2b-platform-utils 1.1.90 → 1.1.91

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 +14 -0
  2. package/package.json +1 -1
package/errorsMap.js CHANGED
@@ -1648,6 +1648,20 @@ const STATIC_ERRORS = [
1648
1648
  description:
1649
1649
  "Responsible Gaming loss exposure is in an invalid state for this operation.",
1650
1650
  },
1651
+ {
1652
+ errorCode: 1269,
1653
+ errorKey: "withdrawalCardDataExpired",
1654
+ httpCode: 422,
1655
+ description:
1656
+ "Withdrawal card data expired before payout retry. The withdrawal was declined and held funds were returned.",
1657
+ },
1658
+ {
1659
+ errorCode: 1270,
1660
+ errorKey: "withdrawalCardDataUnavailable",
1661
+ httpCode: 422,
1662
+ description:
1663
+ "Withdrawal card data is unavailable. Please start a new withdrawal if card details are required again.",
1664
+ },
1651
1665
  ];
1652
1666
 
1653
1667
  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.90",
3
+ "version": "1.1.91",
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",