Updated on 2026-08-14
This commit is contained in:
parent
61b848204f
commit
930e6ffc72
8 changed files with 20 additions and 17 deletions
|
|
@ -60,7 +60,7 @@ internal class GaslessTxService(
|
|||
}
|
||||
|
||||
private companion object {
|
||||
private const val PROD_BASE_URL = "https://api.tangem.org/"
|
||||
private const val PROD_BASE_URL = "https://gasless.tangem.org/"
|
||||
private const val DEV_BASE_URL = "[REDACTED_ENV_URL]"
|
||||
}
|
||||
}
|
||||
|
|
@ -25,4 +25,6 @@ data class EnvironmentConfig(
|
|||
val yieldModuleApiKey: String? = null,
|
||||
val yieldModuleApiKeyDev: String? = null,
|
||||
val bffStaticToken: String? = null,
|
||||
val gaslessTxApiKeyDev: String? = null,
|
||||
val gaslessTxApiKey: String? = null,
|
||||
)
|
||||
|
|
@ -33,6 +33,8 @@ internal object EnvironmentConfigConverter : Converter<EnvironmentConfigModel, E
|
|||
yieldModuleApiKey = value.yieldModuleApiKey,
|
||||
yieldModuleApiKeyDev = value.yieldModuleApiKeyDev,
|
||||
bffStaticToken = value.bffStaticToken,
|
||||
gaslessTxApiKeyDev = value.gaslessTxApiKeyDev,
|
||||
gaslessTxApiKey = value.gaslessTxApiKey,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
@ -52,6 +52,8 @@ class EnvironmentConfigModel(
|
|||
@Json(name = "blinkApiKey") val blinkApiKey: String?,
|
||||
@Json(name = "tatumApiKey") val tatumApiKey: String?,
|
||||
@Json(name = "bffStaticToken") val bffStaticToken: String?,
|
||||
@Json(name = "gaslessTxApiKeyDev") val gaslessTxApiKeyDev: String?,
|
||||
@Json(name = "gaslessTxApiKey") val gaslessTxApiKey: String?,
|
||||
)
|
||||
|
||||
@JsonClass(generateAdapter = true)
|
||||
|
|
|
|||
|
|
@ -296,7 +296,7 @@ internal class ProdApiConfigsManagerTest {
|
|||
INTERNAL_BUILD_TYPE,
|
||||
EXTERNAL_BUILD_TYPE,
|
||||
RELEASE_BUILD_TYPE,
|
||||
-> ApiEnvironment.PROD to "https://tangem.com/"
|
||||
-> ApiEnvironment.PROD to "https://gasless.tangem.org/"
|
||||
else -> error("Unknown build type [${BuildConfig.BUILD_TYPE}]")
|
||||
}
|
||||
return TestModel(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue