File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 History
44-------
55
6+ 2.1.0
7+ ++++++++++++++++++
8+
9+ * Added ``response.ip_address.traits.is_residential_proxy `` to the
10+ minFraud Insights and Factors models. This indicates whether the IP
11+ address is on a suspected anonymizing network and belongs to a
12+ residential ISP.
13+
6142.0.3 (2020-07-28)
715++++++++++++++++++
816
Original file line number Diff line number Diff line change 1919requirements = [
2020 "aiohttp>=3.6.2,<4.0.0" ,
2121 "email_validator>=1.1.1,<2.0.0" ,
22- "geoip2>=4.0 .0,<5.0.0" ,
22+ "geoip2>=4.1 .0,<5.0.0" ,
2323 "requests>=2.24.0,<3.0.0" ,
2424 "urllib3>=1.25.2,<2.0.0" ,
2525 "voluptuous" ,
Original file line number Diff line number Diff line change 9494 "is_anonymous_vpn" : true ,
9595 "is_hosting_provider" : true ,
9696 "is_public_proxy" : true ,
97+ "is_residential_proxy" : true ,
9798 "is_satellite_provider" : true ,
9899 "is_tor_exit_node" : true ,
99100 "isp" : " Andrews & Arnold Ltd" ,
Original file line number Diff line number Diff line change 9494 "is_anonymous_vpn" : true ,
9595 "is_hosting_provider" : true ,
9696 "is_public_proxy" : true ,
97+ "is_residential_proxy" : true ,
9798 "is_satellite_provider" : true ,
9899 "is_tor_exit_node" : true ,
99100 "isp" : " Andrews & Arnold Ltd" ,
Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ def test_ip_address(self):
160160 "is_anonymous_vpn" : True ,
161161 "is_hosting_provider" : True ,
162162 "is_public_proxy" : True ,
163+ "is_residential_proxy" : True ,
163164 "is_satellite_provider" : True ,
164165 "is_tor_exit_node" : True ,
165166 },
@@ -175,6 +176,7 @@ def test_ip_address(self):
175176 self .assertEqual (True , address .traits .is_anonymous_vpn )
176177 self .assertEqual (True , address .traits .is_hosting_provider )
177178 self .assertEqual (True , address .traits .is_public_proxy )
179+ self .assertEqual (True , address .traits .is_residential_proxy )
178180 self .assertEqual (True , address .traits .is_satellite_provider )
179181 self .assertEqual (True , address .traits .is_tor_exit_node )
180182 self .assertEqual (True , address .country .is_high_risk )
Original file line number Diff line number Diff line change @@ -195,6 +195,7 @@ def test_200(self):
195195 self .assertEqual (self .cls (response ), model )
196196 if self .has_ip_location ():
197197 self .assertEqual ("United Kingdom" , model .ip_address .country .name )
198+ self .assertEqual (True , model .ip_address .traits .is_residential_proxy )
198199
199200 @httprettified
200201 def test_200_on_request_with_nones (self ):
You can’t perform that action at this time.
0 commit comments