@bernierllc/email-domain-verification 1.0.6 → 1.0.9
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 +27 -0
- package/dist/EmailDomainVerificationService.js +9 -0
- package/dist/types.d.ts +1 -1
- package/package.json +15 -17
- package/src/EmailDomainVerificationService.ts +6 -0
- package/src/types.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.9](https://github.com/bernierllc/tools/compare/@bernierllc/email-domain-verification@1.0.8...@bernierllc/email-domain-verification@1.0.9) (2026-03-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @bernierllc/email-domain-verification
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [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)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **email:** sync provider type unions across email packages ([b515e54](https://github.com/bernierllc/tools/commit/b515e5456da4ce6fd6067d20e4da010d658e3a2b))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [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)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @bernierllc/email-domain-verification
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
## 1.0.6 (2025-12-25)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -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.
|
|
3
|
+
"version": "1.0.9",
|
|
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/crypto-utils": "1.0.8",
|
|
29
|
+
"@bernierllc/email-sender-manager": "1.3.0",
|
|
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
|
-
"
|
|
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
|