forked from input-output-hk/daedalus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marcin Mazurek
committed
Aug 22, 2022
1 parent
24254f4
commit eef8073
Showing
1 changed file
with
20 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,28 @@ | ||
import { Network } from '../../../common/types/environment.types'; | ||
|
||
export const ANALYTICS_API_ENDPOINT = | ||
'https://daedalusqa2.matomo.cloud/matomo.php'; | ||
export const ANALYTICS_API_ENDPOINT = 'https://matomo.cw.iog.io/matomo.php'; | ||
export const PRIVACY_POLICY_LINK = | ||
'https://static.iohk.io/terms/iog-privacy-policy.pdf'; | ||
export const DEV_MODE_SITE_MAP_ID = 1; | ||
|
||
// ID used when Daedalus is launched from nix-shell | ||
export const DEV_MODE_SITE_MAP_ID = 11; | ||
|
||
// IDs used when Daedalus is launched as a binary (installed with installer) | ||
export const NETWORK_TO_ANALYTICS_SITE_ID_MAP: Record<Network, number> = { | ||
mainnet: 4, | ||
mainnet_flight: 4, | ||
mainnet: 2, | ||
mainnet_flight: 12, | ||
testnet: 3, | ||
preprod: 3, | ||
preview: 3, | ||
staging: 5, | ||
shelley_qa: 5, | ||
alonzo_purple: 5, | ||
selfnode: 5, | ||
development: 5, | ||
vasil_dev: 5, | ||
preprod: 9, | ||
preview: 10, | ||
staging: 4, | ||
shelley_qa: 6, | ||
alonzo_purple: 7, | ||
selfnode: 11, | ||
development: 11, | ||
vasil_dev: 8, | ||
}; | ||
|
||
export const CPU_DIMENSION_KEY = 'dimension2'; | ||
export const RAM_DIMENSION_KEY = 'dimension3'; | ||
export const OS_DIMENSION_KEY = 'dimension4'; | ||
export const VERSION_DIMENSION_KEY = 'dimension5'; | ||
export const CPU_DIMENSION_KEY = 'dimension1'; | ||
export const RAM_DIMENSION_KEY = 'dimension2'; | ||
export const OS_DIMENSION_KEY = 'dimension3'; | ||
export const VERSION_DIMENSION_KEY = 'dimension4'; |