dymo-api 1.2.27 → 1.2.29
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.
|
@@ -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") &&
|
|
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
|
@@ -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") &&
|
|
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
package/dist/types/dymo-api.d.ts
CHANGED
|
@@ -281,4 +281,4 @@ declare class DymoAPI {
|
|
|
281
281
|
isValidPwd(data: Interfaces.IsValidPwdData): Promise<Interfaces.PasswordValidationResult>;
|
|
282
282
|
}
|
|
283
283
|
export default DymoAPI;
|
|
284
|
-
export type { EmailValidatorRules, NegativeEmailRules, DataEmailValidationAnalysis, PhoneValidatorRules, NegativePhoneRules, DataPhoneValidationAnalysis, WafRules, SensitiveInfoRules } from "./lib/types/interfaces";
|
|
284
|
+
export type { EmailValidatorRules, NegativeEmailRules, DataEmailValidationAnalysis, IPValidatorRules, NegativeIPRules, DataIPValidationAnalysis, PhoneValidatorRules, NegativePhoneRules, DataPhoneValidationAnalysis, WafRules, SensitiveInfoRules } from "./lib/types/interfaces";
|