dymo-api 1.1.3 → 1.1.4

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.
@@ -9,7 +9,7 @@ export interface CreditCardData {
9
9
  cvc?: string | number;
10
10
  cvv?: string | number;
11
11
  }
12
- export type VerifyPlugins = "blocklist" | "compromiseDetector" | "nsfw" | "reputation" | "torNetwork" | "typosquatting" | "urlShortener";
12
+ export type VerifyPlugins = "blocklist" | "compromiseDetector" | "nsfw" | "reputation" | "riskScore" | "torNetwork" | "typosquatting" | "urlShortener";
13
13
  export interface Validator {
14
14
  url?: string;
15
15
  email?: string;
@@ -178,6 +178,7 @@ export interface DataValidationAnalysis {
178
178
  compromiseDetector?: boolean;
179
179
  nsfw?: boolean;
180
180
  reputation?: "low" | "medium" | "high" | "very-high" | "education" | "governmental" | "unknown";
181
+ riskScore?: number;
181
182
  torNetwork?: boolean;
182
183
  typosquatting?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
183
184
  urlShortener?: boolean;
@@ -201,6 +202,7 @@ export interface DataValidationAnalysis {
201
202
  compromiseDetector?: boolean;
202
203
  nsfw?: boolean;
203
204
  reputation?: "low" | "medium" | "high" | "very-high" | "education" | "governmental" | "unknown";
205
+ riskScore?: number;
204
206
  torNetwork?: boolean;
205
207
  typosquatting?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
206
208
  urlShortener?: boolean;
@@ -223,6 +225,7 @@ export interface DataValidationAnalysis {
223
225
  countryCode: string;
224
226
  plugins: {
225
227
  blocklist?: boolean;
228
+ riskScore?: number;
226
229
  };
227
230
  };
228
231
  domain: {
@@ -236,6 +239,7 @@ export interface DataValidationAnalysis {
236
239
  compromiseDetector?: boolean;
237
240
  nsfw?: boolean;
238
241
  reputation?: "low" | "medium" | "high" | "very-high" | "education" | "governmental" | "unknown";
242
+ riskScore?: number;
239
243
  torNetwork?: boolean;
240
244
  typosquatting?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
241
245
  urlShortener?: boolean;
@@ -289,6 +293,7 @@ export interface DataValidationAnalysis {
289
293
  type: string;
290
294
  plugins: {
291
295
  blocklist?: boolean;
296
+ riskScore?: number;
292
297
  torNetwork?: boolean;
293
298
  };
294
299
  };
@@ -309,6 +314,7 @@ export interface DataValidationAnalysis {
309
314
  };
310
315
  plugins?: {
311
316
  blocklist?: boolean;
317
+ riskScore?: number;
312
318
  };
313
319
  };
314
320
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dymo-api",
3
- "version": "1.1.03",
3
+ "version": "1.1.04",
4
4
  "description": "Flow system for Dymo API.",
5
5
  "main": "dist/cjs/dymo-api.js",
6
6
  "module": "dist/esm/dymo-api.js",