UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

78 lines (77 loc) 2.53 kB
export declare const FUNKIT_MESH_CLIENT_ID = "8132aff4-56c9-4b1d-85b4-08dbdcc6199d"; /** * TODO: This is only useful to map exchange names in existing feature flags to the corresponding exchange types. * If/when we decide to fully remove that support, this enum and getExchangeTypeFromName below can be removed. * Mesh-provided brokerName * @deprecated Use MeshExchangeType instead */ export declare enum MeshExchangeName { Robinhood = "Robinhood", ETrade = "ETrade", Alpaca = "Alpaca", WeBull = "WeBull", Stash = "Stash", InteractiveBrokers = "InteractiveBrokers", Public = "Public", Coinbase = "Coinbase", Kraken = "Kraken", CoinbasePro = "CoinbasePro", CryptoCom = "CryptoCom", Binance = "Binance",// BinanceInternationalDirect BinanceUs = "BinanceUs", Gemini = "Gemini", OkCoin = "OkCoin", KuCoin = "KuCoin", Etoro = "Etoro", CexIo = "CexIo", Bitstamp = "Bitstamp", GateIo = "GateIo", Acorns = "Acorns", Okx = "OKX", BitFlyer = "BitFlyer", Coinlist = "Coinlist", Huobi = "Huobi", Bitfinex = "Bitfinex", KrakenDirect = "KrakenDirect", Vanguard = "Vanguard", BitfinexDirect = "Bitfinex (beta)", Bybit = "Bybit" } /** A subset of Mesh-provided brokerType */ export declare enum MeshExchangeType { Robinhood = "robinhood", ETrade = "eTrade", Alpaca = "alpaca", WeBull = "weBull", Stash = "stash", InteractiveBrokers = "interactiveBrokers", Public = "public", Coinbase = "coinbase", Kraken = "kraken", CryptoCom = "cryptoCom", CoinbasePro = "coinbasePro", Gemini = "gemini", Binance = "binanceInternationalDirect", BinanceUs = "binanceUs", OkCoin = "okCoin", Etoro = "etoro", KuCoin = "kuCoin", CexIo = "cexIo", GateIo = "gateIo", Bitstamp = "bitstamp", Okx = "okxOAuth",// not okx! Acorns = "acorns", Coinlist = "coinlist", BitFlyer = "bitFlyer", Bitfinex = "bitfinex", Huobi = "huobi", KrakenDirect = "krakenDirect", Vanguard = "vanguard", Bybit = "bybit", BitfinexDirect = "bitfinexDirect" } export declare function getExchangeIcon(brokerType: MeshExchangeType, size: number): JSX.Element | null; export declare function getExchangeName(brokerType: MeshExchangeType): string; export declare function isMeshExchangeType(value: string): value is MeshExchangeType; /** @deprecated */ export declare function getExchangeTypeFromName(brokerName: string): MeshExchangeType | undefined;