UNPKG

@ledgerhq/live-common

Version:
16 lines 549 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.findCurrencyExplorer = void 0; const live_env_1 = require("@ledgerhq/live-env"); const findCurrencyExplorer = (currency) => { if (currency.explorerId == null) { console.warn("no explorerId for", currency.id); } return { endpoint: (0, live_env_1.getEnv)("EXPLORER"), id: currency.explorerId ?? currency.id, version: "v4", }; }; exports.findCurrencyExplorer = findCurrencyExplorer; //# sourceMappingURL=explorer.js.map