aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/constants.ts
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-21 04:06:10 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-21 04:06:10 +0800
commit728617fed2fee99b2accdcf6d2ddc9036c9ad266 (patch)
treead4f3a64a40065683560734b5271c2827b633aff /packages/instant/src/constants.ts
parent05d45e7146ce862ebf7318db636b1a1652348243 (diff)
downloaddexon-0x-contracts-728617fed2fee99b2accdcf6d2ddc9036c9ad266.tar.gz
dexon-0x-contracts-728617fed2fee99b2accdcf6d2ddc9036c9ad266.tar.zst
dexon-0x-contracts-728617fed2fee99b2accdcf6d2ddc9036c9ad266.zip
feat(instant): Report errors to rollbar
Diffstat (limited to 'packages/instant/src/constants.ts')
-rw-r--r--packages/instant/src/constants.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/instant/src/constants.ts b/packages/instant/src/constants.ts
index be6077ca9..23660360d 100644
--- a/packages/instant/src/constants.ts
+++ b/packages/instant/src/constants.ts
@@ -20,6 +20,13 @@ 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;
+export const ROLLBAR_CLIENT_TOKEN = process.env.ROLLBAR_CLIENT_TOKEN;
+export const ROLLBAR_ENVIRONMENT = process.env.ROLLBAR_ENVIRONMENT as
+ | 'dogfood'
+ | 'staging'
+ | 'development'
+ | 'production'
+ | undefined;
export const COINBASE_WALLET_IOS_APP_STORE_URL = 'https://itunes.apple.com/us/app/coinbase-wallet/id1278383455?mt=8';
export const COINBASE_WALLET_ANDROID_APP_STORE_URL = 'https://play.google.com/store/apps/details?id=org.toshi&hl=en';
export const COINBASE_WALLET_SITE_URL = 'https://wallet.coinbase.com/';