From 4d7f789d3878b3ae50c45a00526ba5e61b1cb334 Mon Sep 17 00:00:00 2001 From: Danh Date: Wed, 14 Jun 2023 16:14:08 +0700 Subject: [PATCH] stg --- .env.adpr | 47 ++++++++++++++++++++++------------------------- package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 27 insertions(+), 30 deletions(-) diff --git a/.env.adpr b/.env.adpr index 66271cd8e5..1ef74f455f 100644 --- a/.env.adpr +++ b/.env.adpr @@ -1,45 +1,42 @@ -VITE_DEFAULT_AGGREGATOR_API=https://meta-aggregator.dev.kyberengineering.io -VITE_AGGREGATOR_API=https://aggregator-api.dev.kyberengineering.io -VITE_AGGREGATOR_STATS_API=https://aggregator-stats.dev.kyberengineering.io +VITE_DEFAULT_AGGREGATOR_API=https://meta-aggregator.stg.kyberengineering.io +VITE_AGGREGATOR_API=https://aggregator-api.stg.kyberengineering.io +VITE_AGGREGATOR_STATS_API=https://aggregator-stats.kyberswap.com VITE_SENTRY_DNS=https://d94ee2d3c22043bdaec966758680b5a8@sentry.ops.kyberengineering.io/4 -VITE_SERVICE_WORKER=true +VITE_SERVICE_WORKER=false +VITE_MIXPANEL_PROJECT_TOKEN=ff1eea26c19dcf4a7c35ebbc8631e714 +VITE_REWARD_SERVICE_API=https://reward.stg.kyberengineering.io/api/v1 -VITE_MIXPANEL_PROJECT_TOKEN=fca28a30cb98d872c2079f214955cd5e -VITE_REWARD_SERVICE_API=https://reward.dev.kyberengineering.io/api/v1 +VITE_PRICE_CHART_API=https://price-chart.kyberswap.com/api +VITE_PRICE_API=https://price.stg.kyberengineering.io -VITE_PRICE_CHART_API=https://price-chart.dev.kyberengineering.io/api -VITE_PRICE_API=https://price.dev.kyberengineering.io +VITE_NOTIFICATION_API=https://notification.stg.kyberengineering.io/api -VITE_NOTIFICATION_API=https://notification.dev.kyberengineering.io/api - -VITE_CAMPAIGN_BASE_URL=https://campaigns.dev.kyberengineering.io -VITE_TYPE_AND_SWAP_URL=https://type-swap.dev.kyberengineering.io/api +VITE_CAMPAIGN_BASE_URL=https://campaigns.stg.kyberengineering.io +VITE_TYPE_AND_SWAP_URL=https://type-swap.stg.kyberengineering.io/api VITE_TRANSAK_URL=https://staging-global.transak.com VITE_TRANSAK_API_KEY=327b8b63-626b-4376-baf2-70a304c48488 -VITE_KS_SETTING_API=https://ks-setting.dev.kyberengineering.io/api +VITE_KS_SETTING_API=https://ks-setting.stg.kyberengineering.io/api VITE_GTM_ID= VITE_GOOGLE_RECAPTCHA_KEY=6Lc7yg0iAAAAALhS4C4Ez5hqMBub8hKdFvvr9sfc -VITE_POOL_FARM_BASE_URL=https://pool-farm.dev.kyberengineering.io +VITE_POOL_FARM_BASE_URL=https://pool-farm.kyberswap.com -VITE_LIMIT_ORDER_API_WRITE=https://limit-order.dev.kyberengineering.io/write/api -VITE_LIMIT_ORDER_API_READ=https://limit-order.dev.kyberengineering.io/read-ks/api +VITE_LIMIT_ORDER_API_WRITE=https://limit-order.stg.kyberengineering.io/write/api +VITE_LIMIT_ORDER_API_READ=https://limit-order.stg.kyberengineering.io/read-ks/api VITE_BLOCK_SERVICE_API=https://block.kyberswap.com # Kyber DAO Apis -VITE_KYBER_DAO_STATS_API=https://kyberswap-dao-stats.dev.kyberengineering.io - +VITE_KYBER_DAO_STATS_API=https://kyberswap-dao-stats.stg.kyberengineering.io +VITE_PRICE_ALERT_API=https://price-alert.stg.kyberengineering.io/api # oauth -VITE_ENV=development -VITE_OAUTH_CLIENT_ID=a2f76ad4-895f-401a-ba75-952a929d782c - -VITE_PRICE_ALERT_API=https://price-alert.dev.kyberengineering.io/api -VITE_BFF_API=https://kyberswap-bff.dev.kyberengineering.io/api +VITE_ENV=staging +VITE_OAUTH_CLIENT_ID=bce9bf52-b788-4c25-9c6c-a07dff080403 +VITE_BFF_API=https://kyberswap-bff.stg.kyberengineering.io/api VITE_KYBER_AI_REFERRAL_ID=1 -VITE_KYBER_AI_TOPIC_ID=14 +VITE_KYBER_AI_TOPIC_ID=11 -VITE_BUCKET_NAME=ks-setting-a3aa20b7 \ No newline at end of file +VITE_BUCKET_NAME=ks-setting-6d114fd1 \ No newline at end of file diff --git a/package.json b/package.json index c2d7c14d82..25aef90eab 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@apollo/client": "^3.7.1", "@datadog/browser-rum": "^4.23.3", "@esbuild-plugins/node-globals-polyfill": "^0.2.3", - "@kybernetwork/oauth2": "0.0.5", + "@kybernetwork/oauth2": "0.0.6-rc.11", "@kyberswap/ks-sdk-classic": "^1.0.3", "@kyberswap/ks-sdk-core": "^1.0.5", "@kyberswap/ks-sdk-elastic": "^1.1.2", diff --git a/yarn.lock b/yarn.lock index 3825ed6eb7..7f80a9e193 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2303,10 +2303,10 @@ bs58 "^5.0.0" uuid "^8.3.2" -"@kybernetwork/oauth2@0.0.5": - version "0.0.5" - resolved "https://npm.pkg.github.com/download/@kybernetwork/oauth2/0.0.5/2750cb4889e732cff68bfbaccf937d9885bb7229#2750cb4889e732cff68bfbaccf937d9885bb7229" - integrity sha512-Qgj5/wmWlWQUZnGQMnDNKk9lt4snSqThH/Pp3lUAQEkPx5wzIAqt48StvYORZaAjB113PrVvUdXymbpvieyLnQ== +"@kybernetwork/oauth2@0.0.6-rc.11": + version "0.0.6-rc.11" + resolved "https://npm.pkg.github.com/download/@kybernetwork/oauth2/0.0.6-rc.11/5af0697b5871c8b941699ccd26327a11f28ab9ff#5af0697b5871c8b941699ccd26327a11f28ab9ff" + integrity sha512-ZNo06+/8lyWVvmBGqFeXgMmH1a6Utzf8neXiVD1hpyJuvj/C3znthJcJ1UZYDFvDyP0ihpb0ChN2qPlpLQhxjQ== dependencies: axios "1.2.1" client-oauth2 "^4.3.3"