@infrab4a/connect 5.3.4-beta.7 → 5.3.4-beta.8
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 +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
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
|
|
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
|
|
1779
|
+
if (totalBlockedAttempts >= this.LIMIT_BLOCKED_ORDERS_DAY) {
|
|
1780
1780
|
await this.createBlockedOrderRecord({
|
|
1781
1781
|
checkout,
|
|
1782
1782
|
card,
|