@uptime.link/interfaces 2.0.20 → 2.0.21

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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@uptime.link/interfaces',
6
- version: '2.0.20',
6
+ version: '2.0.21',
7
7
  description: 'TypeScript interface for the uptime.link API and modules'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx5QkFBeUI7SUFDL0IsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLDBEQUEwRDtDQUN4RSxDQUFBIn0=
@@ -1,4 +1,5 @@
1
1
  import * as plugins from '../ul-interfaces.plugins.js';
2
+ import { ILinkSnapshot } from './linksnapshot.js';
2
3
  export interface IDomainSnapshot {
3
4
  registration: {
4
5
  isRegistered: boolean;
@@ -6,13 +7,7 @@ export interface IDomainSnapshot {
6
7
  createdDate: number;
7
8
  expiryDate: number;
8
9
  };
9
- delegation: {
10
- domainWithoutSuffix: string;
11
- publicSuffix: string;
12
- subdomain: string;
13
- isIcann: boolean;
14
- dnsSecEnabled: boolean;
15
- };
10
+ delegation: plugins.tsclass.network.IDomainDelegation;
16
11
  phishingFlags: {
17
12
  listName: string;
18
13
  }[];
@@ -27,6 +22,7 @@ export interface IDomainSnapshot {
27
22
  dmarc: plugins.tsclass.network.IDnsRecord[];
28
23
  };
29
24
  }[];
25
+ linkSnapshots: ILinkSnapshot[];
30
26
  whoisServers: {
31
27
  serverUrl: string;
32
28
  content: string;
@@ -1,2 +1,3 @@
1
1
  import '../ul-interfaces.plugins.js';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9tYWluc25hcHNob3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9kYXRhL2RvbWFpbnNuYXBzaG90LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQXlCLDZCQUE2QixDQUFDIn0=
2
+ import './linksnapshot.js';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9tYWluc25hcHNob3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9kYXRhL2RvbWFpbnNuYXBzaG90LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQXlCLDZCQUE2QixDQUFDO0FBQ3ZELE9BQThCLG1CQUFtQixDQUFDIn0=
@@ -1,12 +1,27 @@
1
1
  export interface ILinkSnapshot {
2
+ /**
3
+ * the link base on which the snapshot was taken
4
+ */
5
+ linkBaseUrl: string;
2
6
  httpsSupport: boolean;
3
7
  httpHttpsParity: boolean;
4
8
  httpToHttpsRedirect: boolean;
5
- wwwToRootRedirect: boolean;
6
- rootToWwwRedirect: boolean;
9
+ fromWwwRedirect: boolean;
10
+ toWwwRedirect: boolean;
7
11
  statusCode: number;
8
12
  fullPageLoadSize: number;
9
13
  fullPageLoadTimeMs: number;
10
14
  cookies: any[];
11
- gdprCompliance: boolean;
15
+ httpRequest: {
16
+ statusCode: number;
17
+ headers: {
18
+ [key: string]: string;
19
+ };
20
+ };
21
+ httpsRequest: {
22
+ statusCode: number;
23
+ headers: {
24
+ [key: string]: string;
25
+ };
26
+ };
12
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uptime.link/interfaces",
3
- "version": "2.0.20",
3
+ "version": "2.0.21",
4
4
  "private": false,
5
5
  "description": "TypeScript interface for the uptime.link API and modules",
6
6
  "main": "dist_ts/index.js",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "@apiglobal/typedrequest-interfaces": "^2.0.1",
25
- "@tsclass/tsclass": "^4.0.34"
25
+ "@tsclass/tsclass": "^4.0.38"
26
26
  },
27
27
  "files": [
28
28
  "ts/**/*",
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@uptime.link/interfaces',
6
- version: '2.0.20',
6
+ version: '2.0.21',
7
7
  description: 'TypeScript interface for the uptime.link API and modules'
8
8
  }
@@ -1,4 +1,5 @@
1
1
  import * as plugins from '../ul-interfaces.plugins.js';
2
+ import { ILinkSnapshot } from './linksnapshot.js';
2
3
 
3
4
  export interface IDomainSnapshot {
4
5
  registration: {
@@ -7,13 +8,7 @@ export interface IDomainSnapshot {
7
8
  createdDate: number;
8
9
  expiryDate: number;
9
10
  };
10
- delegation: {
11
- domainWithoutSuffix: string;
12
- publicSuffix: string;
13
- subdomain: string;
14
- isIcann: boolean;
15
- dnsSecEnabled: boolean;
16
- };
11
+ delegation: plugins.tsclass.network.IDomainDelegation;
17
12
  phishingFlags: {
18
13
  listName: string;
19
14
  }[];
@@ -27,7 +22,8 @@ export interface IDomainSnapshot {
27
22
  specialRecords: {
28
23
  dmarc: plugins.tsclass.network.IDnsRecord[];
29
24
  }
30
- }[]
25
+ }[];
26
+ linkSnapshots: ILinkSnapshot[];
31
27
  whoisServers: {
32
28
  serverUrl: string;
33
29
  content: string;
@@ -1,14 +1,29 @@
1
1
  import * as plugins from '../ul-interfaces.plugins.js';
2
2
 
3
3
  export interface ILinkSnapshot {
4
+ /**
5
+ * the link base on which the snapshot was taken
6
+ */
7
+ linkBaseUrl: string;
4
8
  httpsSupport: boolean;
5
9
  httpHttpsParity: boolean;
6
10
  httpToHttpsRedirect: boolean;
7
- wwwToRootRedirect: boolean;
8
- rootToWwwRedirect: boolean;
11
+ fromWwwRedirect: boolean;
12
+ toWwwRedirect: boolean;
9
13
  statusCode: number;
10
14
  fullPageLoadSize: number;
11
15
  fullPageLoadTimeMs: number;
12
16
  cookies: any[];
13
- gdprCompliance: boolean;
17
+ httpRequest: {
18
+ statusCode: number;
19
+ headers: {
20
+ [key: string]: string;
21
+ }
22
+ };
23
+ httpsRequest: {
24
+ statusCode: number;
25
+ headers: {
26
+ [key: string]: string;
27
+ }
28
+ };
14
29
  }