dymo-api 1.1.3 → 1.1.5

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;
@@ -249,6 +253,7 @@ export interface DataValidationAnalysis {
249
253
  creditCard: string;
250
254
  plugins: {
251
255
  blocklist?: boolean;
256
+ riskScore?: number;
252
257
  };
253
258
  };
254
259
  ip: {
@@ -280,6 +285,7 @@ export interface DataValidationAnalysis {
280
285
  hosting: boolean;
281
286
  plugins: {
282
287
  blocklist?: boolean;
288
+ riskScore?: number;
283
289
  };
284
290
  };
285
291
  wallet: {
@@ -289,6 +295,7 @@ export interface DataValidationAnalysis {
289
295
  type: string;
290
296
  plugins: {
291
297
  blocklist?: boolean;
298
+ riskScore?: number;
292
299
  torNetwork?: boolean;
293
300
  };
294
301
  };
@@ -309,6 +316,7 @@ export interface DataValidationAnalysis {
309
316
  };
310
317
  plugins?: {
311
318
  blocklist?: boolean;
319
+ riskScore?: number;
312
320
  };
313
321
  };
314
322
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dymo-api",
3
- "version": "1.1.03",
3
+ "version": "1.1.05",
4
4
  "description": "Flow system for Dymo API.",
5
5
  "main": "dist/cjs/dymo-api.js",
6
6
  "module": "dist/esm/dymo-api.js",