@geekmidas/emailkit 0.0.2 → 0.0.3

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/client.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekmidas/emailkit",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Type-safe email client with SMTP support and React templates",
5
5
  "private": false,
6
6
  "type": "module",
package/src/client.ts CHANGED
@@ -4,7 +4,7 @@ import type {
4
4
  EmailClient,
5
5
  EmailClientConfig,
6
6
  EmailOptions,
7
- PlainEmailOptions,
7
+ SendOptions,
8
8
  SendResult,
9
9
  TemplateNames,
10
10
  TemplatePropsFor,
@@ -20,7 +20,7 @@ export class SMTPClient<T extends TemplateRecord> implements EmailClient<T> {
20
20
  this.transporter = nodemailer.createTransport(config.smtp as any);
21
21
  }
22
22
 
23
- async send(options: PlainEmailOptions): Promise<SendResult> {
23
+ async send(options: SendOptions): Promise<SendResult> {
24
24
  const mailOptions = {
25
25
  ...this.config.defaults,
26
26
  ...options,