resolve-email 3.0.0 → 3.0.1
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 +7 -1
- package/index.d.ts +4 -1
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
9
9
|
|
|
10
|
-
## [v3.0.
|
|
10
|
+
## [v3.0.1](https://github.com/bcomnes/resolve-email/compare/v3.0.0...v3.0.1)
|
|
11
|
+
|
|
12
|
+
### Commits
|
|
13
|
+
|
|
14
|
+
- Improve types [`fca58bd`](https://github.com/bcomnes/resolve-email/commit/fca58bd9256005918cc1db568a9e746cd1bb2770)
|
|
15
|
+
|
|
16
|
+
## [v3.0.0](https://github.com/bcomnes/resolve-email/compare/v2.0.25...v3.0.0) - 2024-10-20
|
|
11
17
|
|
|
12
18
|
### Merged
|
|
13
19
|
|
package/index.d.ts
CHANGED
|
@@ -9,7 +9,10 @@ export type ResolveOptions = {
|
|
|
9
9
|
};
|
|
10
10
|
export type ResolveResult = {
|
|
11
11
|
emailResolves: boolean;
|
|
12
|
-
mxRecords?: Array<
|
|
12
|
+
mxRecords?: Array<{
|
|
13
|
+
priority: number;
|
|
14
|
+
exchange: string;
|
|
15
|
+
}>;
|
|
13
16
|
error?: Error;
|
|
14
17
|
};
|
|
15
18
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"AAwBA,kCAJW,MAAM,6CAEJ,OAAO,CAAC,KAAK,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,CAAC,CAAC,CA4ChE;AA0BD,qCAJW,MAAM,6CAEJ,OAAO,CAAC,aAAa,CAAC,CAgBlC;;eApGa,OAAO;sBACP,OAAO;;;mBAKP,OAAO;gBACP,KAAK,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"AAwBA,kCAJW,MAAM,6CAEJ,OAAO,CAAC,KAAK,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,CAAC,CAAC,CA4ChE;AA0BD,qCAJW,MAAM,6CAEJ,OAAO,CAAC,aAAa,CAAC,CAgBlC;;eApGa,OAAO;sBACP,OAAO;;;mBAKP,OAAO;gBACP,KAAK,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,CAAC;YAC3C,KAAK"}
|
package/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { disposable } from './disposable.cjs'
|
|
|
11
11
|
/**
|
|
12
12
|
* @typedef {Object} ResolveResult
|
|
13
13
|
* @property {boolean} emailResolves The email address has resolved and is not banned according to the allowable options.
|
|
14
|
-
* @property {Array<
|
|
14
|
+
* @property {Array<{priority: number, exchange: string}>} [mxRecords] Any associated mx records from the lookup
|
|
15
15
|
* @property {Error} [error] The error object if something didn't work
|
|
16
16
|
*/
|
|
17
17
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "resolve-email",
|
|
3
3
|
"description": "Resolve the domain of an email address to see if it even has a chance of delivering",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.1",
|
|
5
5
|
"author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io)",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/bcomnes/resolve-email/issues"
|