import type { APIClient } from '@wireapp/api-client' ; import { Runtime } from '@wireapp/commons' ; import type { CallConfigData } from '@wireapp/api-client/src/account/CallConfigData' ; export class AccountService { constructor ( private readonly apiClient ) { } getCallConfig ( ) { const iceCandidateLimit = Runtime . isFirefox ( ) ? 3 : undefined ; return this . apiClient . account . api . getCallConfig ( iceCandidateLimit ) ; } }