Repository navigation
v2.0.0
Major Changes
-
d5918fbThanks @ro80t! - Breaking:AnonymityCheckResultnow ties each flag to its provider field at the type level, andprovideris renamed tovpnProviderfor symmetry withproxyProvider.-provider: string | null; -proxyProvider: string | null; +// isVpn: true -> vpnProvider: string +// isVpn: false -> vpnProvider: null +// isProxy: true -> proxyProvider: string +// isProxy: false -> proxyProvider: null
Once you've checked
result.isVpn(orresult.isProxy), TypeScript narrowsvpnProvider/proxyProvidertostringfor you — no moreprovider !== nullchecks needed alongside the flag. Update any code readingresult.providertoresult.vpnProvider.
Minor Changes
013e303Thanks @ro80t! - Add 9 more ASNs toPROXY_ASN_PROVIDERS, broadening geographic coverage beyond the initial seed set: Melbikomas UAB (Lithuania, proxy/data-collection infrastructure), DataImpulse (Softoria LLC), and bulletproof hosting/proxy infrastructure in Malaysia (Shinjiru), Ukraine (VAIZ Partner, E-Rishennya, FDN3), and Bulgaria (Roza Holidays, SS-Net). Each entry was independently verified against RIPEstat whois data before inclusion.