internetdata-web 1.5.1 → 1.6.0

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.
@@ -1167,7 +1167,7 @@ export type DomainWeb = {
1167
1167
  */
1168
1168
  description: string;
1169
1169
  /**
1170
- * The day it was last read.
1170
+ * The day it was last read, empty when the crawl holds no page.
1171
1171
  */
1172
1172
  last_seen: string;
1173
1173
  links: DomainWebLinks;
package/dist/shapes.js CHANGED
@@ -63,19 +63,19 @@ export const LOOKUP_TYPES = {
63
63
  hosted_domains: 'object', user_agent: 'object', trial_expired: FLAG, cap_reached: FLAG,
64
64
  };
65
65
  export const CLASS_DETAIL_TYPES = {
66
- provider: 'string', provider_name: 'string', confidence: 'string', last_seen: 'string',
66
+ provider: 'string', provider_name: 'string', confidence: 'string', last_seen: 'date',
67
67
  };
68
68
  export const PROXY_DETAIL_TYPES = {
69
- provider: 'string', provider_name: 'string', first_seen: 'string', last_seen: 'string', hits: 'integer',
69
+ provider: 'string', provider_name: 'string', first_seen: 'date', last_seen: 'date', hits: 'integer',
70
70
  hits_days_pct: 'integer', providers_num: 'integer',
71
71
  };
72
72
  export const PUBPROXY_DETAIL_TYPES = {
73
73
  entry: 'boolean', exit: 'boolean', protocols: 'array', num_ports: 'integer', num_proxies: 'integer',
74
- last_seen: 'string', last_usable: 'string',
74
+ last_seen: 'date', last_usable: 'string',
75
75
  };
76
76
  export const BOT_DETAIL_TYPES = {
77
77
  provider: 'string', provider_name: 'string', agents: 'array', categories: 'array', verified: 'boolean',
78
- identity: 'string', verified_by: 'string', confidence: 'string', first_seen: 'string', last_seen: 'string',
78
+ identity: 'string', verified_by: 'string', confidence: 'string', first_seen: 'date', last_seen: 'date',
79
79
  };
80
80
  export const USER_AGENT_VERDICT_TYPES = {
81
81
  agent: 'string', kind: 'string', verdict: 'string',
@@ -88,24 +88,24 @@ export const SATELLITE_DETAIL_TYPES = {
88
88
  asn: 'integer', confidence: 'string',
89
89
  };
90
90
  export const SSH_DETAIL_TYPES = {
91
- port: 'integer', banner: 'string', host_key_fp: 'string', session_ok: 'boolean', first_seen: 'string',
92
- last_seen: 'string',
91
+ port: 'integer', banner: 'string', host_key_fp: 'string', session_ok: 'boolean', first_seen: 'date',
92
+ last_seen: 'date',
93
93
  };
94
94
  export const SMTP_DETAIL_TYPES = {
95
- port: 'integer', banner: 'string', session_ok: 'boolean', first_seen: 'string', last_seen: 'string',
95
+ port: 'integer', banner: 'string', session_ok: 'boolean', first_seen: 'date', last_seen: 'date',
96
96
  };
97
97
  export const WEB_DETAIL_TYPES = {
98
98
  port: 'integer', tls_ok: 'boolean', session_ok: 'boolean', status_code: 'integer', server: 'string',
99
99
  location: 'string', title: 'string', cert_subject_cn: 'string', cert_subject_o: 'string',
100
- cert_issuer_dn: 'string', cert_browser_trusted: 'boolean', tls_version: 'string', first_seen: 'string',
101
- last_seen: 'string',
100
+ cert_issuer_dn: 'string', cert_browser_trusted: 'boolean', tls_version: 'string', first_seen: 'date',
101
+ last_seen: 'date',
102
102
  };
103
103
  export const DNS_RESOLVER_DETAIL_TYPES = {
104
104
  port: 'integer', recursion_available: 'boolean', rcode: 'integer', answer_correct: 'boolean',
105
- first_seen: 'string', last_seen: 'string',
105
+ first_seen: 'date', last_seen: 'date',
106
106
  };
107
107
  export const BITTORRENT_DETAIL_TYPES = {
108
- verified: 'boolean', id_matches_ip: 'boolean', first_seen: 'string', last_seen: 'string',
108
+ verified: 'boolean', id_matches_ip: 'boolean', first_seen: 'date', last_seen: 'date',
109
109
  last_reachable: 'string', days_seen: 'integer', num_ports: 'integer', peak_num_ports: 'integer',
110
110
  indexer: 'boolean', clients: 'array',
111
111
  };
@@ -143,7 +143,7 @@ export const ASN_LOOKUP_TYPES = {
143
143
  cap_reached: FLAG,
144
144
  };
145
145
  export const ASN_PREFIX_TYPES = {
146
- prefix: 'string', peer_count: 'integer', rpki_status: 'string', first_seen: 'string', country: 'string',
146
+ prefix: 'string', peer_count: 'integer', rpki_status: 'string', first_seen: 'date', country: 'string',
147
147
  size: 'integer', other_origins: 'array',
148
148
  };
149
149
  export const DOMAIN_LOOKUP_TYPES = {
@@ -155,12 +155,12 @@ export const DOMAIN_LOOKUP_TYPES = {
155
155
  export const DOMAIN_DNS_TYPES = {
156
156
  a: 'array', aaaa: 'array', mx: 'array', ns: 'array', cname: 'array',
157
157
  };
158
- export const DNS_ADDRESS_RECORD_TYPES = { ip: 'string', last_seen: 'string' };
158
+ export const DNS_ADDRESS_RECORD_TYPES = { ip: 'string', last_seen: 'date' };
159
159
  export const DNS_MX_RECORD_TYPES = {
160
- priority: 'integer', host: 'string', last_seen: 'string',
160
+ priority: 'integer', host: 'string', last_seen: 'date',
161
161
  };
162
- export const DNS_NS_RECORD_TYPES = { host: 'string', last_seen: 'string' };
163
- export const DNS_CNAME_RECORD_TYPES = { target: 'string', last_seen: 'string' };
162
+ export const DNS_NS_RECORD_TYPES = { host: 'string', last_seen: 'date' };
163
+ export const DNS_CNAME_RECORD_TYPES = { target: 'string', last_seen: 'date' };
164
164
  export const DOMAIN_IP_RANGES_TYPES = {
165
165
  domain: 'string', redirects_to: 'string', total: 'integer', ipv4: 'integer', ranges: 'array',
166
166
  };
@@ -176,7 +176,7 @@ export const DOMAIN_WEB_LINKS_TYPES = { total: 'integer', hosts: 'array' };
176
176
  export const DOMAIN_REDIRECTS_TYPES = { total: 'integer', domains: 'array' };
177
177
  export const DOMAIN_BACKLINKS_TYPES = { total: 'integer', domains: 'array' };
178
178
  export const DISPOSABLE_DETAIL_TYPES = {
179
- confidence: 'string', providers: 'array', first_seen: 'string', last_seen: 'string',
179
+ confidence: 'string', providers: 'array', first_seen: 'date', last_seen: 'date',
180
180
  };
181
181
  export const BATCH_ERROR_TYPES = { status: 'integer', error: 'string' };
182
182
  export const ENTITLEMENT_TYPES = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "internetdata-web",
3
- "version": "1.5.1",
3
+ "version": "1.6.0",
4
4
  "description": "Official browser client library for the InternetData API. Look up IP addresses, ASNs and domains from a page or a browser extension.",
5
5
  "type": "module",
6
6
  "license": "MIT",