@infrab4a/connect 5.3.4-beta.5 → 5.3.4-beta.7

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.
package/index.cjs.js CHANGED
@@ -1801,7 +1801,7 @@ class AntifraudCardService {
1801
1801
  const dateRange = this.getTodayDateRange();
1802
1802
  const blockedOrders = await this.getBlockedOrdersByMultipleCriteria(checkout, dateRange);
1803
1803
  const totalBlockedAttempts = this.calculateUniqueBlockedAttempts(blockedOrders, checkout);
1804
- if (totalBlockedAttempts >= this.LIMIT_BLOCKED_ORDERS_DAY) {
1804
+ if (totalBlockedAttempts > this.LIMIT_BLOCKED_ORDERS_DAY) {
1805
1805
  await this.createBlockedOrderRecord({
1806
1806
  checkout,
1807
1807
  card,
package/index.esm.js CHANGED
@@ -1776,7 +1776,7 @@ class AntifraudCardService {
1776
1776
  const dateRange = this.getTodayDateRange();
1777
1777
  const blockedOrders = await this.getBlockedOrdersByMultipleCriteria(checkout, dateRange);
1778
1778
  const totalBlockedAttempts = this.calculateUniqueBlockedAttempts(blockedOrders, checkout);
1779
- if (totalBlockedAttempts >= this.LIMIT_BLOCKED_ORDERS_DAY) {
1779
+ if (totalBlockedAttempts > this.LIMIT_BLOCKED_ORDERS_DAY) {
1780
1780
  await this.createBlockedOrderRecord({
1781
1781
  checkout,
1782
1782
  card,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "5.3.4-beta.5",
3
+ "version": "5.3.4-beta.7",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },