@tellimer/mailer
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -121,2 +121,3 @@ "use strict"; | ||
customArgs: mailable.customArgs(), | ||
attachments: yield mailable.attachments(), | ||
html, | ||
@@ -152,4 +153,2 @@ personalizations, | ||
for (var _b = __asyncValues((0, tiny_async_pool_1.default)(POOL_LIMIT, sendgridData, d => { | ||
var _a; | ||
console.log(`Sending batch of ${(_a = d.personalizations) === null || _a === void 0 ? void 0 : _a.length} emails.`); | ||
return mail_1.default.send(d); | ||
@@ -156,0 +155,0 @@ })), _c; _c = yield _b.next(), !_c.done;) { |
{ | ||
"name": "@tellimer/mailer", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -139,2 +139,3 @@ import sendgrid from '@sendgrid/mail' | ||
customArgs: mailable.customArgs(), | ||
attachments: await mailable.attachments(), | ||
html, | ||
@@ -177,3 +178,2 @@ personalizations, | ||
for await (const value of asyncPool(POOL_LIMIT, sendgridData, d => { | ||
console.log(`Sending batch of ${d.personalizations?.length} emails.`) | ||
return sendgrid.send(d) | ||
@@ -180,0 +180,0 @@ })) { |
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
635161
1009