@apiverve/sslchecker 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/index.d.ts +23 -1
- package/package.json +4 -3
package/index.d.ts
CHANGED
|
@@ -7,10 +7,32 @@ declare module '@apiverve/sslchecker' {
|
|
|
7
7
|
export interface sslcheckerResponse {
|
|
8
8
|
status: string;
|
|
9
9
|
error: string | null;
|
|
10
|
-
data:
|
|
10
|
+
data: SSLCertificateCheckerData;
|
|
11
11
|
code?: number;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
|
|
15
|
+
interface SSLCertificateCheckerData {
|
|
16
|
+
subject: Issuer;
|
|
17
|
+
issuer: Issuer;
|
|
18
|
+
subjectaltname: string;
|
|
19
|
+
infoAccess: { [key: string]: string[] };
|
|
20
|
+
ca: boolean;
|
|
21
|
+
bits: number;
|
|
22
|
+
validFrom: string;
|
|
23
|
+
validTo: string;
|
|
24
|
+
serialNumber: string;
|
|
25
|
+
domain: string;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface Issuer {
|
|
29
|
+
c: string;
|
|
30
|
+
st: string;
|
|
31
|
+
l?: string;
|
|
32
|
+
o: string;
|
|
33
|
+
cn: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
14
36
|
export default class sslcheckerWrapper {
|
|
15
37
|
constructor(options: sslcheckerOptions);
|
|
16
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apiverve/sslchecker",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"description": "SSL Checker is a simple tool for checking SSL certificates. It returns the SSL certificate details of a website.",
|
|
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/sslchecker-
|
|
13
|
+
"url": "git+https://github.com/apiverve/sslchecker-api.git",
|
|
14
|
+
"directory": "npm"
|
|
14
15
|
},
|
|
15
16
|
"keywords": [
|
|
16
17
|
"ssl checker", "ssl checker api", "ssl checker tool", "ssl checker software", "ssl checker service"
|
|
@@ -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/sslchecker-
|
|
22
|
+
"url": "https://github.com/apiverve/sslchecker-api/issues"
|
|
22
23
|
},
|
|
23
24
|
"homepage": "https://apiverve.com/marketplace/sslchecker?utm_source=npm",
|
|
24
25
|
"devDependencies": {
|