Merge remote-tracking branch 'origin/main'

This commit is contained in:
Mikhail Gladchenko
2024-05-17 13:07:10 +01:00
10 changed files with 131 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
{
"production": {
"referralAPI": "https://trade.orion.xyz/referral-api",
"frontageAPI": "https://trade.orion.xyz/frontage",
"networks": {
"1": {
"api": "https://trade.orion.xyz/eth-mainnet",
@@ -205,6 +206,7 @@
},
"testing": {
"referralAPI": "https://testing.orion.xyz/referral-api",
"frontageAPI": "https://testing.orion.xyz/frontage",
"networks": {
"97": {
"api": "https://testing.orion.xyz/bsc-testnet",
@@ -319,6 +321,7 @@
},
"staging": {
"referralAPI": "https://staging.orion.xyz/referral-api",
"frontageAPI": "https://staging.orion.xyz/frontage",
"networks": {
"1": {
"api": "https://staging.orion.xyz/eth-mainnet",
@@ -522,6 +525,7 @@
},
"experimental": {
"referralAPI": "https://testing.orion.xyz/referral-api",
"frontageAPI": "https://testing.orion.xyz/frontage",
"networks": {
"97": {
"api": "https://dn-dev.orion.xyz/bsc-testnet",
@@ -563,6 +567,7 @@
},
"kucoin-production": {
"referralAPI": "https://trade.orion.xyz/referral-api",
"frontageAPI": "https://trade.orion.xyz/frontage",
"networks": {
"1": {
"api": "https://trade.orion.xyz/eth-mainnet",

View File

@@ -16,7 +16,7 @@ export const pureEnvNetworksSchema = z.object({
}),
indexer: z.object({
http: z.string(),
}).optional(),
}).optional()
}),
rpc: z.string().optional(),
liquidityMigratorAddress: z.string().optional(),
@@ -25,6 +25,7 @@ export const pureEnvNetworksSchema = z.object({
export const pureEnvPayloadSchema = z.object({
analyticsAPI: z.string().url().optional(),
referralAPI: z.string().url(),
frontageAPI: z.string().url(),
networks: z.record(
z.nativeEnum(SupportedChainId),
pureEnvNetworksSchema