"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.flattenV5CurrenciesToAndFrom = void 0;
function flattenV5CurrenciesToAndFrom(data) {
    const supportedCurrencies = data.currencyGroups.flatMap(group => group.supportedCurrencies);
    return Array.from(new Set(supportedCurrencies));
}
exports.flattenV5CurrenciesToAndFrom = flattenV5CurrenciesToAndFrom;
//# sourceMappingURL=flattenV5CurrenciesToAndFrom.js.map