text: // @flow
  
  import type { Observable } from "rxjs";
  import repair from "@ledgerhq/live-common/lib/hw/firmwareUpdate-repair";
  
  type Input = {
    version: ?string,
  };
  
  type Result = { progress: number };
  
  // deviceId='' HACK to not depend on a deviceId because it's dynamic
  const cmd = ({ version }: Input): Observable<Result> => repair("", version);
  
  export default cmd;
  