dymo-api 1.2.9 → 1.2.10
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/isValidData/index.cjs +1 -1
- package/dist/cjs/dymo-api.cjs +1 -0
- package/dist/esm/branches/private/functions/isValidData/index.js +1 -1
- package/dist/esm/dymo-api.js +1 -0
- package/dist/types/branches/private/functions/isValidData/index.d.ts +1 -1
- package/dist/types/dymo-api.d.ts +1 -0
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ const basics_1 = require("../../../../utils/basics.cjs");
|
|
|
7
7
|
*
|
|
8
8
|
* @param token - A string or null representing the authentication token. Must not be null.
|
|
9
9
|
* @param data - An object adhering to the Validator interface, containing at least one of the following fields:
|
|
10
|
-
* url, email, phone, domain, creditCard, ip, wallet
|
|
10
|
+
* url, email, phone, domain, creditCard, ip, wallet, user agent or iban.
|
|
11
11
|
*
|
|
12
12
|
* @returns A promise that resolves to the response data from the verification endpoint.
|
|
13
13
|
*
|
package/dist/cjs/dymo-api.cjs
CHANGED
|
@@ -101,6 +101,7 @@ class DymoAPI {
|
|
|
101
101
|
* @param {string} [data.ip] - Optional IP address to be validated.
|
|
102
102
|
* @param {string} [data.wallet] - Optional wallet address to be validated.
|
|
103
103
|
* @param {string} [data.userAgent] - Optional user agent string to be validated.
|
|
104
|
+
* @param {string} [data.iban] - Optional IBAN to be validated.
|
|
104
105
|
* @param {Interfaces.VerifyPlugins[]} [data.plugins] - Optional array of verification plugins to be used.
|
|
105
106
|
* @returns {Promise<Interfaces.DataValidationAnalysis>} A promise that resolves to the response from the server.
|
|
106
107
|
* @throws Will throw an error if there is an issue with the validation process.
|
|
@@ -4,7 +4,7 @@ import { customError } from "../../../../utils/basics.js";
|
|
|
4
4
|
*
|
|
5
5
|
* @param token - A string or null representing the authentication token. Must not be null.
|
|
6
6
|
* @param data - An object adhering to the Validator interface, containing at least one of the following fields:
|
|
7
|
-
* url, email, phone, domain, creditCard, ip, wallet
|
|
7
|
+
* url, email, phone, domain, creditCard, ip, wallet, user agent or iban.
|
|
8
8
|
*
|
|
9
9
|
* @returns A promise that resolves to the response data from the verification endpoint.
|
|
10
10
|
*
|
package/dist/esm/dymo-api.js
CHANGED
|
@@ -63,6 +63,7 @@ class DymoAPI {
|
|
|
63
63
|
* @param {string} [data.ip] - Optional IP address to be validated.
|
|
64
64
|
* @param {string} [data.wallet] - Optional wallet address to be validated.
|
|
65
65
|
* @param {string} [data.userAgent] - Optional user agent string to be validated.
|
|
66
|
+
* @param {string} [data.iban] - Optional IBAN to be validated.
|
|
66
67
|
* @param {Interfaces.VerifyPlugins[]} [data.plugins] - Optional array of verification plugins to be used.
|
|
67
68
|
* @returns {Promise<Interfaces.DataValidationAnalysis>} A promise that resolves to the response from the server.
|
|
68
69
|
* @throws Will throw an error if there is an issue with the validation process.
|
|
@@ -5,7 +5,7 @@ import * as Interfaces from "../../../../lib/types/interfaces";
|
|
|
5
5
|
*
|
|
6
6
|
* @param token - A string or null representing the authentication token. Must not be null.
|
|
7
7
|
* @param data - An object adhering to the Validator interface, containing at least one of the following fields:
|
|
8
|
-
* url, email, phone, domain, creditCard, ip, wallet
|
|
8
|
+
* url, email, phone, domain, creditCard, ip, wallet, user agent or iban.
|
|
9
9
|
*
|
|
10
10
|
* @returns A promise that resolves to the response data from the verification endpoint.
|
|
11
11
|
*
|
package/dist/types/dymo-api.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ declare class DymoAPI {
|
|
|
45
45
|
* @param {string} [data.ip] - Optional IP address to be validated.
|
|
46
46
|
* @param {string} [data.wallet] - Optional wallet address to be validated.
|
|
47
47
|
* @param {string} [data.userAgent] - Optional user agent string to be validated.
|
|
48
|
+
* @param {string} [data.iban] - Optional IBAN to be validated.
|
|
48
49
|
* @param {Interfaces.VerifyPlugins[]} [data.plugins] - Optional array of verification plugins to be used.
|
|
49
50
|
* @returns {Promise<Interfaces.DataValidationAnalysis>} A promise that resolves to the response from the server.
|
|
50
51
|
* @throws Will throw an error if there is an issue with the validation process.
|