diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-10-12 19:28:58 -0300 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-10-16 11:13:50 -0300 |
| commit | fae41e9c580681629172e7e97ef54d7de4920d5b (patch) | |
| tree | 41ee2adef638968db74effb5a2b2828b37a472f4 /gui | |
| parent | a11571a3f4516a2ab9c6cb40ac166cf2fbab351d (diff) | |
| download | mullvadvpn-fae41e9c580681629172e7e97ef54d7de4920d5b.tar.xz mullvadvpn-fae41e9c580681629172e7e97ef54d7de4920d5b.zip | |
Include known exit IP address in current location
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/packages/desktop/src/renderer/lib/daemon-rpc.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/packages/desktop/src/renderer/lib/daemon-rpc.js b/gui/packages/desktop/src/renderer/lib/daemon-rpc.js index c4ac506f36..594a33fdf6 100644 --- a/gui/packages/desktop/src/renderer/lib/daemon-rpc.js +++ b/gui/packages/desktop/src/renderer/lib/daemon-rpc.js @@ -25,6 +25,7 @@ export type AccountData = { expiry: string }; export type AccountToken = string; export type Ip = string; export type Location = { + ip: ?string, country: string, city: ?string, latitude: number, @@ -33,6 +34,7 @@ export type Location = { hostname: ?string, }; const LocationSchema = object({ + ip: maybe(string), country: string, city: maybe(string), latitude: number, |
