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

@dibs-tech/mail-client

Package Overview
Dependencies
Maintainers
3
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dibs-tech/mail-client - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

11

index.js

@@ -158,5 +158,12 @@ const SparkPost = require('sparkpost');

const optionsObj = { force: typeof options === 'boolean' ? options : (options.force || false), html };
if (typeof options !== 'boolean' && options.attachments) optionsObj.attachments = options.attachments;
let optionsObj;
if (typeof options === 'function') {
cb = options;
optionsObj = { html };
} else {
optionsObj = { force: typeof options === 'boolean' ? options : (options.force || false), html };
if (typeof options !== 'boolean' && options.attachments) optionsObj.attachments = options.attachments;
}
this.sendEmail(recepient, subject, '', optionsObj, cb);

@@ -163,0 +170,0 @@ };

2

package.json
{
"name": "@dibs-tech/mail-client",
"version": "1.4.0",
"version": "1.4.1",
"description": "A mail client implementation, using sparkpost",

@@ -5,0 +5,0 @@ "main": "index.js",

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