import { getAppsCatalogForDevice as coreGetAppsCatalogForDevice, } from "@ledgerhq/device-core";
import { HttpManagerApiRepositoryFactory } from "../factories/HttpManagerApiRepositoryFactory";
import { getProviderId } from "../../manager";
export function getAppsCatalogForDevice(deviceInfo, managerApiRepository = HttpManagerApiRepositoryFactory.getInstance()) {
    const { version: firmwareVersion, targetId } = deviceInfo;
    const provider = getProviderId(deviceInfo);
    return coreGetAppsCatalogForDevice({ firmwareVersion, targetId, provider }, managerApiRepository);
}
//# sourceMappingURL=getAppsCatalogForDevice.js.map