diff --git a/email.ts b/email.ts index b7fb160..3069d7b 100644 --- a/email.ts +++ b/email.ts @@ -1,5 +1,5 @@ export * from './smtp/client'; +export * from './smtp/connection'; export * from './smtp/message'; export * from './smtp/date'; -export * from './smtp/smtp'; export * from './smtp/error'; diff --git a/smtp/client.ts b/smtp/client.ts index 29d2628..9fa2309 100644 --- a/smtp/client.ts +++ b/smtp/client.ts @@ -1,8 +1,8 @@ import addressparser from 'addressparser'; import { Message } from './message'; import type { MessageAttachment, MessageHeaders } from './message'; -import { SMTPConnection, SMTPState } from './smtp'; -import type { SMTPConnectionOptions } from './smtp'; +import { SMTPConnection, SMTPState } from './connection'; +import type { SMTPConnectionOptions } from './connection'; export interface MessageStack { callback: (error: Error | null, message: Message) => void; diff --git a/smtp/smtp.ts b/smtp/connection.ts similarity index 100% rename from smtp/smtp.ts rename to smtp/connection.ts