Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fastnloud/nest-mail

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastnloud/nest-mail - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

16

dist/configs/mail.config.js

@@ -14,7 +14,15 @@ "use strict";

const validationResult = Joi.object({
defaultFromAddress: Joi.string().required(),
defaultFromName: Joi.string().required(),
defaultFromAddress: Joi.string().required().messages({
'*': 'Environment varable MAIL_DEFAULT_FROM_ADDRESS is required (string; e.g. j.doe@example.com)',
}),
defaultFromName: Joi.string().required().messages({
'*': 'Environment varable MAIL_DEFAULT_FROM_NAME is required (string; e.g. John Doe)',
}),
recipients: Joi.string().optional().allow(''),
url: Joi.string().required(),
}).validate(config, { abortEarly: false });
url: Joi.string().required().messages({
'*': 'Environment varable MAIL_URL is required (string; e.g. smtp://localhost:1025)',
}),
}).validate(config, {
abortEarly: false,
});
if (validationResult.error) {

@@ -21,0 +29,0 @@ throw validationResult.error;

{
"name": "@fastnloud/nest-mail",
"version": "0.0.6",
"version": "0.0.7",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc