UNPKG

hive-keychain-commons

Version:

Platform-agnostic functions used in Hive Keychain mobile and extensions

21 lines (20 loc) 843 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SwapCryptosBaseProvider = exports.SwapCryptos = void 0; var SwapCryptos; (function (SwapCryptos) { SwapCryptos["STEALTHEX"] = "STEALTHEX"; SwapCryptos["SIMPLESWAP"] = "SIMPLESWAP"; SwapCryptos["LETS_EXCHANGE"] = "LETS_EXCHANGE"; SwapCryptos["CHANGELLY"] = "CHANGELLY"; })(SwapCryptos = exports.SwapCryptos || (exports.SwapCryptos = {})); class SwapCryptosBaseProvider { constructor(swapCryptosConfig) { (this.urls = swapCryptosConfig.urls), (this.apiKey = swapCryptosConfig.apiKey); this.headerKey = swapCryptosConfig.headerKey; this.refId = swapCryptosConfig.refId; this.partnerFeeAmount = swapCryptosConfig.partnerFeeAmount; } } exports.SwapCryptosBaseProvider = SwapCryptosBaseProvider;