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

@coolgk/email

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coolgk/email - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

48

email.d.ts

@@ -19,12 +19,12 @@ /*!

export interface IEmailOptions {
readonly host: string;
readonly stripTags?: typeof stripTags;
readonly getMimeType?: typeof lookup;
readonly user?: string;
readonly password?: string;
readonly port?: number;
readonly ssl?: boolean;
readonly tls?: boolean;
readonly domain?: string;
readonly authentication?: string[];
host: string;
stripTags?: typeof stripTags;
getMimeType?: typeof lookup;
user?: string;
password?: string;
port?: number;
ssl?: boolean;
tls?: boolean;
domain?: string;
authentication?: string[];
}

@@ -35,16 +35,16 @@ export interface IEmailClient {

export interface IEmailConfigWithClient {
readonly emailClient: IEmailClient;
readonly stripTags?: typeof stripTags;
readonly getMimeType?: typeof lookup;
emailClient: IEmailClient;
stripTags?: typeof stripTags;
getMimeType?: typeof lookup;
}
export interface IEmailAddress {
name?: string;
readonly email: string;
email: string;
}
export interface IEmailAttachment {
readonly path: string;
path: string;
name?: string;
type?: string;
readonly method?: string;
readonly headers?: {
method?: string;
headers?: {
[propName: string]: string;

@@ -54,9 +54,9 @@ };

export interface ISendOptions {
readonly subject: string;
readonly message?: string;
readonly from: string | IEmailAddress;
readonly to: (string | IEmailAddress)[];
readonly cc?: (string | IEmailAddress)[];
readonly bcc?: (string | IEmailAddress)[];
readonly attachments?: IEmailAttachment[];
subject: string;
message?: string;
from: string | IEmailAddress;
to: (string | IEmailAddress)[];
cc?: (string | IEmailAddress)[];
bcc?: (string | IEmailAddress)[];
attachments?: IEmailAttachment[];
[key: string]: any;

@@ -63,0 +63,0 @@ }

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

{"name":"@coolgk/email","version":"3.0.0","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://github.com/coolgk/node-utils","bugs":{"url":"https://github.com/coolgk/node-utils/issues"},"repository":{"type":"git","url":"https://github.com/coolgk/node-utils.git"},"description":"a email sender wrapper class","keywords":["email","smtp sender","typescript"],"dependencies":{"mime-types":"^2.1.17","emailjs":"^2.0.0","@coolgk/string":"^2","@types/mime-types":"^2.1.0"},"main":"./email.js","types":"./email.d.ts","license":"MIT"}
{"name":"@coolgk/email","version":"3.0.1","author":"Daniel Gong <daniel.k.gong@gmail.com>","homepage":"https://github.com/coolgk/node-utils","bugs":{"url":"https://github.com/coolgk/node-utils/issues"},"repository":{"type":"git","url":"https://github.com/coolgk/node-utils.git"},"description":"a email sender wrapper class","keywords":["email","smtp sender","typescript"],"dependencies":{"mime-types":"^2.1.17","emailjs":"^2.0.0","@coolgk/string":"^2","@types/mime-types":"^2.1.0"},"main":"./email.js","types":"./email.d.ts","license":"MIT"}
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