Skip to content

Commit

Permalink
Bump version to 1.3.0 and add tracking options for email opens and cl…
Browse files Browse the repository at this point in the history
…icks in DTOs
  • Loading branch information
petrpavlik committed Dec 19, 2024
1 parent ce2b34b commit 667b861
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "indiepitcher",
"version": "1.2.0",
"version": "1.3.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
6 changes: 6 additions & 0 deletions src/dtos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ export interface SendEmail {
subject: string
body: string
bodyFormat: 'html' | 'markdown'
trackEmailOpens?: boolean
trackEmailClicks?: boolean
}

export interface SendEmailToContact {
Expand All @@ -66,6 +68,8 @@ export interface SendEmailToContact {
list: string
delaySeconds?: number
delayUntilDate?: string
trackEmailOpens?: boolean
trackEmailClicks?: boolean
}

export interface SendEmailToMailingList {
Expand All @@ -75,4 +79,6 @@ export interface SendEmailToMailingList {
list: string
delaySeconds?: number
delayUntilDate?: string
trackEmailOpens?: boolean
trackEmailClicks?: boolean
}

0 comments on commit 667b861

Please sign in to comment.