New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vitnode-backend-email-smtp

Package Overview
Dependencies
Maintainers
0
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vitnode-backend-email-smtp - npm Package Compare versions

Comparing version 0.0.9-canary.65 to 0.0.9-canary.66

2

dist/src/index.d.ts

@@ -1,2 +0,2 @@

export declare const emailSenderSMTP: ({ host, port, secure, user, password, from, }: {
export declare const emailSMTP: ({ host, port, secure, user, password, from, }: {
from: string | undefined;

@@ -3,0 +3,0 @@ host: string | undefined;

@@ -5,6 +5,6 @@ "use strict";

});
Object.defineProperty(exports, "emailSenderSMTP", {
Object.defineProperty(exports, "emailSMTP", {
enumerable: true,
get: function() {
return emailSenderSMTP;
return emailSMTP;
}

@@ -178,3 +178,3 @@ });

}
var emailSenderSMTP = function(param) {
var emailSMTP = function(param) {
var _param_host = param.host, host = _param_host === void 0 ? '' : _param_host, port = param.port, secure = param.secure, user = param.user, password = param.password, _param_from = param.from, from = _param_from === void 0 ? '' : _param_from;

@@ -181,0 +181,0 @@ return /*#__PURE__*/ function() {

{
"name": "vitnode-backend-email-smtp",
"version": "0.0.9-canary.65",
"version": "0.0.9-canary.66",
"description": "SMTP email provider for VitNode projects.",
"author": "VitNode Team",

@@ -26,3 +27,3 @@ "license": "MIT",

"typescript": "^5.6.2",
"eslint-config-typescript-vitnode": "0.0.9-canary.65"
"eslint-config-typescript-vitnode": "0.0.9-canary.66"
},

@@ -29,0 +30,0 @@ "dependencies": {

# (Vitnode) Backend SMTP Email Provider
This package is used to create a provider for SMTP server to send emails in the VitNode app.
This package is used to create a provider for send emails using SMTP into the VitNode app.

@@ -45,3 +45,3 @@ <p align="center">

Provide `emailSenderSMTP` to `VitNodeCoreModule`:
Provide `emailSMTP` to `VitNodeCoreModule`:

@@ -52,3 +52,3 @@ ```ts title="apps/backend/src/app.module.ts"

import { VitNodeCoreModule } from 'vitnode-backend';
import { emailSenderSMTP } from 'vitnode-backend-email-smtp';
import { emailSMTP } from 'vitnode-backend-email-smtp';

@@ -67,3 +67,3 @@ import { DATABASE_ENVS, schemaDatabase } from './database/config';

},
email: emailSenderSMTP({
email: emailSMTP({
host: process.env.EMAIL_SMTP_HOST,

@@ -70,0 +70,0 @@ port: process.env.EMAIL_SMTP_PORT,

import * as nodemailer from 'nodemailer';
export const emailSenderSMTP = ({
export const emailSMTP = ({
host = '',

@@ -5,0 +5,0 @@ port,

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