b2b-platform-utils 1.1.91 → 1.1.92

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 +24 -0
  2. package/package.json +1 -1
package/errorsMap.js CHANGED
@@ -1662,6 +1662,30 @@ const STATIC_ERRORS = [
1662
1662
  description:
1663
1663
  "Withdrawal card data is unavailable. Please start a new withdrawal if card details are required again.",
1664
1664
  },
1665
+ {
1666
+ errorCode: 1271,
1667
+ errorKey: "paymentProviderConfigurationInvalid",
1668
+ httpCode: 500,
1669
+ description: "Payment provider configuration is missing or invalid.",
1670
+ },
1671
+ {
1672
+ errorCode: 1272,
1673
+ errorKey: "paymentProviderUnavailable",
1674
+ httpCode: 503,
1675
+ description: "Payment provider is temporarily unavailable.",
1676
+ },
1677
+ {
1678
+ errorCode: 1273,
1679
+ errorKey: "paymentProviderTimeout",
1680
+ httpCode: 504,
1681
+ description: "Payment provider request timed out.",
1682
+ },
1683
+ {
1684
+ errorCode: 1274,
1685
+ errorKey: "invalidPaymentProviderResponse",
1686
+ httpCode: 502,
1687
+ description: "Payment provider response is invalid or unsupported.",
1688
+ },
1665
1689
  ];
1666
1690
 
1667
1691
  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.91",
3
+ "version": "1.1.92",
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",