@nomalism-com/types 0.16.42 → 0.16.44

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.
@@ -31,7 +31,7 @@ var sendBodyKeys = {
31
31
  from: joi_1.default
32
32
  .object()
33
33
  .keys({
34
- name: joi_1.default.string().allow('').required(),
34
+ name: joi_1.default.string().allow('', null).default('').required(),
35
35
  address: joi_1.default
36
36
  .string()
37
37
  .email({ tlds: { allow: false } })
@@ -41,7 +41,7 @@ var sendBodyKeys = {
41
41
  to: joi_1.default
42
42
  .array()
43
43
  .items(joi_1.default.object().keys({
44
- name: joi_1.default.string().allow('').required(),
44
+ name: joi_1.default.string().allow('', null).default('').required(),
45
45
  address: joi_1.default
46
46
  .string()
47
47
  .email({ tlds: { allow: false } })
@@ -51,7 +51,7 @@ var sendBodyKeys = {
51
51
  cc: joi_1.default
52
52
  .array()
53
53
  .items(joi_1.default.object().keys({
54
- name: joi_1.default.string().allow('').required(),
54
+ name: joi_1.default.string().allow('', null).default('').required(),
55
55
  address: joi_1.default
56
56
  .string()
57
57
  .email({ tlds: { allow: false } })
@@ -61,7 +61,7 @@ var sendBodyKeys = {
61
61
  bcc: joi_1.default
62
62
  .array()
63
63
  .items(joi_1.default.object().keys({
64
- name: joi_1.default.string().allow('').required(),
64
+ name: joi_1.default.string().allow('', null).default('').required(),
65
65
  address: joi_1.default
66
66
  .string()
67
67
  .email({ tlds: { allow: false } })
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.16.42",
12
+ "version": "0.16.44",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [