From a36606a130bb70aad056301ae91d8ad096b27902 Mon Sep 17 00:00:00 2001 From: Radu-Cristian Popa Date: Wed, 4 Sep 2024 14:14:12 +0300 Subject: [PATCH] Remove Rapyd env/constants --- docker/prod/docker-compose.yml | 1 - packages/wallet/frontend/src/utils/constants.ts | 7 ------- 2 files changed, 8 deletions(-) diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index e89a0f9c8..13ddc75a7 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -27,7 +27,6 @@ services: args: PORT: ${WALLET_FRONTEND_PORT} COOKIE_NAME: ${WALLET_BACKEND_COOKIE_NAME} - NEXT_PUBLIC_USE_TEST_KYC_DATA: ${WALLET_FRONTEND_USE_TEST_KYC_DATA} NEXT_PUBLIC_BACKEND_URL: ${WALLET_FRONTEND_BACKEND_URL} NEXT_PUBLIC_OPEN_PAYMENTS_HOST: ${WALLET_FRONTEND_OPEN_PAYMENTS_HOST} NEXT_PUBLIC_AUTH_HOST: ${WALLET_FRONTEND_AUTH_HOST} diff --git a/packages/wallet/frontend/src/utils/constants.ts b/packages/wallet/frontend/src/utils/constants.ts index bcac57bd8..1d7a2d2e1 100644 --- a/packages/wallet/frontend/src/utils/constants.ts +++ b/packages/wallet/frontend/src/utils/constants.ts @@ -1,10 +1,3 @@ -/** - * Default values for countries and documents - */ -export const USE_TEST_DATA_KYC = - process.env.NEXT_PUBLIC_USE_TEST_KYC_DATA === 'true' -export const ACCEPTED_IMAGE_TYPES = ['image/jpeg', 'image/png'] - export const OPEN_PAYMENTS_HOST = process.env.NEXT_PUBLIC_OPEN_PAYMENTS_HOST /**