File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed
Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ Install-Package MaxMind.GeoIP2
2929< dependency>
3030 < groupId> com. maxmind. geoip2< / groupId>
3131 < artifactId> geoip2< / artifactId>
32- < version> 2.15 . 0 < / version>
32+ < version> 5.0 . 2 < / version>
3333< / dependency>
3434
3535// Or install via Gradle
3636repositories {
3737 mavenCentral()
3838}
3939dependencies {
40- compile ' com.maxmind.geoip2:geoip2:2.15.0 '
40+ implementation ' com.maxmind.geoip2:geoip2:5.0.2 '
4141}
4242```
4343
Original file line number Diff line number Diff line change @@ -32,15 +32,15 @@ Install-Package MaxMind.GeoIP2
3232< dependency>
3333 < groupId> com. maxmind. geoip2< / groupId>
3434 < artifactId> geoip2< / artifactId>
35- < version> 2.15 . 0 < / version>
35+ < version> 5.0 . 2 < / version>
3636< / dependency>
3737
3838// Or install via Gradle
3939repositories {
4040 mavenCentral()
4141}
4242dependencies {
43- compile ' com.maxmind.geoip2:geoip2:2.15.0 '
43+ implementation ' com.maxmind.geoip2:geoip2:5.0.2 '
4444}
4545```
4646
@@ -239,6 +239,11 @@ const WebServiceClient = require('@maxmind/geoip2-node').WebServiceClient;
239239// Typescript:
240240// import { WebServiceClient } from '@maxmind/geoip2-node';
241241
242+ const accountId = ' 10' ;
243+ const licenseKey = ' LICENSEKEY' ;
244+
245+ const client = new WebServiceClient (accountId, licenseKey);
246+
242247// You can also use `client.city` or `client.insights`
243248// `client.insights` is not available to GeoLite users
244249client .country (' 142.1.1.1' ).then ((response ) => {
Original file line number Diff line number Diff line change @@ -66,15 +66,15 @@ Install-Package MaxMind.MinFraud
6666< dependency>
6767 < groupId> com. maxmind. minfraud< / groupId>
6868 < artifactId> minfraud< / artifactId>
69- < version> 1.15 . 0 < / version>
69+ < version> 4.0 . 0 < / version>
7070< / dependency>
7171
7272// Or install via Gradle
7373repositories {
7474 mavenCentral()
7575}
7676dependencies {
77- compile ' com.maxmind.minfraud:minfraud:1.15 .0'
77+ implementation ' com.maxmind.minfraud:minfraud:4.0 .0'
7878}
7979```
8080
Original file line number Diff line number Diff line change @@ -40,15 +40,15 @@ Install-Package MaxMind.MinFraud
4040< dependency>
4141 < groupId> com. maxmind. minfraud< / groupId>
4242 < artifactId> minfraud< / artifactId>
43- < version> 1.15 . 0 < / version>
43+ < version> 4.0 . 0 < / version>
4444< / dependency>
4545
4646// Or install via Gradle
4747repositories {
4848 mavenCentral()
4949}
5050dependencies {
51- compile ' com.maxmind.minfraud:minfraud:1.15 .0'
51+ implementation ' com.maxmind.minfraud:minfraud:4.0 .0'
5252}
5353```
5454
You can’t perform that action at this time.
0 commit comments