@bernierllc/email-domain-verification 1.0.6 → 1.0.8

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.8](https://github.com/bernierllc/tools/compare/@bernierllc/email-domain-verification@1.0.7...@bernierllc/email-domain-verification@1.0.8) (2026-03-09)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **email:** sync provider type unions across email packages ([b515e54](https://github.com/bernierllc/tools/commit/b515e5456da4ce6fd6067d20e4da010d658e3a2b))
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.0.7](https://github.com/bernierllc/tools/compare/@bernierllc/email-domain-verification@1.0.6...@bernierllc/email-domain-verification@1.0.7) (2026-03-03)
18
+
19
+ **Note:** Version bump only for package @bernierllc/email-domain-verification
20
+
21
+
22
+
23
+
24
+
6
25
  ## 1.0.6 (2025-12-25)
7
26
 
8
27
 
@@ -355,6 +355,15 @@ class EmailDomainVerificationService {
355
355
  else if (config.provider === 'ses') {
356
356
  includes.push('include:amazonses.com');
357
357
  }
358
+ else if (config.provider === 'mandrill') {
359
+ includes.push('include:spf.mandrillapp.com');
360
+ }
361
+ else if (config.provider === 'smtp2go') {
362
+ includes.push('include:spf.smtp2go.com');
363
+ }
364
+ else if (config.provider === 'postmark') {
365
+ includes.push('include:spf.mtasv.net');
366
+ }
358
367
  includes.forEach(inc => {
359
368
  spfValue += ` ${inc}`;
360
369
  });
package/dist/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Email provider types supported for domain verification
3
3
  */
4
- export type EmailProvider = 'sendgrid' | 'mailgun' | 'ses' | 'custom';
4
+ export type EmailProvider = 'sendgrid' | 'mailgun' | 'ses' | 'postmark' | 'mandrill' | 'smtp2go' | 'custom';
5
5
  /**
6
6
  * DNS record types for email authentication
7
7
  */
package/package.json CHANGED
@@ -1,18 +1,9 @@
1
1
  {
2
2
  "name": "@bernierllc/email-domain-verification",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "Programmatic domain setup and DNS management for production email sending with multi-provider support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
- "scripts": {
8
- "build": "tsc",
9
- "test": "jest --watch",
10
- "test:run": "jest",
11
- "test:coverage": "jest --coverage",
12
- "lint": "eslint src --ext .ts,.tsx",
13
- "clean": "rm -rf dist",
14
- "prepublishOnly": "npm run clean && npm run build"
15
- },
16
7
  "keywords": [
17
8
  "email",
18
9
  "domain",
@@ -30,14 +21,14 @@
30
21
  "author": "Bernier LLC",
31
22
  "license": "SEE LICENSE IN LICENSE",
32
23
  "dependencies": {
33
- "@bernierllc/crypto-utils": "1.0.6",
34
- "@bernierllc/email-sender-manager": "1.2.0",
35
- "@bernierllc/logger": "1.3.0",
36
- "@bernierllc/neverhub-adapter": "0.1.4",
37
24
  "axios": "^1.6.0",
38
25
  "cron": "^3.1.6",
39
26
  "dns-packet": "^5.6.1",
40
- "dns2": "^2.1.0"
27
+ "dns2": "^2.1.0",
28
+ "@bernierllc/email-sender-manager": "1.2.2",
29
+ "@bernierllc/crypto-utils": "1.0.8",
30
+ "@bernierllc/logger": "1.3.2",
31
+ "@bernierllc/neverhub-adapter": "0.1.6"
41
32
  },
42
33
  "devDependencies": {
43
34
  "@types/cron": "^2.0.1",
@@ -71,5 +62,12 @@
71
62
  "category": "service",
72
63
  "priority": "critical"
73
64
  },
74
- "gitHead": "af7e74b3715d56d3a193e1bb6743b337c2b0df6d"
75
- }
65
+ "scripts": {
66
+ "build": "tsc",
67
+ "test": "jest --watch",
68
+ "test:run": "jest",
69
+ "test:coverage": "jest --coverage",
70
+ "lint": "eslint src --ext .ts,.tsx",
71
+ "clean": "rm -rf dist"
72
+ }
73
+ }
@@ -424,6 +424,12 @@ export class EmailDomainVerificationService {
424
424
  includes.push('include:mailgun.org');
425
425
  } else if (config.provider === 'ses') {
426
426
  includes.push('include:amazonses.com');
427
+ } else if (config.provider === 'mandrill') {
428
+ includes.push('include:spf.mandrillapp.com');
429
+ } else if (config.provider === 'smtp2go') {
430
+ includes.push('include:spf.smtp2go.com');
431
+ } else if (config.provider === 'postmark') {
432
+ includes.push('include:spf.mtasv.net');
427
433
  }
428
434
 
429
435
  includes.forEach(inc => {
package/src/types.ts CHANGED
@@ -9,7 +9,7 @@ Redistribution or use in other products or commercial offerings is not permitted
9
9
  /**
10
10
  * Email provider types supported for domain verification
11
11
  */
12
- export type EmailProvider = 'sendgrid' | 'mailgun' | 'ses' | 'custom';
12
+ export type EmailProvider = 'sendgrid' | 'mailgun' | 'ses' | 'postmark' | 'mandrill' | 'smtp2go' | 'custom';
13
13
 
14
14
  /**
15
15
  * DNS record types for email authentication