File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " mcutils-js-api" ,
3- "version" : " 2.0.1 " ,
3+ "version" : " 2.0.2 " ,
44 "module" : " dist/index.js" ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export interface Server extends Cache {
88 motd : ServerMotd ;
99 players : ServerPlayers ;
1010 records : DnsRecord [ ] ;
11- location ?: ServerLocation | null ;
11+ location ?: GeoLocation | null ;
1212 asn ?: AsnData | null ;
1313}
1414
@@ -37,13 +37,14 @@ export type ServerPlayers = {
3737 sample ?: ServerPlayerSample [ ] ;
3838} ;
3939
40- export type ServerLocation = {
40+ export type GeoLocation = {
4141 country : string ;
4242 countryCode : string ;
4343 region : string ;
4444 city : string ;
4545 latitude : number ;
4646 longitude : number ;
47+ flagUrl : string ;
4748} ;
4849
4950export type AsnData = {
You can’t perform that action at this time.
0 commit comments