@apiverve/dkimvalidator 1.1.10 → 1.1.12

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2024 APIVerve, and Evlar LLC
3
+ Copyright (c) 2025 APIVerve, and EvlarSoft LLC
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -164,7 +164,7 @@ All usage of the APIVerve website, API, and services is subject to the [APIVerve
164
164
  ## License
165
165
  Licensed under the The MIT License (MIT)
166
166
 
167
- Copyright (©) 2025 APIVerve, and Evlar LLC
167
+ Copyright (©) 2025 APIVerve, and EvlarSoft LLC
168
168
 
169
169
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
170
170
 
package/index.d.ts CHANGED
@@ -7,10 +7,30 @@ declare module '@apiverve/dkimvalidator' {
7
7
  export interface dkimvalidatorResponse {
8
8
  status: string;
9
9
  error: string | null;
10
- data: any;
10
+ data: DKIMValidatorData;
11
11
  code?: number;
12
12
  }
13
13
 
14
+
15
+ interface DKIMValidatorData {
16
+ dkimHost: string;
17
+ dkimRecord: string;
18
+ dkimRecordsCount: number;
19
+ hasDKIMRecord: boolean;
20
+ host: string;
21
+ issuesFound: IssuesFound[];
22
+ keyType: string;
23
+ selector: string;
24
+ valid: boolean;
25
+ version: string;
26
+ }
27
+
28
+ interface IssuesFound {
29
+ code: string;
30
+ message: string;
31
+ type: string;
32
+ }
33
+
14
34
  export default class dkimvalidatorWrapper {
15
35
  constructor(options: dkimvalidatorOptions);
16
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apiverve/dkimvalidator",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "DKIM Validator checks the DomainKeys Identified Mail (DKIM) DNS records for a domain to verify that they are present and correctly formatted.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -10,7 +10,8 @@
10
10
  },
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "git+https://github.com/apiverve/dkimvalidator-API.git"
13
+ "url": "git+https://github.com/apiverve/dkimvalidator-api.git",
14
+ "directory": "npm"
14
15
  },
15
16
  "keywords": [
16
17
  "dkim", "dkim check", "dkim validator", "email security", "dns check"
@@ -18,7 +19,7 @@
18
19
  "author": "APIVerve <hello@apiverve.com> (http://apiverve.com/)",
19
20
  "license": "MIT",
20
21
  "bugs": {
21
- "url": "https://github.com/apiverve/dkimvalidator-API/issues"
22
+ "url": "https://github.com/apiverve/dkimvalidator-api/issues"
22
23
  },
23
24
  "homepage": "https://apiverve.com/marketplace/dkimvalidator?utm_source=npm",
24
25
  "devDependencies": {