@open-source-initiative/notify-email
Advanced tools
Comparing version 1.0.6 to 1.0.7
import nodemailer from 'nodemailer'; | ||
export declare const BASE_CONFIGS: { | ||
secure: boolean; | ||
tls: { | ||
rejectUnauthorized: boolean; | ||
}; | ||
}; | ||
export declare const buildBasicConfigs: ({ host, port, username, password }: { | ||
@@ -20,8 +26,2 @@ host: string; | ||
}; | ||
export declare const BASE_CONFIGS: { | ||
secure: boolean; | ||
tls: { | ||
rejectUnauthorized: boolean; | ||
}; | ||
}; | ||
//# sourceMappingURL=configs.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BASE_CONFIGS = exports.buildBasicConfigs = void 0; | ||
exports.buildBasicConfigs = exports.BASE_CONFIGS = void 0; | ||
exports.BASE_CONFIGS = { | ||
secure: true, | ||
tls: { | ||
rejectUnauthorized: true | ||
} | ||
}; | ||
const buildBasicConfigs = ({ host, port, username, password }, configs) => { | ||
@@ -12,8 +18,2 @@ return Object.assign(Object.assign(Object.assign({}, exports.BASE_CONFIGS), { host, | ||
exports.buildBasicConfigs = buildBasicConfigs; | ||
exports.BASE_CONFIGS = { | ||
secure: true, | ||
tls: { | ||
rejectUnauthorized: true | ||
} | ||
}; | ||
//# sourceMappingURL=configs.js.map |
{ | ||
"name": "@open-source-initiative/notify-email", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Nodemailer wrapper for simple \"send email\" cases", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
import nodemailer from 'nodemailer' | ||
export const BASE_CONFIGS = { | ||
secure: true, | ||
tls: { | ||
rejectUnauthorized: true | ||
} | ||
} | ||
export const buildBasicConfigs = ({ host, port, username, password }: { host: string, port?: number, username: string, password: string }, configs?: nodemailer.TransportOptions) => { | ||
@@ -14,10 +21,2 @@ return { | ||
} | ||
} | ||
export const BASE_CONFIGS = { | ||
secure: true, | ||
tls: { | ||
rejectUnauthorized: true | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
22752
255