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

@types/nodemailer-smtp-transport

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/nodemailer-smtp-transport - npm Package Compare versions

Comparing version 2.7.4 to 2.7.5

70

nodemailer-smtp-transport/index.d.ts

@@ -14,6 +14,6 @@ // Type definitions for nodemailer-smtp-transport 2.7

/** is the username */
user?: string;
user?: string | undefined;
/** is the password for the user if normal login is used */
pass?: string;
pass?: string | undefined;

@@ -24,24 +24,24 @@ /** indicates the authetication type, defaults to ‘login’, other option is ‘oauth2’ */

/** is the registered client id of the application */
clientId?: string;
clientId?: string | undefined;
/** is the registered client secret of the application */
clientSecret?: string;
clientSecret?: string | undefined;
/** is an optional refresh token. If it is provided then Nodemailer tries to generate a new access token if existing one expires or fails */
refreshToken?: string;
refreshToken?: string | undefined;
/** is the access token for the user. Required only if refreshToken is not available and there is no token refresh callback specified */
accessToken?: string;
accessToken?: string | undefined;
/** is an optional expiration time for the current accessToken */
expires?: number;
expires?: number | undefined;
/** is an optional HTTP endpoint for requesting new access tokens. This value defaults to Gmail */
accessUrl?: string;
accessUrl?: string | undefined;
/** service client id, you can find it from the “client_id” field in the service key file */
serviceClient?: string;
serviceClient?: string | undefined;
/** is the private key contents, you can find it from the “private_key” field in the service key file */
privateKey?: string;
privateKey?: string | undefined;
}

@@ -83,3 +83,3 @@

*/
service?: string;
service?: string | undefined;

@@ -89,3 +89,3 @@ /**

*/
port?: number;
port?: number | undefined;

@@ -95,3 +95,3 @@ /**

*/
host?: string;
host?: string | undefined;

@@ -101,3 +101,3 @@ /**

*/
secure?: boolean;
secure?: boolean | undefined;

@@ -107,3 +107,3 @@ /**

*/
auth?: AuthOptions;
auth?: AuthOptions | undefined;

@@ -113,3 +113,3 @@ /**

*/
requireTLS?: boolean;
requireTLS?: boolean | undefined;

@@ -119,3 +119,3 @@ /**

*/
ignoreTLS?: boolean;
ignoreTLS?: boolean | undefined;

@@ -125,3 +125,3 @@ /**

*/
name?: string;
name?: string | undefined;

@@ -131,3 +131,3 @@ /**

*/
localAddress?: string;
localAddress?: string | undefined;

@@ -137,3 +137,3 @@ /**

*/
connectionTimeout?: number;
connectionTimeout?: number | undefined;

@@ -143,3 +143,3 @@ /**

*/
greetingTimeout?: number;
greetingTimeout?: number | undefined;

@@ -149,3 +149,3 @@ /**

*/
socketTimeout?: number;
socketTimeout?: number | undefined;

@@ -155,3 +155,3 @@ /**

*/
debug?: boolean;
debug?: boolean | undefined;

@@ -161,3 +161,3 @@ /**

*/
logger?: boolean;
logger?: boolean | undefined;

@@ -167,3 +167,3 @@ /**

*/
authMethod?: string;
authMethod?: string | undefined;

@@ -173,3 +173,3 @@ /**

*/
tls?: tls.ConnectionOptions;
tls?: tls.ConnectionOptions | undefined;

@@ -183,3 +183,3 @@ /**

*/
pool?: boolean;
pool?: boolean | undefined;

@@ -189,3 +189,3 @@ /**

*/
maxConnections?: boolean;
maxConnections?: boolean | undefined;

@@ -195,3 +195,3 @@ /**

*/
maxMessages?: boolean;
maxMessages?: boolean | undefined;

@@ -201,3 +201,3 @@ /**

*/
rateDelta?: boolean;
rateDelta?: boolean | undefined;

@@ -207,4 +207,4 @@ /**

*/
rateLimit?: boolean;
};
rateLimit?: boolean | undefined;
} | undefined;

@@ -214,3 +214,3 @@ /**

*/
disableFileAccess?: boolean;
disableFileAccess?: boolean | undefined;

@@ -220,3 +220,3 @@ /**

*/
disableUrlAccess?: boolean;
disableUrlAccess?: boolean | undefined;

@@ -226,3 +226,3 @@ /**

*/
proxy?: string;
proxy?: string | undefined;
}

@@ -229,0 +229,0 @@ }

{
"name": "@types/nodemailer-smtp-transport",
"version": "2.7.4",
"version": "2.7.5",
"description": "TypeScript definitions for nodemailer-smtp-transport",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer-smtp-transport",
"license": "MIT",

@@ -14,13 +15,15 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/nodemailer-smtp-transport"
},
"scripts": {},
"dependencies": {
"@types/nodemailer": "^3",
"@types/node": "*"
"@types/node": "*",
"@types/nodemailer": "^3"
},
"typesPublisherContentHash": "6928783fd9909220e4e638432cc9027d0ec252bb57ba4735f1e5accf83f5ae07",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "848b40927183552b511d4f0be4bea327ac7611f1fc819562fe7f944660e653ed",
"typeScriptVersion": "3.6"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer-smtp-transport
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer-smtp-transport.
Additional Details
* Last updated: Wed, 18 Oct 2017 20:09:19 GMT
* Dependencies: nodemailer, tls, node
### Additional Details
* Last updated: Thu, 08 Jul 2021 18:51:36 GMT
* Dependencies: [@types/nodemailer](https://npmjs.com/package/@types/nodemailer), [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Rogier Schouten <https://github.com/rogierschouten>.
These definitions were written by [Rogier Schouten](https://github.com/rogierschouten).

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