aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/constants.ts
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-20 04:02:31 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-20 04:02:31 +0800
commit8772d916993d754f784d7435dbbfb60c9a6f9205 (patch)
tree933dba12735200907956be542e9aeb507e3459a2 /packages/instant/src/constants.ts
parent2bfd03e64f20905b0526d65813f78eff3e924727 (diff)
downloaddexon-sol-tools-8772d916993d754f784d7435dbbfb60c9a6f9205.tar
dexon-sol-tools-8772d916993d754f784d7435dbbfb60c9a6f9205.tar.gz
dexon-sol-tools-8772d916993d754f784d7435dbbfb60c9a6f9205.tar.bz2
dexon-sol-tools-8772d916993d754f784d7435dbbfb60c9a6f9205.tar.lz
dexon-sol-tools-8772d916993d754f784d7435dbbfb60c9a6f9205.tar.xz
dexon-sol-tools-8772d916993d754f784d7435dbbfb60c9a6f9205.tar.zst
dexon-sol-tools-8772d916993d754f784d7435dbbfb60c9a6f9205.zip
Get heap analytics id from ENV variable
Diffstat (limited to 'packages/instant/src/constants.ts')
-rw-r--r--packages/instant/src/constants.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/instant/src/constants.ts b/packages/instant/src/constants.ts
index 26d5ff436..44d09e31e 100644
--- a/packages/instant/src/constants.ts
+++ b/packages/instant/src/constants.ts
@@ -16,9 +16,7 @@ export const BUY_QUOTE_UPDATE_INTERVAL_TIME_MS = ONE_SECOND_MS * 15;
export const DEFAULT_GAS_PRICE = GWEI_IN_WEI.mul(6);
export const DEFAULT_ESTIMATED_TRANSACTION_TIME_MS = ONE_MINUTE_MS * 2;
export const ETH_GAS_STATION_API_BASE_URL = 'https://ethgasstation.info';
-export const ANALYTICS_ENABLED = process.env.NODE_ENV === 'production' || process.env.ENABLE_HEAP;
-export const HEAP_ANALYTICS_DEVELOPMENT_APP_ID = '507265531';
-export const HEAP_ANALYTICS_PRODUCTION_APP_ID = '2323640988';
+export const HEAP_ANALYTICS_ID = process.env.HEAP_ANALYTICS_ID;
export const COINBASE_API_BASE_URL = 'https://api.coinbase.com/v2';
export const PROGRESS_STALL_AT_WIDTH = '95%';
export const PROGRESS_FINISH_ANIMATION_TIME_MS = 200;