vpndetection 5.13.1 → 5.13.2

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/README.md CHANGED
@@ -254,11 +254,11 @@ Each redirect URI must be https on a public host name, or http on a loopback add
254
254
 
255
255
  ### Absent is not false
256
256
 
257
- The Unlimited tier leaves out `isHosting`, `isCdn` and the four proxy flags, and of the detail behind each flag it answers only Tor's and relay's; a free-plan key's answer carries `trialExpired`, true once its daily trial is spent. A field your key does not include is `undefined`, which means "not in your plan" rather than "checked, and no".
257
+ Unlimited leaves out `isHosting`, `isCdn` and the four proxy flags, and of the detail behind each flag it answers only Tor's and relay's; a free-plan key's answer carries `trialExpired`, true once its daily trial is spent. A field your key does not include is `undefined`, which means "not in your plan" rather than "checked, and no".
258
258
 
259
259
  ```js
260
260
  result.isHosting ?? false // when you only want the flag
261
- result.isHosting === undefined // on the Unlimited tier: not in your plan
261
+ result.isHosting === undefined // on Unlimited: not in your plan
262
262
  result.trialExpired === true // a free-plan key's daily trial is spent
263
263
  ```
264
264
 
package/dist/client.d.ts CHANGED
@@ -36,7 +36,7 @@ export interface DownloadOptions {
36
36
  }
37
37
  export interface Options {
38
38
  /**
39
- * Your API key. Without one a lookup is on the Unlimited tier: `ip`,
39
+ * Your API key. Without one a lookup is on Unlimited, the free plan: `ip`,
40
40
  * `is_vpn`, the Tor and relay members, `location` and `asn`, with no daily
41
41
  * or monthly cap. A batch needs a key on a paid plan.
42
42
  */
@@ -17,8 +17,8 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
17
17
  * Lookup
18
18
  *
19
19
  * Answers what is known about a single IPv4 or IPv6 address. Which fields
20
- * come back is decided by the presented key; with no key, the Unlimited
21
- * tier, the answer is `ip`, `is_vpn`, the Tor and relay members,
20
+ * come back is decided by the presented key; with no key, on Unlimited,
21
+ * the free plan, the answer is `ip`, `is_vpn`, the Tor and relay members,
22
22
  * `location` and `asn`.
23
23
  *
24
24
  */
@@ -5,8 +5,8 @@ import { urlSearchParamsBodySerializer } from './client/index.js';
5
5
  * Lookup
6
6
  *
7
7
  * Answers what is known about a single IPv4 or IPv6 address. Which fields
8
- * come back is decided by the presented key; with no key, the Unlimited
9
- * tier, the answer is `ip`, `is_vpn`, the Tor and relay members,
8
+ * come back is decided by the presented key; with no key, on Unlimited,
9
+ * the free plan, the answer is `ip`, `is_vpn`, the Tor and relay members,
10
10
  * `location` and `asn`.
11
11
  *
12
12
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vpndetection",
3
- "version": "5.13.1",
3
+ "version": "5.13.2",
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",