@promise-watch/smtp
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "@promise-watch/smtp", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"main": "dist/index.js", | ||
@@ -11,3 +11,3 @@ "author": "Jason Raimondi <jason@raimondi.us> (https://jasonraimondi.com)", | ||
"dependencies": { | ||
"@promise-watch/core": "^0.0.2", | ||
"@promise-watch/core": "^0.0.4", | ||
"nodemailer": "^6.7.2" | ||
@@ -24,5 +24,7 @@ }, | ||
"scripts": { | ||
"prebuild": "rm -rf ./dist", | ||
"build": "tsc", | ||
"prepublish": "pnpm build" | ||
} | ||
}, | ||
"readme": "# @promise-watch/smtp\n\n## Installation\n\n```bash\npnpm add @promise-watch/smtp\n```\n\n## Usage\n\n```typescript\nimport { SmtpNotifier } from \"@promise-watch/smtp\";\nimport type SMTPTransport from \"nodemailer/lib/smtp-transport\";\nimport type Mail from \"nodemailer/lib/mailer\";\n\nconst smtpOptions: SMTPTransport | SMTPTransport.Options | string = {\n host: process.env.SMTP_HOST,\n port: Number(process.env.SMTP_PORT) || 587,\n};\n\nconst mailOptions: Mail.Options = {\n to: process.env.SMTP_TO,\n from: process.env.SMTP_FROM,\n};\n\nconst options: ExecuteOptions = {\n dir: __dirname,\n errorNotifiers: [\n new SmtpNotifier(smtpOptions, mailOptions),\n ],\n};\n```" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
5774
8
1
32
+ Added@promise-watch/core@0.0.4(transitive)
- Removed@promise-watch/core@0.0.2(transitive)
Updated@promise-watch/core@^0.0.4