sendgrid-nodejs
sendgrid-nodejs copied to clipboard
Add `setDataResidency` method to @sendgrid/mail default export
Please provide a simple wrapper function to @sendgrid/mail/src/classes/mail-service.js file with implementation along these lines:
setDataResidency(region) {
this.client.setDataResidency(region);
return this;
}
That would greatly simplify the approach to work with your new region feature for a lot of folks without the need to introduce any new dependencies into their projects.