Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit 6671a18

Browse files
committed
👽 Update supported ipapi version
1 parent e7dc7ad commit 6671a18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/netstat.class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class Netstat {
7070
try {
7171
this.ipinfo = JSON.parse(rawData);
7272

73-
if (this.ipinfo.api_version !== "2.0.0") console.warn("Warning: ipinfo API version might not be compatible");
73+
if (!this.ipinfo.api_version.startsWith("3")) console.warn("Warning: ipinfo API version might not be compatible");
7474

7575
delete this.ipinfo.api_version;
7676
delete this.ipinfo.time;

0 commit comments

Comments
 (0)