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 +2 -2
- package/dist/client.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +2 -2
- package/dist/generated/sdk.gen.js +2 -2
- package/package.json +1 -1
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
|
-
|
|
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
|
|
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
|
|
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,
|
|
21
|
-
*
|
|
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,
|
|
9
|
-
*
|
|
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