lingo.dev 0.117.18 → 0.117.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/cli.cjs CHANGED
@@ -10870,7 +10870,7 @@ var { machineIdSync } = _nodemachineid2.default;
10870
10870
  var POSTHOG_API_KEY = "phc_eR0iSoQufBxNY36k0f0T15UvHJdTfHlh8rJcxsfhfXk";
10871
10871
  var POSTHOG_HOST = "eu.i.posthog.com";
10872
10872
  var POSTHOG_PATH = "/i/v0/e/";
10873
- var REQUEST_TIMEOUT_MS = 1e3;
10873
+ var REQUEST_TIMEOUT_MS = 3e3;
10874
10874
  var TRACKING_VERSION = "2.0";
10875
10875
  function determineDistinctId(providedId) {
10876
10876
  if (providedId) {
@@ -11142,6 +11142,7 @@ var i18n_default = new (0, _interactivecommander.Command)().command("i18n").desc
11142
11142
  errorCount: 1,
11143
11143
  stage: "flag_validation"
11144
11144
  });
11145
+ await new Promise((resolve) => setTimeout(resolve, 50));
11145
11146
  throw parseError;
11146
11147
  }
11147
11148
  if (flags.debug) {
@@ -11531,6 +11532,7 @@ var i18n_default = new (0, _interactivecommander.Command)().command("i18n").desc
11531
11532
  localeCount: targetLocales.length,
11532
11533
  processedSuccessfully: true
11533
11534
  });
11535
+ await new Promise((resolve) => setTimeout(resolve, 50));
11534
11536
  } else {
11535
11537
  ora.warn("Localization completed with errors.");
11536
11538
  await trackEvent(authId, "cmd.i18n.error", {
@@ -11542,6 +11544,7 @@ var i18n_default = new (0, _interactivecommander.Command)().command("i18n").desc
11542
11544
  i18nConfig
11543
11545
  )
11544
11546
  });
11547
+ await new Promise((resolve) => setTimeout(resolve, 50));
11545
11548
  }
11546
11549
  } catch (error) {
11547
11550
  ora.fail(error.message);
@@ -11570,6 +11573,7 @@ var i18n_default = new (0, _interactivecommander.Command)().command("i18n").desc
11570
11573
  errorCount: errorDetails.length + 1,
11571
11574
  previousErrors: createPreviousErrorContext(errorDetails)
11572
11575
  });
11576
+ await new Promise((resolve) => setTimeout(resolve, 50));
11573
11577
  }
11574
11578
  });
11575
11579
  function parseFlags(options) {
@@ -13314,8 +13318,10 @@ var run_default = new (0, _interactivecommander.Command)().command("run").descri
13314
13318
  config: ctx.config,
13315
13319
  flags: ctx.flags
13316
13320
  });
13321
+ await new Promise((resolve) => setTimeout(resolve, 50));
13317
13322
  } catch (error) {
13318
13323
  await trackEvent(authId, "cmd.run.error", {});
13324
+ await new Promise((resolve) => setTimeout(resolve, 50));
13319
13325
  if (args.sound) {
13320
13326
  await playSound("failure");
13321
13327
  }
@@ -14565,6 +14571,7 @@ var status_default = new (0, _interactivecommander.Command)().command("status").
14565
14571
  totalWordsToTranslate,
14566
14572
  authenticated: !!authId
14567
14573
  });
14574
+ await new Promise((resolve) => setTimeout(resolve, 50));
14568
14575
  exitGracefully();
14569
14576
  } catch (error) {
14570
14577
  ora.fail(error.message);
@@ -14573,6 +14580,7 @@ var status_default = new (0, _interactivecommander.Command)().command("status").
14573
14580
  error: error.message,
14574
14581
  authenticated: !!authId
14575
14582
  });
14583
+ await new Promise((resolve) => setTimeout(resolve, 50));
14576
14584
  process.exit(1);
14577
14585
  }
14578
14586
  });
@@ -14710,7 +14718,7 @@ async function renderHero2() {
14710
14718
  // package.json
14711
14719
  var package_default = {
14712
14720
  name: "lingo.dev",
14713
- version: "0.117.18",
14721
+ version: "0.117.20",
14714
14722
  description: "Lingo.dev CLI",
14715
14723
  private: false,
14716
14724
  repository: {