import { getEnv } from "@ledgerhq/live-env";
import { version } from "../../../package.json";
import { HttpManagerApiRepository } from "@ledgerhq/device-core";
export { StubManagerApiRepository } from "@ledgerhq/device-core";
export class HttpManagerApiRepositoryFactory {
    static instance;
    static getInstance() {
        if (!this.instance) {
            this.instance = new HttpManagerApiRepository(getEnv("MANAGER_API_BASE"), version);
        }
        return this.instance;
    }
}
//# sourceMappingURL=HttpManagerApiRepositoryFactory.js.map