"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.listAppsUseCase = void 0;
const listApps_1 = require("../../apps/listApps");
const live_env_1 = require("@ledgerhq/live-env");
const HttpManagerApiRepositoryFactory_1 = require("../factories/HttpManagerApiRepositoryFactory");
function listAppsUseCase(transport, deviceInfo, managerApiRepository = HttpManagerApiRepositoryFactory_1.HttpManagerApiRepositoryFactory.getInstance()) {
    return (0, listApps_1.listApps)({
        transport,
        deviceInfo,
        deviceProxyModel: (0, live_env_1.getEnv)("DEVICE_PROXY_MODEL"),
        managerApiRepository,
        forceProvider: (0, live_env_1.getEnv)("FORCE_PROVIDER"),
        managerDevModeEnabled: (0, live_env_1.getEnv)("MANAGER_DEV_MODE"),
    });
}
exports.listAppsUseCase = listAppsUseCase;
//# sourceMappingURL=listAppsUseCase.js.map