@sendgrid/helpers
Advanced tools
Comparing version 7.6.2 to 7.7.0
@@ -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'); |
{ | ||
"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) |
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
143306
4701
46