dymo-api 1.0.29 → 1.0.30

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.
@@ -38,7 +38,7 @@ const isValidData = async (token, data) => {
38
38
  throw customError(3000, "Invalid private token.");
39
39
  let i = false;
40
40
  for (const key in data) {
41
- if (data.hasOwnProperty(key) && (key === "email" || key === "phone" || key === "domain" || key === "creditCard" || key === "ip")) {
41
+ if (data.hasOwnProperty(key) && (key === "email" || key === "phone" || key === "domain" || key === "creditCard" || key === "ip" || key === "wallet")) {
42
42
  i = true;
43
43
  break;
44
44
  }
@@ -15,6 +15,7 @@ export interface Validator {
15
15
  domain?: string;
16
16
  creditCard?: string | CreditCardData;
17
17
  ip?: string;
18
+ wallet?: string;
18
19
  }
19
20
  export interface SRNG {
20
21
  min: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dymo-api",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "Flow system for Dymo API.",
5
5
  "main": "dist/dymo-api.js",
6
6
  "module": "dist/dymo-api.mjs",