@fastnloud/nest-mail
Advanced tools
Comparing version 0.0.5 to 0.0.6
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const config_1 = require("@nestjs/config"); | ||
const joi_1 = require("joi"); | ||
const Joi = require("joi"); | ||
const process = require("process"); | ||
@@ -13,7 +13,7 @@ exports.default = (0, config_1.registerAs)('mail', () => { | ||
}; | ||
const validationResult = joi_1.default.object({ | ||
defaultFromAddress: joi_1.default.string().required(), | ||
defaultFromName: joi_1.default.string().required(), | ||
recipients: joi_1.default.string().optional().allow(''), | ||
url: joi_1.default.string().required(), | ||
const validationResult = Joi.object({ | ||
defaultFromAddress: Joi.string().required(), | ||
defaultFromName: Joi.string().required(), | ||
recipients: Joi.string().optional().allow(''), | ||
url: Joi.string().required(), | ||
}).validate(config, { abortEarly: false }); | ||
@@ -20,0 +20,0 @@ if (validationResult.error) { |
{ | ||
"name": "@fastnloud/nest-mail", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92811