vpndetection 5.7.0 → 5.8.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.
@@ -227,10 +227,10 @@ export type ProxyDetail = {
227
227
  };
228
228
  /**
229
229
  * The address in Public Proxy IP, open proxies anyone can connect
230
- * through, over a rolling 90 day window. It covers both ends of a proxy:
231
- * the address it listens on and the address its traffic leaves from.
232
- * Every key is present when the object is populated; the object is `{}`
233
- * when `is_pubproxy` is false.
230
+ * through, measured over a rolling 90 day window. An address is either
231
+ * end of a proxy, or both: where it listens, and where its traffic
232
+ * leaves from. Every key is present when the object is populated; the
233
+ * object is `{}` when `is_pubproxy` is false.
234
234
  *
235
235
  */
236
236
  export type PubproxyDetail = {
@@ -249,6 +249,18 @@ export type PubproxyDetail = {
249
249
  *
250
250
  */
251
251
  protocols?: Array<string>;
252
+ /**
253
+ * How many distinct ports a public proxy listens on at this address;
254
+ * 0 when it is only an exit, or its port is not known.
255
+ *
256
+ */
257
+ num_ports?: number;
258
+ /**
259
+ * How many distinct public proxies' traffic left from this address;
260
+ * 0 when it is only an entry.
261
+ *
262
+ */
263
+ num_proxies?: number;
252
264
  /**
253
265
  * The most recent date within the window a proxy on this address was seen.
254
266
  */
@@ -759,7 +771,7 @@ export type ClientRegistrationRequest = {
759
771
  export type ClientRegistration = {
760
772
  client_id: string;
761
773
  /**
762
- * Unix seconds.
774
+ * Unix seconds. 64-bit, since 32 bits run out on 2038-01-19.
763
775
  */
764
776
  client_id_issued_at: number;
765
777
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vpndetection",
3
- "version": "5.7.0",
3
+ "version": "5.8.0",
4
4
  "description": "Official Node.js client library for the VPNDetection API. Detect VPNs, proxies, Tor, hosting and CDN IPs.",
5
5
  "type": "module",
6
6
  "license": "MIT",