diff --git a/build/entrypoints/browser.d.ts b/build/entrypoints/browser.d.ts index 6df5920..1b8087b 100644 --- a/build/entrypoints/browser.d.ts +++ b/build/entrypoints/browser.d.ts @@ -5,3 +5,8 @@ export { Mailbox } from '../Mailbox.js'; export { MIMETextError } from '../MIMETextError.js'; export { MIMEMessageHeader } from '../MIMEMessageHeader.js'; export { MIMEMessageContent } from '../MIMEMessageContent.js'; +export type * from '../MIMEMessage.js'; +export type * from '../Mailbox.js'; +export type * from '../MIMETextError.js'; +export type * from '../MIMEMessageHeader.js'; +export type * from '../MIMEMessageContent.js'; diff --git a/build/entrypoints/gas.d.ts b/build/entrypoints/gas.d.ts index 6df5920..1b8087b 100644 --- a/build/entrypoints/gas.d.ts +++ b/build/entrypoints/gas.d.ts @@ -5,3 +5,8 @@ export { Mailbox } from '../Mailbox.js'; export { MIMETextError } from '../MIMETextError.js'; export { MIMEMessageHeader } from '../MIMEMessageHeader.js'; export { MIMEMessageContent } from '../MIMEMessageContent.js'; +export type * from '../MIMEMessage.js'; +export type * from '../Mailbox.js'; +export type * from '../MIMETextError.js'; +export type * from '../MIMEMessageHeader.js'; +export type * from '../MIMEMessageContent.js'; diff --git a/build/entrypoints/node.d.ts b/build/entrypoints/node.d.ts index 6df5920..1b8087b 100644 --- a/build/entrypoints/node.d.ts +++ b/build/entrypoints/node.d.ts @@ -5,3 +5,8 @@ export { Mailbox } from '../Mailbox.js'; export { MIMETextError } from '../MIMETextError.js'; export { MIMEMessageHeader } from '../MIMEMessageHeader.js'; export { MIMEMessageContent } from '../MIMEMessageContent.js'; +export type * from '../MIMEMessage.js'; +export type * from '../Mailbox.js'; +export type * from '../MIMETextError.js'; +export type * from '../MIMEMessageHeader.js'; +export type * from '../MIMEMessageContent.js'; diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 1663961..71aebcb 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE63SMY+CMByH4e9SV6KnEuOxXkx0YHMzDpX+T5orrWlrNDF+d1EUqBSoBxtpfz7B8G4uSMNZowDtpDgpkMhDB6zj9CAR5MhAjZ4Xw1gnLL39o5ygYOKhKKaMSOAo2ORIuAoXISiF99AMDcxlhvrjb3/65V89m/cjuAau3dniBw76EjBp+/MD277JXqePCymFi1ve1pqYsp04t2n5qs6JJGANIU2g8q1+jzzSVPDCrIzNEGb+dVui91hVXy897F7PC+mxHBvZSzU2uGsxhtmplkLqp5S791klXBDLF76f/r+TiGGlXkppYYrjydwxkjrvOXRk3wupU7NdG2rJowLmm0bsvQ2TyW6bAKcwHphLGdsbUncjiIcGAAA=" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE63WT2/aMBgG8O+SXdFWGO1Wbl3FtB1QL9yqHkxswGtiI8dsnaZ+9wUCJv77vii+VcmTn5Ma+/Hzv0KzN13MipWSfxqmilGxI3rbXqgl3Ves+XS68XGr66q9+8oFLWaTUVFueUUVE8Xs2SAPWpNyWzOhn3aaS9GkuQ+hfDfAdHw//XwzfR8Z+5vcC0oUZxBqBWPaoxS6HfYHI5QpSPTCgIr7eC8MqEtFRLNmai5KSbnY4PjAU7Fx5jXhFaCeM1FD/OZKisOUHl+gvQiAoQdiejcD3zmrKMDaybTXPK1+sRJ6UTcbMxc/F/MFaxqyYYBoJxHeaUrx7OUBvN5959VjmMcQI107BMpetn/OlZIYt5+Nmu0PfSXfIM2kAOeBUoX6nYXyCHsJLzU/Dbjt1K45tM+4WcBc/t2B68JKxrxSMaLZgtfMW23rvSiPm6pxvbBdZ3fT95cevSGBvbu9mKsDz1S2/jNglu4zWrbec8WMnefSw/vOiDm67oJl6zlDZuk4RxvYb0bL120hMmevJfwcnRbih/aZZQ7qsouUo8dcLU+HhdRh/eWKw7rL1XL01sG8rrOEpIF3O1xFtVZwVZcVaZqz0kvY4njyFbmkY94peB3rLjgA7+LIIbA2Dg2sZA80mSTmLmOb6e6mgMTZhLf/JbUm5Vnzos7P6PYOOJu44CWTkmJnE1ezcwgR/GA7lxJTve+qfjYlB3vfJXuhlJXYr13RiyJcd2+NmF0MMT/xk55u91N7jtysw9/cfxnfTuIHvR54vAM9HjlB9RgrAXHRwuuBTgZJ2v3kc4f7EIWqpyOK6aeX//fwCH1hFAAA" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index 0c5bbfd..3b50a2d 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAE72cS2/cOBLHv4tybXgskqIk35JsFpNDMMAk2D0YxkLupm3N9MOQ5Dxg5LuvKFGtKnVVN/XInIx2V/FfrB/flPo1KA7fyuDm9jX4O99vghuxCvbZzgQ3wf6wMcEqeCm29YfdYfOyNeVv9p9XT9VuW3+z3mZlaWrnIPi56vy1OhawLkxWmU/5znwyZZk99qU9vOzXVX7Yu/JODAmFVfCcFWZfdYH1in3Ej1l5EnD9vyXjtcWNDNdGRUV7bzNvipOI3f+XjLorcmTkXYS9biiSo/Cnj58+DCVdOS1WYDAKaBT2SVrX4VfFy7o6FH4ib7AHLwg9YQ2vRZ9bs/+6rr57Ch+N52k+mWxjitJTtLeep3p/eNlvsiI3vsLIYZ7212ybb778ePbWRg4LaL8/7Kva7UuR7csHU3zYrw+bfP84KpwzZcyLcNd+7RsMMB+tK65V372z8s/sm6doZztXscma2Xir9vbzlDcvu+cv5nvlIHrqn3rNi+IpKz/ut/nevK2qbP20q729hwHadXY8kyJZMoZHU42P4cRpdgxTuTCus+NxFu9+2FHQP5ah28z+utn01fLtswOf2RGMWoG8QQ7ztEtTfTb7jfFdl0D72fxHKT8uplzX4U+zzp/zEV1g6DO77qMjGPosl4MJKVhC/8vBX7ixna34fu2v2NjOVny3HiHZGs/vzy/3f5n1CKq9w/wePUr7cTntuhq/N5sI/2of7WfXepTy42LKxzqMGMR+n77Toms9YvhaSrs6vMtKo5WnMjBfRve/5v5z9uA7WZ96z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cRKJp04y6sn22GbQH4Ei8a75mV7k4mNuvwwFLFfCrkFZMWhRrSPK44Ccd89blYwlZ+zYx0ByYmJLfT4YxQi6AjJlI0eu+GAf0F4ybQppO15c3gVEBp2YijYFzWT+V2+a/T/tqc7z0qEqw+IpLH6HGErBKdRxLLFUjjfLDdotKOuC4uPVp1IgWiK/IkRmtHn+SAM2OwIqloVWz5TwIU+yGk8hB1nw5DyZx7KImsmg1KKRREEBJGEmjuRarcOBCNGCaqcLhBnKg31wVDiaTuGNvVC8nZBCMsUiaFZfTg/tOP2AORCh2C6C4SvkG/iwfavtld6Ad4EDs0qO4PF1OTPUD5nXHLsRS7Dy7iTIDnOBraYWjS6wGdrWvADpuOPIJWdxLXV+XB1IN5BzEQsxrCqxqBsaQuGT5NkTaDYym7oQhlvAlrfWptwSEuGOiY2li2eYEOhqXJqiyG2rNvmUThRpuamTNZ4wP3Arxi8/Hu9VT9VTaTdSbDx+/f/8/hI4V9aqeAAA="; \ No newline at end of file diff --git a/docs/classes/node.MIMEMessage.html b/docs/classes/node.MIMEMessage.html index 9be0f7a..6167503 100644 --- a/docs/classes/node.MIMEMessage.html +++ b/docs/classes/node.MIMEMessage.html @@ -1,4 +1,4 @@ -MIMEMessage | mimetext - v3.0.18

Class MIMEMessage

Constructors

constructor +MIMEMessage | mimetext - v3.0.19

Class MIMEMessage

Constructors

Properties

Constructors

Properties

boundaries: Boundaries = ...
envctx: EnvironmentContext
messages: MIMEMessageContent[] = []
validContentTransferEncodings: string[] = ...
validTypes: string[] = ...

Methods

  • Parameters

    • input: string | MailboxAddrObject | string[] | MailboxAddrObject[]
    • config: MailboxConfig = ...

    Returns Mailbox[]

  • Parameters

    • input: string | MailboxAddrObject | string[] | MailboxAddrObject[]
    • config: MailboxConfig = ...

    Returns Mailbox[]

  • Parameters

    • input: string | MailboxAddrObject | string[] | MailboxAddrObject[]
    • config: MailboxConfig = ...

    Returns Mailbox[]

  • Parameters

    • input: string | MailboxAddrObject | string[] | MailboxAddrObject[]
    • config: MailboxConfig = ...

    Returns Mailbox[]

  • Parameters

    • input: string | MailboxAddrObject | string[] | MailboxAddrObject[]
    • config: MailboxConfig = ...

    Returns Mailbox[]

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

boundaries: Boundaries = ...
messages: MIMEMessageContent[] = []
validContentTransferEncodings: string[] = ...
validTypes: string[] = ...

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/node.MIMEMessageContent.html b/docs/classes/node.MIMEMessageContent.html index e81a5a5..0f77f87 100644 --- a/docs/classes/node.MIMEMessageContent.html +++ b/docs/classes/node.MIMEMessageContent.html @@ -1,4 +1,4 @@ -MIMEMessageContent | mimetext - v3.0.18

Class MIMEMessageContent

Constructors

constructor +MIMEMessageContent | mimetext - v3.0.19

Class MIMEMessageContent

Constructors

Properties

Constructors

Properties

data: string
envctx: EnvironmentContext
headers: MIMEMessageContentHeader

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

data: string

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/node.MIMEMessageContentHeader.html b/docs/classes/node.MIMEMessageContentHeader.html new file mode 100644 index 0000000..2fb9f47 --- /dev/null +++ b/docs/classes/node.MIMEMessageContentHeader.html @@ -0,0 +1,17 @@ +MIMEMessageContentHeader | mimetext - v3.0.19

Class MIMEMessageContentHeader

Hierarchy (view full)

Constructors

Properties

fields: {
    name: string;
}[] = ...

Type declaration

  • name: string

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/node.MIMEMessageHeader.html b/docs/classes/node.MIMEMessageHeader.html index be6e258..5ffd91b 100644 --- a/docs/classes/node.MIMEMessageHeader.html +++ b/docs/classes/node.MIMEMessageHeader.html @@ -1,4 +1,4 @@ -MIMEMessageHeader | mimetext - v3.0.18

Class MIMEMessageHeader

Constructors

constructor +MIMEMessageHeader | mimetext - v3.0.19

Class MIMEMessageHeader

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

envctx: EnvironmentContext
fields: HeaderField[] = ...

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

fields: HeaderField[] = ...

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/node.MIMETextError.html b/docs/classes/node.MIMETextError.html index b7c854d..d60e685 100644 --- a/docs/classes/node.MIMETextError.html +++ b/docs/classes/node.MIMETextError.html @@ -1,4 +1,4 @@ -MIMETextError | mimetext - v3.0.18

Class MIMETextError

Hierarchy

  • Error
    • MIMETextError

Constructors

constructor +MIMETextError | mimetext - v3.0.19

Class MIMETextError

Hierarchy

  • Error
    • MIMETextError

Constructors

Properties

cause?: unknown
description: string = ''
message: string
name: string = ''
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

+

Constructors

Properties

cause?: unknown
description: string = ''
message: string
name: string = ''
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    -

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/node.Mailbox.html b/docs/classes/node.Mailbox.html index 19ee044..d1f4b2c 100644 --- a/docs/classes/node.Mailbox.html +++ b/docs/classes/node.Mailbox.html @@ -1,4 +1,4 @@ -Mailbox | mimetext - v3.0.18

Class Mailbox

Constructors

constructor +Mailbox | mimetext - v3.0.19

Class Mailbox

Constructors

Properties

Constructors

Properties

addr: string = ''
name: string = ''
reSpecCompliantAddr: RegExp = ...
type: MailboxType = 'To'

Methods

  • Parameters

    • v: unknown

    Returns v is MailboxAddrObject

  • Parameters

    • v: unknown

    Returns v is string

  • Parameters

    • v: unknown

    Returns v is object

  • Parameters

    • input: string | MailboxAddrObject

    Returns this

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

addr: string = ''
name: string = ''
reSpecCompliantAddr: RegExp = ...
type: MailboxType = 'To'

Methods

  • Parameters

    • v: unknown

    Returns v is string

  • Parameters

    • v: unknown

    Returns v is object

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/browser.createMimeMessage.html b/docs/functions/browser.createMimeMessage.html index 31ed88a..5c5eee7 100644 --- a/docs/functions/browser.createMimeMessage.html +++ b/docs/functions/browser.createMimeMessage.html @@ -1 +1 @@ -createMimeMessage | mimetext - v3.0.18

Function createMimeMessage

Generated using TypeDoc

\ No newline at end of file +createMimeMessage | mimetext - v3.0.19

Function createMimeMessage

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/gas.createMimeMessage.html b/docs/functions/gas.createMimeMessage.html index ec7c29c..e6e2f94 100644 --- a/docs/functions/gas.createMimeMessage.html +++ b/docs/functions/gas.createMimeMessage.html @@ -1 +1 @@ -createMimeMessage | mimetext - v3.0.18

Function createMimeMessage

Generated using TypeDoc

\ No newline at end of file +createMimeMessage | mimetext - v3.0.19

Function createMimeMessage

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/node.createMimeMessage.html b/docs/functions/node.createMimeMessage.html index 16e5b3f..229a74a 100644 --- a/docs/functions/node.createMimeMessage.html +++ b/docs/functions/node.createMimeMessage.html @@ -1 +1 @@ -createMimeMessage | mimetext - v3.0.18

Function createMimeMessage

Generated using TypeDoc

\ No newline at end of file +createMimeMessage | mimetext - v3.0.19

Function createMimeMessage

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/hierarchy.html b/docs/hierarchy.html new file mode 100644 index 0000000..7f5480b --- /dev/null +++ b/docs/hierarchy.html @@ -0,0 +1 @@ +mimetext - v3.0.19

mimetext - v3.0.19

Class Hierarchy

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index b366df4..a296e82 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -mimetext - v3.0.18

mimetext - v3.0.18

MIMEText

RFC-2822, RFC-2045 and RFC-2049 compliant raw email message generator. Refer to https://muratgozel.github.io/MIMEText/ for full api docs.

+mimetext - v3.0.19

mimetext - v3.0.19

MIMEText

RFC-2822, RFC-2045 and RFC-2049 compliant raw email message generator. Refer to https://muratgozel.github.io/MIMEText/ for full api docs.

Install

npm i mimetext
 

Use

// cjs
const {createMimeMessage} = require('mimetext')
// es
import {createMimeMessage} from 'mimetext'

// create a simple plain text email
const msg = createMimeMessage()
msg.setSender({name: 'Lorem Ipsum', addr: 'lorem@ipsum.com'})
msg.setRecipient('foobor@test.com')
msg.setSubject('🚀 Issue 49!')
msg.addMessage({
contentType: 'text/plain',
data: `Hi,
I'm a simple text.`
})
const raw = msg.asRaw()
/*
Date: Sun, 24 Oct 2021 04:50:32 +0000
From: "Lorem Ipsum" <lorem@ipsum.com>
To: <foobor@test.com>
Message-ID: <is6jcakaj6p-1635051032602@ipsum.com>
Subject: =?utf-8?B?8J+agCBJc3N1ZSA0OSE=?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8

Hi,
I'm a simple text.
*/ @@ -32,4 +32,4 @@

Thanks for watching 🐬

Support me on Patreon

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/node.AttachmentOptions.html b/docs/interfaces/node.AttachmentOptions.html new file mode 100644 index 0000000..0995b8f --- /dev/null +++ b/docs/interfaces/node.AttachmentOptions.html @@ -0,0 +1,8 @@ +AttachmentOptions | mimetext - v3.0.19

Interface AttachmentOptions

interface AttachmentOptions {
    charset?: string;
    contentType: string;
    data: string;
    encoding?: ContentTransferEncoding;
    filename: string;
    headers?: ContentHeaders;
    inline?: boolean;
}

Hierarchy (view full)

Properties

charset?: string
contentType: string
data: string
filename: string
headers?: ContentHeaders
inline?: boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/node.Boundaries.html b/docs/interfaces/node.Boundaries.html new file mode 100644 index 0000000..7f97382 --- /dev/null +++ b/docs/interfaces/node.Boundaries.html @@ -0,0 +1,4 @@ +Boundaries | mimetext - v3.0.19

Interface Boundaries

interface Boundaries {
    alt: string;
    mixed: string;
    related: string;
}

Properties

Properties

alt: string
mixed: string
related: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/node.ContentHeaders.html b/docs/interfaces/node.ContentHeaders.html new file mode 100644 index 0000000..d7f9512 --- /dev/null +++ b/docs/interfaces/node.ContentHeaders.html @@ -0,0 +1,5 @@ +ContentHeaders | mimetext - v3.0.19

Interface ContentHeaders

interface ContentHeaders {
    Content-Disposition?: string;
    Content-ID?: string;
    Content-Transfer-Encoding?: ContentTransferEncoding;
    Content-Type?: string;
    [index: string]: string | undefined;
}

Indexable

[index: string]: string | undefined

Properties

Content-Disposition?: string
Content-ID?: string
Content-Transfer-Encoding?: ContentTransferEncoding
Content-Type?: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/node.ContentOptions.html b/docs/interfaces/node.ContentOptions.html new file mode 100644 index 0000000..cab77c3 --- /dev/null +++ b/docs/interfaces/node.ContentOptions.html @@ -0,0 +1,6 @@ +ContentOptions | mimetext - v3.0.19

Interface ContentOptions

interface ContentOptions {
    charset?: string;
    contentType: string;
    data: string;
    encoding?: ContentTransferEncoding;
    headers?: ContentHeaders;
}

Hierarchy (view full)

Properties

charset?: string
contentType: string
data: string
headers?: ContentHeaders

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/node.EnvironmentContext.html b/docs/interfaces/node.EnvironmentContext.html new file mode 100644 index 0000000..5c16a6f --- /dev/null +++ b/docs/interfaces/node.EnvironmentContext.html @@ -0,0 +1,5 @@ +EnvironmentContext | mimetext - v3.0.19

Interface EnvironmentContext

interface EnvironmentContext {
    eol: string;
    toBase64: ((v) => string);
    toBase64WebSafe: ((v) => string);
    validateContentType: ((v) => string | false);
}

Properties

eol: string
toBase64: ((v) => string)

Type declaration

    • (v): string
    • Parameters

      • v: string

      Returns string

toBase64WebSafe: ((v) => string)

Type declaration

    • (v): string
    • Parameters

      • v: string

      Returns string

validateContentType: ((v) => string | false)

Type declaration

    • (v): string | false
    • Parameters

      • v: string

      Returns string | false

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/node.HeaderField.html b/docs/interfaces/node.HeaderField.html new file mode 100644 index 0000000..e63a514 --- /dev/null +++ b/docs/interfaces/node.HeaderField.html @@ -0,0 +1,9 @@ +HeaderField | mimetext - v3.0.19

Interface HeaderField

interface HeaderField {
    custom?: boolean;
    disabled?: boolean;
    dump?: ((v) => string);
    generator?: (() => string);
    name: string;
    required?: boolean;
    validate?: ((v) => boolean);
    value?: string | Mailbox;
}

Properties

custom?: boolean
disabled?: boolean
dump?: ((v) => string)

Type declaration

    • (v): string
    • Parameters

      Returns string

generator?: (() => string)

Type declaration

    • (): string
    • Returns string

name: string
required?: boolean
validate?: ((v) => boolean)

Type declaration

    • (v): boolean
    • Parameters

      • v: unknown

      Returns boolean

value?: string | Mailbox

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/node.MailboxAddrObject.html b/docs/interfaces/node.MailboxAddrObject.html new file mode 100644 index 0000000..7fe9a14 --- /dev/null +++ b/docs/interfaces/node.MailboxAddrObject.html @@ -0,0 +1,4 @@ +MailboxAddrObject | mimetext - v3.0.19

Interface MailboxAddrObject

interface MailboxAddrObject {
    addr: string;
    name?: string;
    type?: MailboxType;
}

Properties

Properties

addr: string
name?: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/node.MailboxConfig.html b/docs/interfaces/node.MailboxConfig.html new file mode 100644 index 0000000..2664755 --- /dev/null +++ b/docs/interfaces/node.MailboxConfig.html @@ -0,0 +1,2 @@ +MailboxConfig | mimetext - v3.0.19

Interface MailboxConfig

interface MailboxConfig {
    type: MailboxType;
}

Properties

Properties

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/browser.html b/docs/modules/browser.html index be28900..f2c44c8 100644 --- a/docs/modules/browser.html +++ b/docs/modules/browser.html @@ -1,7 +1,21 @@ -browser | mimetext - v3.0.18

Module browser

References

MIMEMessage +browser | mimetext - v3.0.19

Generated using TypeDoc

\ No newline at end of file +

References

Re-exports AttachmentOptions
Re-exports Boundaries
Re-exports ContentHeaders
Re-exports ContentOptions
Re-exports ContentTransferEncoding
Re-exports Email
Re-exports EnvironmentContext
Re-exports HeaderField
Re-exports HeadersObject
Re-exports MIMEMessage
Re-exports MIMEMessageContent
Re-exports MIMEMessageContentHeader
Re-exports MIMEMessageHeader
Re-exports MIMETextError
Re-exports Mailbox
Re-exports MailboxAddrObject
Re-exports MailboxAddrText
Re-exports MailboxConfig
Re-exports MailboxType

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/gas.html b/docs/modules/gas.html index 622ff4d..2e2d823 100644 --- a/docs/modules/gas.html +++ b/docs/modules/gas.html @@ -1,7 +1,21 @@ -gas | mimetext - v3.0.18

Module gas

References

MIMEMessage +gas | mimetext - v3.0.19

Generated using TypeDoc

\ No newline at end of file +

References

Re-exports AttachmentOptions
Re-exports Boundaries
Re-exports ContentHeaders
Re-exports ContentOptions
Re-exports ContentTransferEncoding
Re-exports Email
Re-exports EnvironmentContext
Re-exports HeaderField
Re-exports HeadersObject
Re-exports MIMEMessage
Re-exports MIMEMessageContent
Re-exports MIMEMessageContentHeader
Re-exports MIMEMessageHeader
Re-exports MIMETextError
Re-exports Mailbox
Re-exports MailboxAddrObject
Re-exports MailboxAddrText
Re-exports MailboxConfig
Re-exports MailboxType

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules/node.html b/docs/modules/node.html index 5960711..dc1b770 100644 --- a/docs/modules/node.html +++ b/docs/modules/node.html @@ -1,7 +1,21 @@ -node | mimetext - v3.0.18

Module node

Index

Classes

MIMEMessage +node | mimetext - v3.0.19

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/node.ContentTransferEncoding.html b/docs/types/node.ContentTransferEncoding.html new file mode 100644 index 0000000..e14fd33 --- /dev/null +++ b/docs/types/node.ContentTransferEncoding.html @@ -0,0 +1 @@ +ContentTransferEncoding | mimetext - v3.0.19

Type alias ContentTransferEncoding

ContentTransferEncoding: "7bit" | "8bit" | "binary" | "quoted-printable" | "base64"

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/node.Email.html b/docs/types/node.Email.html new file mode 100644 index 0000000..b0712dc --- /dev/null +++ b/docs/types/node.Email.html @@ -0,0 +1 @@ +Email | mimetext - v3.0.19

Type alias Email

Email: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/node.HeadersObject.html b/docs/types/node.HeadersObject.html new file mode 100644 index 0000000..d84bfc7 --- /dev/null +++ b/docs/types/node.HeadersObject.html @@ -0,0 +1 @@ +HeadersObject | mimetext - v3.0.19

Type alias HeadersObject

HeadersObject: Record<string, string | Mailbox | undefined>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/node.MailboxAddrText.html b/docs/types/node.MailboxAddrText.html new file mode 100644 index 0000000..efe92f4 --- /dev/null +++ b/docs/types/node.MailboxAddrText.html @@ -0,0 +1 @@ +MailboxAddrText | mimetext - v3.0.19

Type alias MailboxAddrText

MailboxAddrText: string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/types/node.MailboxType.html b/docs/types/node.MailboxType.html new file mode 100644 index 0000000..cfa00b6 --- /dev/null +++ b/docs/types/node.MailboxType.html @@ -0,0 +1 @@ +MailboxType | mimetext - v3.0.19

Type alias MailboxType

MailboxType: "To" | "From" | "Cc" | "Bcc"

Generated using TypeDoc

\ No newline at end of file diff --git a/package.json b/package.json index 6fd9339..254f00a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mimetext", - "version": "v3.0.19", + "version": "v3.0.20", "description": "RFC 2822 compliant raw email message generator written in node.js", "type": "module", "exports": { @@ -45,9 +45,6 @@ "setup": "exit 0", "precompile": "rm -rf build/*", "compile": "tsc -p tsconfig.json && babel build --out-dir build --out-file-extension .cjs", - "mingle": "echo \"declare module 'mimetext' {\\n\" | cat - ./types/entrypoints/node.d.ts > ./types/entrypoints/node2.d.ts && echo \"\\n}\" >> ./types/entrypoints/node2.d.ts && mv ./types/entrypoints/node2.d.ts ./types/entrypoints/node.d.ts", - "gingle": "echo \"declare module 'mimetext' {\\n\" | cat - ./types/entrypoints/browser.d.ts > ./types/entrypoints/browser2.d.ts && echo \"\\n}\" >> ./types/entrypoints/browser2.d.ts && mv ./types/entrypoints/browser2.d.ts ./types/entrypoints/browser.d.ts", - "dingle": "echo \"declare module 'mimetext' {\\n\" | cat - ./types/entrypoints/gas.d.ts > ./types/entrypoints/gas2.d.ts && echo \"\\n}\" >> ./types/entrypoints/gas2.d.ts && mv ./types/entrypoints/gas2.d.ts ./types/entrypoints/gas.d.ts", "build": "rollup --config rollup.config.js", "test": "NODE_OPTIONS=--experimental-vm-modules jest", "docs": "typedoc --entryPointStrategy expand --includeVersion --excludePrivate ./src/entrypoints/node.ts ./src/entrypoints/gas.ts ./src/entrypoints/browser.ts" diff --git a/src/entrypoints/browser.ts b/src/entrypoints/browser.ts index c7fc19c..05f1ddc 100644 --- a/src/entrypoints/browser.ts +++ b/src/entrypoints/browser.ts @@ -23,3 +23,9 @@ export { Mailbox } from '../Mailbox.js' export { MIMETextError } from '../MIMETextError.js' export { MIMEMessageHeader } from '../MIMEMessageHeader.js' export { MIMEMessageContent } from '../MIMEMessageContent.js' + +export type * from '../MIMEMessage.js' +export type * from '../Mailbox.js' +export type * from '../MIMETextError.js' +export type * from '../MIMEMessageHeader.js' +export type * from '../MIMEMessageContent.js' diff --git a/src/entrypoints/gas.ts b/src/entrypoints/gas.ts index e72758a..8873b9e 100644 --- a/src/entrypoints/gas.ts +++ b/src/entrypoints/gas.ts @@ -22,3 +22,9 @@ export { Mailbox } from '../Mailbox.js' export { MIMETextError } from '../MIMETextError.js' export { MIMEMessageHeader } from '../MIMEMessageHeader.js' export { MIMEMessageContent } from '../MIMEMessageContent.js' + +export type * from '../MIMEMessage.js' +export type * from '../Mailbox.js' +export type * from '../MIMETextError.js' +export type * from '../MIMEMessageHeader.js' +export type * from '../MIMEMessageContent.js' diff --git a/src/entrypoints/node.ts b/src/entrypoints/node.ts index bd4e4b9..1026239 100644 --- a/src/entrypoints/node.ts +++ b/src/entrypoints/node.ts @@ -27,3 +27,9 @@ export { Mailbox } from '../Mailbox.js' export { MIMETextError } from '../MIMETextError.js' export { MIMEMessageHeader } from '../MIMEMessageHeader.js' export { MIMEMessageContent } from '../MIMEMessageContent.js' + +export type * from '../MIMEMessage.js' +export type * from '../Mailbox.js' +export type * from '../MIMETextError.js' +export type * from '../MIMEMessageHeader.js' +export type * from '../MIMEMessageContent.js' diff --git a/tests/MIMEMessage.spec.js b/tests/MIMEMessage.spec.js index 2a64998..b44451d 100644 --- a/tests/MIMEMessage.spec.js +++ b/tests/MIMEMessage.spec.js @@ -4,7 +4,6 @@ import * as mime from 'mime-types' import {MIMEMessage} from '../build/MIMEMessage' import {Mailbox} from '../build/Mailbox' import {MIMEMessageContent} from '../build/MIMEMessageContent' -import {MIMETextError} from '../dist/node/mimetext.es.js' const envctx = { toBase64: function toBase64(data) { diff --git a/tests/MIMEText.spec.js b/tests/MIMEText.spec.js index ba97652..320cd26 100644 --- a/tests/MIMEText.spec.js +++ b/tests/MIMEText.spec.js @@ -3,7 +3,7 @@ import { Buffer } from 'node:buffer' import { SESClient, SendRawEmailCommand } from '@aws-sdk/client-ses' import { SESv2Client, SendEmailCommand } from '@aws-sdk/client-sesv2' import {expect, test, beforeAll, jest} from '@jest/globals' -import { createMimeMessage, MIMETextError } from '../dist/node/mimetext.es.js' +import {createMimeMessage} from '../build/entrypoints/node.js' const sampleImageBase64 = '/9j/4AAQSkZJRgABAgEASABIAAD/2wCEAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAgICAgICAgICAgMDAwMDAwMDAwMBAQEBAQEBAgEBAgICAQICAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA//AABEIAAUABQMAEQABEQECEQH/xABPAAEAAAAAAAAAAAAAAAAAAAAKEAEBAQEBAQAAAAAAAAAAAAAFBgQDAgEBAQAAAAAAAAAAAAAAAAAAAAARAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwAAARECEQA/AHsDDIlo1m7dWUFHmo6DMyOOzmleB0EdwlZme6ycn1npkJbZP7FgtTvTo7qaV+KtbefPb4N8Hn4A/9k=' const sampleTxtBase64 = 'SGVsbG8gdGhlcmUu'