Socket
Socket
Sign inDemoInstall

@sendgrid/helpers

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sendgrid/helpers - npm Package Compare versions

Comparing version 7.6.2 to 7.7.0

9

classes/mail.d.ts

@@ -29,2 +29,11 @@ import {AttachmentData, AttachmentJSON} from "./attachment";

};
bypassSpamManagement?: {
enable?: boolean;
};
bypassBounceManagement?: {
enable?: boolean;
};
bypassUnsubscribeManagement?: {
enable?: boolean;
};
footer?: {

@@ -31,0 +40,0 @@ enable?: boolean;

@@ -20,2 +20,5 @@ 'use strict';

bypassListManagement,
bypassSpamManagement,
bypassBounceManagement,
bypassUnsubscribeManagement,
footer,

@@ -28,2 +31,5 @@ sandboxMode,

validate(bypassListManagement, 'bypassListManagement', 'enable', 'boolean');
validate(bypassSpamManagement, 'bypassSpamManagement', 'enable', 'boolean');
validate(bypassBounceManagement, 'bypassBounceManagement', 'enable', 'boolean');
validate(bypassUnsubscribeManagement, 'bypassUnsubscribeManagement', 'enable', 'boolean');
validate(footer, 'footer', 'enable', 'boolean');

@@ -30,0 +36,0 @@ validate(footer, 'footer', 'text', 'string');

4

package.json
{
"name": "@sendgrid/helpers",
"description": "Twilio SendGrid NodeJS internal helpers",
"version": "7.6.2",
"version": "7.7.0",
"author": "Twilio SendGrid <help@twilio.com> (sendgrid.com)",

@@ -35,3 +35,3 @@ "contributors": [

},
"gitHead": "6beced78088a75a28e07bea004013c830ccf6352"
"gitHead": "30eebb16a51b51e6a2df1b3596044db6f5fdbe92"
}
[![BuildStatus](https://travis-ci.com/sendgrid/sendgrid-nodejs.svg?branch=main)](https://travis-ci.com/sendgrid/sendgrid-nodejs)
[![npm version](https://badge.fury.io/js/%40sendgrid%2Fclient.svg)](https://www.npmjs.com/org/sendgrid)
[![Email Notifications Badge](https://dx.sendgrid.com/badge/nodejs)](https://dx.sendgrid.com/newsletter/nodejs)

@@ -13,4 +12,2 @@ **This package is part of a monorepo, please see [this README](../../README.md) for details.**

To be notified when this package is updated, please subscribe to email [notifications](https://dx.sendgrid.com/newsletter/nodejs) for releases and breaking changes.
## Mail class

@@ -49,2 +46,2 @@ Used to compose a `Mail` object that converts itself to proper JSON for use with the [SendGrid v3 API](https://sendgrid.com/docs/api-reference/). This class supports a slightly different API to make sending emails easier in many cases by not having to deal with personalization arrays, instead offering a more straightforward interface for composing emails.

![Twilio SendGrid Logo](https://github.com/sendgrid/sendgrid-nodejs/blob/main/twilio_sendgrid_logo.png?raw=true)
![Twilio SendGrid Logo](https://github.com/sendgrid/sendgrid-nodejs/blob/main/twilio_sendgrid_logo.png?raw=true)
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