tt-help-cli-ycl 1.3.33 → 1.3.35

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.
@@ -347,7 +347,13 @@ export function startWatchServer(outputFile, port = 3000, existingStore) {
347
347
  .map((s) => s.trim().toUpperCase())
348
348
  .filter(Boolean)
349
349
  : null;
350
- const job = store.claimNextJob(userId, 5 * 60 * 1000, locations);
350
+ const loggedIn = params.loggedIn === "true";
351
+ const job = store.claimNextJob(
352
+ userId,
353
+ 5 * 60 * 1000,
354
+ locations,
355
+ loggedIn,
356
+ );
351
357
  if (job) {
352
358
  store.save();
353
359
  logJob("CLAIM", {
@@ -759,7 +765,7 @@ export function startWatchServer(outputFile, port = 3000, existingStore) {
759
765
  error: 3,
760
766
  restricted: 4,
761
767
  };
762
- const tier1Loc = new Set(["PL", "NL", "BE"]);
768
+ const tier1Loc = new Set(["PL", "NL", "BE", "AT"]);
763
769
  const tier2Loc = new Set(["DE", "FR", "IT", "IE", "ES"]);
764
770
  function locationTier(u) {
765
771
  const loc = (u.guessedLocation || "").toUpperCase();