import type { ClientConfig } from './types'

import { facr } from './facr'
import { instat } from './instat'

const currentClient = process.env.REACT_APP_CLIENT || 'instat'

const clients = {
  facr,
  instat,
}

export const client: ClientConfig = clients[currentClient]
