@visulima/email 4.0.0 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +74 -1
  3. package/dist/crypto/index.d.ts +2 -2
  4. package/dist/deliverability/dmarc-report.js +1 -1
  5. package/dist/deliverability/index.d.ts +1 -1
  6. package/dist/inbound/index.d.ts +1 -1
  7. package/dist/index.d.ts +11 -5
  8. package/dist/index.js +1 -1
  9. package/dist/middleware/index.d.ts +3 -3
  10. package/dist/middleware/index.js +1 -1
  11. package/dist/packem_chunks/index.js +5 -5
  12. package/dist/packem_shared/{DraftMailMessage-B0gwf8n_.js → DraftMailMessage-zkKTOxQ8.js} +1 -1
  13. package/dist/packem_shared/EmailError-SXEFQEyA.js +1 -0
  14. package/dist/packem_shared/Mail-DtpXUSIl.js +1 -0
  15. package/dist/packem_shared/MailMessage-Aw0vVAh-.js +1 -0
  16. package/dist/packem_shared/{RequiredOptionError-ctDEEB1s.js → RequiredOptionError-C2wWqmiE.js} +1 -1
  17. package/dist/packem_shared/{ahaSendProvider-D95-pwFh.js → ahaSendProvider-Ci_a_O8d.js} +1 -1
  18. package/dist/packem_shared/{attachment-processor-BJFDS343.js → attachment-processor-AB1m-n9T.js} +1 -1
  19. package/dist/packem_shared/{autoSendProvider-yxUx3sEj.js → autoSendProvider-DG3pNJML.js} +1 -1
  20. package/dist/packem_shared/{awsSesProvider-DnZo9X_g.js → awsSesProvider-C4b5kuL4.js} +1 -1
  21. package/dist/packem_shared/{azureProvider-D6Z4c1yT.js → azureProvider-CEnz3uy_.js} +1 -1
  22. package/dist/packem_shared/{brevoProvider-D1yTSs0l.js → brevoProvider-BsbInXjw.js} +1 -1
  23. package/dist/packem_shared/{build-mime-message-BCFKPqaW.js → build-mime-message-D45WdgfP.js} +1 -1
  24. package/dist/packem_shared/{circuitBreakerMiddleware-DcBN7K6H.js → circuitBreakerMiddleware-Cm0m75qi.js} +1 -1
  25. package/dist/packem_shared/{cloudflareEmailProvider-DZbs35NL.js → cloudflareEmailProvider-CnpH5R5p.js} +1 -1
  26. package/dist/packem_shared/{createTestEmail-gr512snl.js → createTestEmail-B2Fz-Ifb.js} +1 -1
  27. package/dist/packem_shared/createWorker-ChrQvLUF.js +1 -0
  28. package/dist/packem_shared/extractLinks-BwE1SjNF.js +1 -0
  29. package/dist/packem_shared/{failoverProvider-IED1M0M5.js → failoverProvider-DsBqMOfK.js} +1 -1
  30. package/dist/packem_shared/fileProvider-BnDeaSqA.js +1 -0
  31. package/dist/packem_shared/{httpProvider-CpdWJoRq.js → httpProvider-BuA00407.js} +1 -1
  32. package/dist/packem_shared/{infobipProvider-DTqFu5pM.js → infobipProvider-DVUg9jKC.js} +1 -1
  33. package/dist/packem_shared/{isValidSigningCertUrl-CK1t2a7x.js → isValidSigningCertUrl-gnYr3oyD.js} +1 -1
  34. package/dist/packem_shared/{loopsProvider-PiE2HxoW.js → loopsProvider-BJUNQ2rR.js} +1 -1
  35. package/dist/packem_shared/{mail.d-BdyyyQO5.d.ts → mail.d-2u-30lWz.d.ts} +12 -4
  36. package/dist/packem_shared/{mailCrabProvider-BSapw_mS.js → mailCrabProvider-CFKRofS5.js} +1 -1
  37. package/dist/packem_shared/{mailPaceProvider-BugIutTw.js → mailPaceProvider-DBQd6NYt.js} +1 -1
  38. package/dist/packem_shared/{mailchannelsProvider-Dn24mI8D.js → mailchannelsProvider-CPVW3wlH.js} +1 -1
  39. package/dist/packem_shared/{mailerSendProvider-B6X4Lhsf.js → mailerSendProvider-B2H6BtoV.js} +1 -1
  40. package/dist/packem_shared/{mailgunProvider-4sMtcQcW.js → mailgunProvider-JRVH70PB.js} +1 -1
  41. package/dist/packem_shared/{mailjetProvider-DvrHwipw.js → mailjetProvider-BzBovF5M.js} +1 -1
  42. package/dist/packem_shared/{mailomatProvider-CrkNQGfL.js → mailomatProvider-x6IHKuWU.js} +1 -1
  43. package/dist/packem_shared/{mailtrapProvider-DTgvCUrs.js → mailtrapProvider-CJTJoDcV.js} +1 -1
  44. package/dist/packem_shared/make-request-mszP240P.js +1 -0
  45. package/dist/packem_shared/{mandrillProvider-BaK0GEj7.js → mandrillProvider-BcztgKkr.js} +1 -1
  46. package/dist/packem_shared/{mockProvider-CTxxbT0d.js → mockProvider-DVtl5Jjy.js} +1 -1
  47. package/dist/packem_shared/{netcoreProvider-BZJ0noQ2.js → netcoreProvider-YWEpa-wi.js} +1 -1
  48. package/dist/packem_shared/{nodemailerProvider-DqJh8ghN.js → nodemailerProvider-WNNtLE2s.js} +1 -1
  49. package/dist/packem_shared/{opentelemetryProvider-s0gvh05u.js → opentelemetryProvider-ddbILMeS.js} +1 -1
  50. package/dist/packem_shared/{outlook365Provider-DQUSFy2d.js → outlook365Provider-D5eETMZq.js} +1 -1
  51. package/dist/packem_shared/{plunkProvider-WMi1yPya.js → plunkProvider-TrBBoX7_.js} +1 -1
  52. package/dist/packem_shared/{postalProvider-DpBFGpoX.js → postalProvider-CU53hX0R.js} +1 -1
  53. package/dist/packem_shared/{postmarkProvider-ClUaHPvw.js → postmarkProvider-DEYQp8Gv.js} +1 -1
  54. package/dist/packem_shared/{provider-base-BEz00m9R.js → provider-base-G22b4a87.js} +1 -1
  55. package/dist/packem_shared/{provider.d-Cx5YQJdP.d.ts → provider.d-BLLbEuQ8.d.ts} +1 -1
  56. package/dist/packem_shared/resendProvider-BaIZCvph.js +1 -0
  57. package/dist/packem_shared/{retry-aghj7y8m.js → retry-ByPJFAtq.js} +1 -1
  58. package/dist/packem_shared/{roundRobinProvider-Dr1DdT2L.js → roundRobinProvider-CfuNY7We.js} +1 -1
  59. package/dist/packem_shared/{scalewayProvider-BhbDUEah.js → scalewayProvider-x6S2ZSPd.js} +1 -1
  60. package/dist/packem_shared/{sendGridProvider-DBZHhxd6.js → sendGridProvider-8Po3P-ia.js} +1 -1
  61. package/dist/packem_shared/{smtpProvider-CjcOEiAh.js → smtpProvider-BPamDNuv.js} +1 -1
  62. package/dist/packem_shared/{sparkpostProvider-B19lU9D5.js → sparkpostProvider-BVu1KeNz.js} +1 -1
  63. package/dist/packem_shared/{sweegoProvider-H8KWGDff.js → sweegoProvider-DHISjS9s.js} +1 -1
  64. package/dist/packem_shared/{types.d-Cb5fls_X.d.ts → types.d-A1Eea-p_.d.ts} +1 -1
  65. package/dist/packem_shared/{types.d-kHO4kX9q.d.ts → types.d-B5iH_mgb.d.ts} +1 -1
  66. package/dist/packem_shared/{types.d-GKqPNk0I.d.ts → types.d-Chhzb-48.d.ts} +1 -1
  67. package/dist/packem_shared/{types.d-B9295M4_.d.ts → types.d-CyiC9uRC.d.ts} +10 -0
  68. package/dist/packem_shared/{types.d-C5geVKes.d.ts → types.d-V_yuAOrx.d.ts} +1 -1
  69. package/dist/packem_shared/{verifySendGridWebhook-csuRasH3.js → verifySendGridWebhook-0_3qKQA1.js} +1 -1
  70. package/dist/packem_shared/{withSuppression-B0eZ2xNQ.js → withSuppression-COCHL9Zx.js} +1 -1
  71. package/dist/packem_shared/{zeptomailProvider-L7nkdn0L.js → zeptomailProvider-IhCIl_2a.js} +1 -1
  72. package/dist/providers/ahasend/index.d.ts +3 -3
  73. package/dist/providers/ahasend/index.js +1 -1
  74. package/dist/providers/autosend/index.d.ts +3 -3
  75. package/dist/providers/autosend/index.js +1 -1
  76. package/dist/providers/aws-ses/index.d.ts +3 -3
  77. package/dist/providers/aws-ses/index.js +1 -1
  78. package/dist/providers/azure/index.d.ts +3 -3
  79. package/dist/providers/azure/index.js +1 -1
  80. package/dist/providers/brevo/index.d.ts +3 -3
  81. package/dist/providers/brevo/index.js +1 -1
  82. package/dist/providers/cloudflare-email/index.d.ts +4 -4
  83. package/dist/providers/cloudflare-email/index.js +1 -1
  84. package/dist/providers/failover/index.d.ts +3 -3
  85. package/dist/providers/failover/index.js +1 -1
  86. package/dist/providers/file/index.d.ts +23 -0
  87. package/dist/providers/file/index.js +1 -0
  88. package/dist/providers/http/index.d.ts +3 -3
  89. package/dist/providers/http/index.js +1 -1
  90. package/dist/providers/infobip/index.d.ts +3 -3
  91. package/dist/providers/infobip/index.js +1 -1
  92. package/dist/providers/loops/index.d.ts +3 -3
  93. package/dist/providers/loops/index.js +1 -1
  94. package/dist/providers/mailchannels/index.d.ts +3 -3
  95. package/dist/providers/mailchannels/index.js +1 -1
  96. package/dist/providers/mailcrab/index.d.ts +3 -3
  97. package/dist/providers/mailcrab/index.js +1 -1
  98. package/dist/providers/mailersend/index.d.ts +3 -3
  99. package/dist/providers/mailersend/index.js +1 -1
  100. package/dist/providers/mailgun/index.d.ts +3 -3
  101. package/dist/providers/mailgun/index.js +1 -1
  102. package/dist/providers/mailjet/index.d.ts +3 -3
  103. package/dist/providers/mailjet/index.js +1 -1
  104. package/dist/providers/mailomat/index.d.ts +3 -3
  105. package/dist/providers/mailomat/index.js +1 -1
  106. package/dist/providers/mailpace/index.d.ts +3 -3
  107. package/dist/providers/mailpace/index.js +1 -1
  108. package/dist/providers/mailtrap/index.d.ts +3 -3
  109. package/dist/providers/mailtrap/index.js +1 -1
  110. package/dist/providers/mandrill/index.d.ts +3 -3
  111. package/dist/providers/mandrill/index.js +1 -1
  112. package/dist/providers/mock/index.d.ts +5 -5
  113. package/dist/providers/mock/index.js +1 -1
  114. package/dist/providers/netcore/index.d.ts +3 -3
  115. package/dist/providers/netcore/index.js +1 -1
  116. package/dist/providers/nodemailer/index.d.ts +3 -3
  117. package/dist/providers/nodemailer/index.js +1 -1
  118. package/dist/providers/opentelemetry/index.d.ts +2 -2
  119. package/dist/providers/opentelemetry/index.js +1 -1
  120. package/dist/providers/outlook365/index.d.ts +3 -3
  121. package/dist/providers/outlook365/index.js +1 -1
  122. package/dist/providers/plunk/index.d.ts +3 -3
  123. package/dist/providers/plunk/index.js +1 -1
  124. package/dist/providers/postal/index.d.ts +3 -3
  125. package/dist/providers/postal/index.js +1 -1
  126. package/dist/providers/postmark/index.d.ts +3 -3
  127. package/dist/providers/postmark/index.js +1 -1
  128. package/dist/providers/resend/index.d.ts +3 -3
  129. package/dist/providers/resend/index.js +1 -1
  130. package/dist/providers/roundrobin/index.d.ts +3 -3
  131. package/dist/providers/roundrobin/index.js +1 -1
  132. package/dist/providers/scaleway/index.d.ts +3 -3
  133. package/dist/providers/scaleway/index.js +1 -1
  134. package/dist/providers/sendgrid/index.d.ts +3 -3
  135. package/dist/providers/sendgrid/index.js +1 -1
  136. package/dist/providers/smtp/index.d.ts +4 -4
  137. package/dist/providers/smtp/index.js +1 -1
  138. package/dist/providers/sparkpost/index.d.ts +3 -3
  139. package/dist/providers/sparkpost/index.js +1 -1
  140. package/dist/providers/sweego/index.d.ts +3 -3
  141. package/dist/providers/sweego/index.js +1 -1
  142. package/dist/providers/zeptomail/index.d.ts +3 -3
  143. package/dist/providers/zeptomail/index.js +1 -1
  144. package/dist/queue/bullmq-queue.d.ts +2 -2
  145. package/dist/queue/index.d.ts +4 -3
  146. package/dist/queue/index.js +1 -1
  147. package/dist/queue/pg-boss-queue.d.ts +2 -2
  148. package/dist/queue/sqs-queue.d.ts +2 -2
  149. package/dist/queue/unstorage-queue.d.ts +2 -2
  150. package/dist/render/css-inline.js +1 -1
  151. package/dist/template-engines/handlebars.js +1 -1
  152. package/dist/template-engines/html-to-text.js +1 -1
  153. package/dist/template-engines/i18n.js +1 -1
  154. package/dist/template-engines/jsx-email.js +1 -1
  155. package/dist/template-engines/liquid.js +1 -1
  156. package/dist/template-engines/locale-files.d.ts +66 -0
  157. package/dist/template-engines/locale-files.js +1 -0
  158. package/dist/template-engines/mjml.js +1 -1
  159. package/dist/template-engines/react-email.js +1 -1
  160. package/dist/template-engines/vue-email.js +1 -1
  161. package/dist/test/index.d.ts +24 -7
  162. package/dist/test/index.js +1 -1
  163. package/dist/utils/format-email-address.d.ts +1 -1
  164. package/dist/utils/format-email-address.js +1 -1
  165. package/dist/utils/parse-address.d.ts +1 -1
  166. package/dist/utils/parse-eml.d.ts +1 -1
  167. package/dist/utils/result.d.ts +1 -1
  168. package/dist/utils/result.js +1 -1
  169. package/dist/utils/validation/check-feature-support.d.ts +1 -1
  170. package/dist/utils/validation/check-feature-support.js +1 -1
  171. package/dist/webhooks/index.js +1 -1
  172. package/package.json +9 -1
  173. package/dist/packem_shared/EmailError-BIaHK1Uw.js +0 -1
  174. package/dist/packem_shared/Mail-DmYNQ0KK.js +0 -1
  175. package/dist/packem_shared/MailMessage-DmmaNHHc.js +0 -1
  176. package/dist/packem_shared/createWorker-ChuTgETP.js +0 -1
  177. package/dist/packem_shared/make-request-Cyz5_yu8.js +0 -1
  178. package/dist/packem_shared/resendProvider-DtaB7sk0.js +0 -1
@@ -1 +1 @@
1
- import{default as e}from"../../packem_shared/httpProvider-CpdWJoRq.js";export{e as httpProvider};
1
+ import{default as e}from"../../packem_shared/httpProvider-BuA00407.js";export{e as httpProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Infobip configuration
@@ -1 +1 @@
1
- import{default as e}from"../../packem_shared/infobipProvider-DTqFu5pM.js";export{e as infobipProvider};
1
+ import{default as e}from"../../packem_shared/infobipProvider-DVUg9jKC.js";export{e as infobipProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Loops configuration.
@@ -1 +1 @@
1
- import{default as e}from"../../packem_shared/loopsProvider-PiE2HxoW.js";export{e as loopsProvider};
1
+ import{default as e}from"../../packem_shared/loopsProvider-BJUNQ2rR.js";export{e as loopsProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * MailChannels configuration.
@@ -1 +1 @@
1
- import{default as r}from"../../packem_shared/mailchannelsProvider-Dn24mI8D.js";export{r as mailchannelsProvider};
1
+ import{default as r}from"../../packem_shared/mailchannelsProvider-CPVW3wlH.js";export{r as mailchannelsProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * MailCrab configuration (for local development/testing)
@@ -1 +1 @@
1
- import{default as e}from"../../packem_shared/mailCrabProvider-BSapw_mS.js";export{e as mailCrabProvider};
1
+ import{default as e}from"../../packem_shared/mailCrabProvider-CFKRofS5.js";export{e as mailCrabProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * MailerSend configuration
@@ -1 +1 @@
1
- import{default as a}from"../../packem_shared/mailerSendProvider-B6X4Lhsf.js";export{a as mailerSendProvider};
1
+ import{default as a}from"../../packem_shared/mailerSendProvider-B2H6BtoV.js";export{a as mailerSendProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Mailgun configuration
@@ -1 +1 @@
1
- import{default as e}from"../../packem_shared/mailgunProvider-4sMtcQcW.js";export{e as mailgunProvider};
1
+ import{default as e}from"../../packem_shared/mailgunProvider-JRVH70PB.js";export{e as mailgunProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Mailjet configuration
@@ -1 +1 @@
1
- import{default as a}from"../../packem_shared/mailjetProvider-DvrHwipw.js";export{a as mailjetProvider};
1
+ import{default as a}from"../../packem_shared/mailjetProvider-BzBovF5M.js";export{a as mailjetProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Mailomat configuration
@@ -1 +1 @@
1
- import{default as r}from"../../packem_shared/mailomatProvider-CrkNQGfL.js";export{r as mailomatProvider};
1
+ import{default as r}from"../../packem_shared/mailomatProvider-x6IHKuWU.js";export{r as mailomatProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * MailPace configuration
@@ -1 +1 @@
1
- import{default as r}from"../../packem_shared/mailPaceProvider-BugIutTw.js";export{r as mailPaceProvider};
1
+ import{default as r}from"../../packem_shared/mailPaceProvider-DBQd6NYt.js";export{r as mailPaceProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Mailtrap configuration
@@ -1 +1 @@
1
- import{default as e}from"../../packem_shared/mailtrapProvider-DTgvCUrs.js";export{e as mailtrapProvider};
1
+ import{default as e}from"../../packem_shared/mailtrapProvider-CJTJoDcV.js";export{e as mailtrapProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Mandrill configuration
@@ -1 +1 @@
1
- import{default as d}from"../../packem_shared/mandrillProvider-BaK0GEj7.js";export{d as mandrillProvider};
1
+ import{default as d}from"../../packem_shared/mandrillProvider-BcztgKkr.js";export{d as mandrillProvider};
@@ -1,8 +1,8 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { M as MockConfig, a as MockEmailEntry } from "../../packem_shared/types.d-C5geVKes.js";
4
- export type { b as MockEmailOptions, R as RandomDelayRange } from "../../packem_shared/types.d-C5geVKes.js";
5
- import "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { M as MockConfig, a as MockEmailEntry } from "../../packem_shared/types.d-V_yuAOrx.js";
4
+ export type { b as MockEmailOptions, R as RandomDelayRange } from "../../packem_shared/types.d-V_yuAOrx.js";
5
+ import "../../packem_shared/types.d-CyiC9uRC.js";
6
6
  import 'node:buffer';
7
7
  /**
8
8
  * Mock Provider for testing emails without actually sending them
@@ -1 +1 @@
1
- import{default as e}from"../../packem_shared/mockProvider-CTxxbT0d.js";export{e as mockProvider};
1
+ import{default as e}from"../../packem_shared/mockProvider-DVtl5Jjy.js";export{e as mockProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Netcore (Pepipost) configuration.
@@ -1 +1 @@
1
- import{default as o}from"../../packem_shared/netcoreProvider-BZJ0noQ2.js";export{o as netcoreProvider};
1
+ import{default as o}from"../../packem_shared/netcoreProvider-YWEpa-wi.js";export{o as netcoreProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { c as EmailAddress, B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { c as EmailAddress, B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Nodemailer configuration
@@ -1 +1 @@
1
- import{default as o}from"../../packem_shared/nodemailerProvider-DqJh8ghN.js";export{o as nodemailerProvider};
1
+ import{default as o}from"../../packem_shared/nodemailerProvider-WNNtLE2s.js";export{o as nodemailerProvider};
@@ -1,5 +1,5 @@
1
- import { a as Provider, P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { a as Provider, P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
3
3
  import { T as Tracer } from "../../packem_shared/tracer.d-sb5yrt_n.js";
4
4
  import 'node:buffer';
5
5
  /**
@@ -1 +1 @@
1
- import{default as o}from"../../packem_shared/opentelemetryProvider-s0gvh05u.js";export{o as opentelemetryProvider};
1
+ import{default as o}from"../../packem_shared/opentelemetryProvider-ddbILMeS.js";export{o as opentelemetryProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { M as MaybePromise, B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { M as MaybePromise, B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Which OAuth2 flow a config resolves to.
@@ -1 +1 @@
1
- import{default as e}from"../../packem_shared/outlook365Provider-DQUSFy2d.js";export{e as outlook365Provider};
1
+ import{default as e}from"../../packem_shared/outlook365Provider-D5eETMZq.js";export{e as outlook365Provider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Plunk configuration
@@ -1 +1 @@
1
- import{default as o}from"../../packem_shared/plunkProvider-WMi1yPya.js";export{o as plunkProvider};
1
+ import{default as o}from"../../packem_shared/plunkProvider-TrBBoX7_.js";export{o as plunkProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Postal configuration
@@ -1 +1 @@
1
- import{default as a}from"../../packem_shared/postalProvider-DpBFGpoX.js";export{a as postalProvider};
1
+ import{default as a}from"../../packem_shared/postalProvider-CU53hX0R.js";export{a as postalProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Postmark configuration
@@ -1 +1 @@
1
- import{default as a}from"../../packem_shared/postmarkProvider-ClUaHPvw.js";export{a as postmarkProvider};
1
+ import{default as a}from"../../packem_shared/postmarkProvider-DEYQp8Gv.js";export{a as postmarkProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions, d as EmailTag } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions, d as EmailTag } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Resend configuration
@@ -1 +1 @@
1
- import{default as d}from"../../packem_shared/resendProvider-DtaB7sk0.js";export{d as resendProvider};
1
+ import{default as d}from"../../packem_shared/resendProvider-BaIZCvph.js";export{d as resendProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Round Robin configuration
@@ -1 +1 @@
1
- import{default as d}from"../../packem_shared/roundRobinProvider-Dr1DdT2L.js";export{d as roundRobinProvider};
1
+ import{default as d}from"../../packem_shared/roundRobinProvider-CfuNY7We.js";export{d as roundRobinProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Scaleway configuration
@@ -1 +1 @@
1
- import{default as r}from"../../packem_shared/scalewayProvider-BhbDUEah.js";export{r as scalewayProvider};
1
+ import{default as r}from"../../packem_shared/scalewayProvider-x6S2ZSPd.js";export{r as scalewayProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * SendGrid configuration
@@ -1 +1 @@
1
- import{default as e}from"../../packem_shared/sendGridProvider-DBZHhxd6.js";export{e as sendGridProvider};
1
+ import{default as e}from"../../packem_shared/sendGridProvider-8Po3P-ia.js";export{e as sendGridProvider};
@@ -1,7 +1,7 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { D as DkimOptions } from "../../packem_shared/types.d-Cb5fls_X.js";
4
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { D as DkimOptions } from "../../packem_shared/types.d-A1Eea-p_.js";
4
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
5
5
  import 'node:buffer';
6
6
  /**
7
7
  * SMTP configuration
@@ -1 +1 @@
1
- import{default as o}from"../../packem_shared/smtpProvider-CjcOEiAh.js";export{o as smtpProvider};
1
+ import{default as o}from"../../packem_shared/smtpProvider-BPamDNuv.js";export{o as smtpProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * SparkPost configuration.
@@ -1 +1 @@
1
- import{default as a}from"../../packem_shared/sparkpostProvider-B19lU9D5.js";export{a as sparkpostProvider};
1
+ import{default as a}from"../../packem_shared/sparkpostProvider-BVu1KeNz.js";export{a as sparkpostProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Sweego configuration
@@ -1 +1 @@
1
- import{default as r}from"../../packem_shared/sweegoProvider-H8KWGDff.js";export{r as sweegoProvider};
1
+ import{default as r}from"../../packem_shared/sweegoProvider-DHISjS9s.js";export{r as sweegoProvider};
@@ -1,6 +1,6 @@
1
- import { P as ProviderFactory } from "../../packem_shared/provider.d-Cx5YQJdP.js";
2
- export type { a as Provider } from "../../packem_shared/provider.d-Cx5YQJdP.js";
3
- import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-B9295M4_.js";
1
+ import { P as ProviderFactory } from "../../packem_shared/provider.d-BLLbEuQ8.js";
2
+ export type { a as Provider } from "../../packem_shared/provider.d-BLLbEuQ8.js";
3
+ import { B as BaseConfig, E as EmailOptions } from "../../packem_shared/types.d-CyiC9uRC.js";
4
4
  import 'node:buffer';
5
5
  /**
6
6
  * Zeptomail configuration
@@ -1 +1 @@
1
- import{default as r}from"../../packem_shared/zeptomailProvider-L7nkdn0L.js";export{r as zeptomailProvider};
1
+ import{default as r}from"../../packem_shared/zeptomailProvider-IhCIl_2a.js";export{r as zeptomailProvider};
@@ -1,5 +1,5 @@
1
- import { E as EmailOptions, a as EmailResult, R as Result } from "../packem_shared/types.d-B9295M4_.js";
2
- import { E as EnqueueOptions } from "../packem_shared/types.d-kHO4kX9q.js";
1
+ import { E as EmailOptions, a as EmailResult, R as Result } from "../packem_shared/types.d-CyiC9uRC.js";
2
+ import { E as EnqueueOptions } from "../packem_shared/types.d-B5iH_mgb.js";
3
3
  import 'node:buffer';
4
4
  /**
5
5
  * The subset of a [BullMQ](https://docs.bullmq.io/) `Queue` this adapter uses.
@@ -1,5 +1,5 @@
1
- import { E as EmailOptions, a as EmailResult, R as Result } from "../packem_shared/types.d-B9295M4_.js";
2
- import { E as EnqueueOptions, Q as QueueJob, a as EmailQueue } from "../packem_shared/types.d-kHO4kX9q.js";
1
+ import { E as EmailOptions, a as EmailResult, R as Result } from "../packem_shared/types.d-CyiC9uRC.js";
2
+ import { E as EnqueueOptions, Q as QueueJob, a as EmailQueue } from "../packem_shared/types.d-B5iH_mgb.js";
3
3
  export { UnstorageQueue, type UnstorageQueueOptions, createUnstorageQueue } from "./unstorage-queue.js";
4
4
  import 'node:buffer';
5
5
  /**
@@ -76,7 +76,8 @@ interface WorkerOptions {
76
76
  */
77
77
  concurrency?: number;
78
78
  /**
79
- * Maximum delivery attempts before a job is dead-lettered.
79
+ * Maximum delivery attempts before a job is dead-lettered. A failure whose error is flagged
80
+ * `permanent` is dead-lettered on its first attempt regardless of this limit.
80
81
  * @default 3
81
82
  */
82
83
  maxAttempts?: number;
@@ -1 +1 @@
1
- import{MemoryQueue as o}from"../packem_shared/MemoryQueue-Dl1Fa6OJ.js";import{UnstorageQueue as u,createUnstorageQueue as a}from"./unstorage-queue.js";import{createWorker as f}from"../packem_shared/createWorker-ChuTgETP.js";export{o as MemoryQueue,u as UnstorageQueue,a as createUnstorageQueue,f as createWorker};
1
+ import{MemoryQueue as o}from"../packem_shared/MemoryQueue-Dl1Fa6OJ.js";import{UnstorageQueue as u,createUnstorageQueue as a}from"./unstorage-queue.js";import{createWorker as f}from"../packem_shared/createWorker-ChrQvLUF.js";export{o as MemoryQueue,u as UnstorageQueue,a as createUnstorageQueue,f as createWorker};
@@ -1,5 +1,5 @@
1
- import { a as EmailQueue } from "../packem_shared/types.d-kHO4kX9q.js";
2
- import "../packem_shared/types.d-B9295M4_.js";
1
+ import { a as EmailQueue } from "../packem_shared/types.d-B5iH_mgb.js";
2
+ import "../packem_shared/types.d-CyiC9uRC.js";
3
3
  import 'node:buffer';
4
4
  interface PgBossJob {
5
5
  data: unknown;
@@ -1,5 +1,5 @@
1
- import { a as EmailQueue } from "../packem_shared/types.d-kHO4kX9q.js";
2
- import "../packem_shared/types.d-B9295M4_.js";
1
+ import { a as EmailQueue } from "../packem_shared/types.d-B5iH_mgb.js";
2
+ import "../packem_shared/types.d-CyiC9uRC.js";
3
3
  import 'node:buffer';
4
4
  /**
5
5
  * The subset of the `@aws-sdk/client-sqs` `SQS` client this adapter uses. The `SQS` class (not the
@@ -1,5 +1,5 @@
1
- import { E as EmailOptions } from "../packem_shared/types.d-B9295M4_.js";
2
- import { E as EnqueueOptions, Q as QueueJob, a as EmailQueue } from "../packem_shared/types.d-kHO4kX9q.js";
1
+ import { E as EmailOptions } from "../packem_shared/types.d-CyiC9uRC.js";
2
+ import { E as EnqueueOptions, Q as QueueJob, a as EmailQueue } from "../packem_shared/types.d-B5iH_mgb.js";
3
3
  import 'node:buffer';
4
4
  type StorageValue = null | string | number | boolean | object;
5
5
  type WatchEvent = "update" | "remove";
@@ -1 +1 @@
1
- import e from"juice";import n from"../packem_shared/EmailError-BIaHK1Uw.js";const s=(t,o)=>{const i=e.default??e;try{return i(t,o)}catch(r){throw new n("render",`Failed to inline CSS: ${r.message}`,{cause:r})}};export{s as default};
1
+ import e from"juice";import n from"../packem_shared/EmailError-SXEFQEyA.js";const s=(t,o)=>{const i=e.default??e;try{return i(t,o)}catch(r){throw new n("render",`Failed to inline CSS: ${r.message}`,{cause:r})}};export{s as default};
@@ -1 +1 @@
1
- import t from"handlebars";import s from"../packem_shared/EmailError-BIaHK1Uw.js";const i=(r,n,e)=>{try{if(typeof r!="string")throw new TypeError("Handlebars template must be a string");return t.compile(r,e)(n??{})}catch(a){throw a instanceof Error&&a.message.includes("Cannot find module")?new s("handlebars","Handlebars is not installed. Please install it: pnpm add handlebars",{cause:a}):new s("handlebars",`Failed to render Handlebars template: ${a.message}`,{cause:a})}},d=(r,n)=>{try{t.registerHelper(r,n)}catch(e){throw e instanceof Error&&e.message.includes("Cannot find module")?new s("handlebars","Handlebars is not installed. Please install it: pnpm add handlebars",{cause:e}):e}},c=(r,n)=>{try{t.registerPartial(r,n)}catch(e){throw e instanceof Error&&e.message.includes("Cannot find module")?new s("handlebars","Handlebars is not installed. Please install it: pnpm add handlebars",{cause:e}):e}};export{d as registerHandlebarsHelper,c as registerHandlebarsPartial,i as renderHandlebars};
1
+ import t from"handlebars";import s from"../packem_shared/EmailError-SXEFQEyA.js";const i=(r,n,e)=>{try{if(typeof r!="string")throw new TypeError("Handlebars template must be a string");return t.compile(r,e)(n??{})}catch(a){throw a instanceof Error&&a.message.includes("Cannot find module")?new s("handlebars","Handlebars is not installed. Please install it: pnpm add handlebars",{cause:a}):new s("handlebars",`Failed to render Handlebars template: ${a.message}`,{cause:a})}},d=(r,n)=>{try{t.registerHelper(r,n)}catch(e){throw e instanceof Error&&e.message.includes("Cannot find module")?new s("handlebars","Handlebars is not installed. Please install it: pnpm add handlebars",{cause:e}):e}},c=(r,n)=>{try{t.registerPartial(r,n)}catch(e){throw e instanceof Error&&e.message.includes("Cannot find module")?new s("handlebars","Handlebars is not installed. Please install it: pnpm add handlebars",{cause:e}):e}};export{d as registerHandlebarsHelper,c as registerHandlebarsPartial,i as renderHandlebars};
@@ -1 +1 @@
1
- import{convert as l}from"html-to-text";import r from"../packem_shared/EmailError-BIaHK1Uw.js";const n=(o,t)=>{try{return l(o,{longWordSplit:t?.longWordSplit,preserveNewlines:t?.preserveNewlines??!1,selectors:t?.selectors,wordwrap:t?.wordwrap??80})}catch(e){throw e instanceof Error&&e.message.includes("Cannot find module")?new r("html-to-text","html-to-text is not installed. Please install it: pnpm add html-to-text",{cause:e}):new r("html-to-text",`Failed to convert HTML to text: ${e.message}`,{cause:e})}};export{n as default};
1
+ import{convert as l}from"html-to-text";import r from"../packem_shared/EmailError-SXEFQEyA.js";const n=(o,t)=>{try{return l(o,{longWordSplit:t?.longWordSplit,preserveNewlines:t?.preserveNewlines??!1,selectors:t?.selectors,wordwrap:t?.wordwrap??80})}catch(e){throw e instanceof Error&&e.message.includes("Cannot find module")?new r("html-to-text","html-to-text is not installed. Please install it: pnpm add html-to-text",{cause:e}):new r("html-to-text",`Failed to convert HTML to text: ${e.message}`,{cause:e})}};export{n as default};
@@ -1 +1 @@
1
- import c from"../packem_shared/EmailError-BIaHK1Uw.js";const l=(t,o,n)=>{const a=new Map(Object.keys(t).map(r=>[r.toLowerCase(),r])),e=r=>{if(r!==void 0)return a.get(r.toLowerCase())};return e(o)??e(o.split("-")[0])??e(n)},d=async(t,o,n,a,e)=>{const r=l(t,o,e?.defaultLocale);if(r===void 0)throw new c("i18n",`No template found for locale "${o}"${e?.defaultLocale?` or default "${e.defaultLocale}"`:""}`);return await n(t[r],a,e?.rendererOptions)},u=(t,o)=>(n,a,e,r)=>d(n,a,t,e,{defaultLocale:o,rendererOptions:r});export{u as createI18nRenderer,d as renderI18n,l as resolveLocale};
1
+ import c from"../packem_shared/EmailError-SXEFQEyA.js";const l=(t,o,n)=>{const a=new Map(Object.keys(t).map(r=>[r.toLowerCase(),r])),e=r=>{if(r!==void 0)return a.get(r.toLowerCase())};return e(o)??e(o.split("-")[0])??e(n)},d=async(t,o,n,a,e)=>{const r=l(t,o,e?.defaultLocale);if(r===void 0)throw new c("i18n",`No template found for locale "${o}"${e?.defaultLocale?` or default "${e.defaultLocale}"`:""}`);return await n(t[r],a,e?.rendererOptions)},u=(t,o)=>(n,a,e,r)=>d(n,a,t,e,{defaultLocale:o,rendererOptions:r});export{u as createI18nRenderer,d as renderI18n,l as resolveLocale};
@@ -1 +1 @@
1
- import t from"../packem_shared/EmailError-BIaHK1Uw.js";const i=async(n,r,a)=>{try{const{render:e}=await import("jsx-email");return await e(n,{plainText:a?.plainText,pretty:a?.pretty})}catch(e){throw e instanceof Error&&(e.code==="ERR_MODULE_NOT_FOUND"||e.message.includes("Cannot find module")||e.message.includes("Cannot find package"))?new t("jsx-email","jsx-email is not installed. Please install it: pnpm add jsx-email",{cause:e}):new t("jsx-email",`Failed to render jsx-email component: ${e.message}`,{cause:e})}};export{i as default};
1
+ import t from"../packem_shared/EmailError-SXEFQEyA.js";const i=async(n,r,a)=>{try{const{render:e}=await import("jsx-email");return await e(n,{plainText:a?.plainText,pretty:a?.pretty})}catch(e){throw e instanceof Error&&(e.code==="ERR_MODULE_NOT_FOUND"||e.message.includes("Cannot find module")||e.message.includes("Cannot find package"))?new t("jsx-email","jsx-email is not installed. Please install it: pnpm add jsx-email",{cause:e}):new t("jsx-email",`Failed to render jsx-email component: ${e.message}`,{cause:e})}};export{i as default};
@@ -1 +1 @@
1
- import n from"../packem_shared/EmailError-BIaHK1Uw.js";const o=async(i,r,t)=>{try{if(typeof i!="string")throw new TypeError("Liquid template must be a string");const{Liquid:e}=await import("liquidjs");return await new e(t??{}).parseAndRender(i,r??{})}catch(e){throw e instanceof TypeError?e:e instanceof Error&&(e.code==="ERR_MODULE_NOT_FOUND"||e.message.includes("Cannot find module")||e.message.includes("Cannot find package"))?new n("liquid","liquidjs is not installed. Please install it: pnpm add liquidjs",{cause:e}):new n("liquid",`Failed to render Liquid template: ${e.message}`,{cause:e})}};export{o as default};
1
+ import n from"../packem_shared/EmailError-SXEFQEyA.js";const o=async(i,r,t)=>{try{if(typeof i!="string")throw new TypeError("Liquid template must be a string");const{Liquid:e}=await import("liquidjs");return await new e(t??{}).parseAndRender(i,r??{})}catch(e){throw e instanceof TypeError?e:e instanceof Error&&(e.code==="ERR_MODULE_NOT_FOUND"||e.message.includes("Cannot find module")||e.message.includes("Cannot find package"))?new n("liquid","liquidjs is not installed. Please install it: pnpm add liquidjs",{cause:e}):new n("liquid",`Failed to render Liquid template: ${e.message}`,{cause:e})}};export{o as default};