dymo-api 1.2.25 → 1.2.27
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/dist/cjs/branches/private/functions/isValidEmail/index.cjs +1 -1
- package/dist/cjs/branches/private/functions/isValidIP/index.cjs +1 -1
- package/dist/cjs/dymo-api.cjs +1 -1
- package/dist/esm/branches/private/functions/isValidEmail/index.js +1 -1
- package/dist/esm/branches/private/functions/isValidIP/index.js +1 -1
- package/dist/esm/dymo-api.js +1 -1
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@ const isValidEmail = async (axiosClient, email, rules) => {
|
|
|
38
38
|
email,
|
|
39
39
|
plugins: [
|
|
40
40
|
rules.deny.includes("NO_MX_RECORDS") ? "mxRecords" : undefined,
|
|
41
|
-
rules.deny.includes("NO_REACHABLE") ? "
|
|
41
|
+
rules.deny.includes("NO_REACHABLE") ? "reachable" : undefined,
|
|
42
42
|
rules.deny.includes("HIGH_RISK_SCORE") ? "riskScore" : undefined,
|
|
43
43
|
rules.deny.includes("NO_GRAVATAR") ? "gravatar" : undefined
|
|
44
44
|
].filter(Boolean)
|
|
@@ -51,7 +51,7 @@ const isValidIP = async (axiosClient, ip, rules) => {
|
|
|
51
51
|
}
|
|
52
52
|
if (rules.deny.includes("FRAUD") && responseIP.fraud)
|
|
53
53
|
reasons.push("FRAUD");
|
|
54
|
-
if (rules.deny.includes("TOR_NETWORK") && !responseIP.plugins.
|
|
54
|
+
if (rules.deny.includes("TOR_NETWORK") && !responseIP.plugins.torNetwork)
|
|
55
55
|
reasons.push("TOR_NETWORK");
|
|
56
56
|
if (rules.deny.includes("HIGH_RISK_SCORE") && responseIP.plugins.riskScore >= 80)
|
|
57
57
|
reasons.push("HIGH_RISK_SCORE");
|
package/dist/cjs/dymo-api.cjs
CHANGED
|
@@ -35,7 +35,7 @@ export const isValidEmail = async (axiosClient, email, rules) => {
|
|
|
35
35
|
email,
|
|
36
36
|
plugins: [
|
|
37
37
|
rules.deny.includes("NO_MX_RECORDS") ? "mxRecords" : undefined,
|
|
38
|
-
rules.deny.includes("NO_REACHABLE") ? "
|
|
38
|
+
rules.deny.includes("NO_REACHABLE") ? "reachable" : undefined,
|
|
39
39
|
rules.deny.includes("HIGH_RISK_SCORE") ? "riskScore" : undefined,
|
|
40
40
|
rules.deny.includes("NO_GRAVATAR") ? "gravatar" : undefined
|
|
41
41
|
].filter(Boolean)
|
|
@@ -48,7 +48,7 @@ export const isValidIP = async (axiosClient, ip, rules) => {
|
|
|
48
48
|
}
|
|
49
49
|
if (rules.deny.includes("FRAUD") && responseIP.fraud)
|
|
50
50
|
reasons.push("FRAUD");
|
|
51
|
-
if (rules.deny.includes("TOR_NETWORK") && !responseIP.plugins.
|
|
51
|
+
if (rules.deny.includes("TOR_NETWORK") && !responseIP.plugins.torNetwork)
|
|
52
52
|
reasons.push("TOR_NETWORK");
|
|
53
53
|
if (rules.deny.includes("HIGH_RISK_SCORE") && responseIP.plugins.riskScore >= 80)
|
|
54
54
|
reasons.push("HIGH_RISK_SCORE");
|
package/dist/esm/dymo-api.js
CHANGED