abtars 0.1.0-alpha.23 → 0.1.0-alpha.25

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.
@@ -2,7 +2,7 @@
2
2
  import { createRequire as __bundleCreateRequire } from 'node:module'; import { fileURLToPath as __bundleFileURLToPath } from 'node:url'; import { dirname as __bundleDirname } from 'node:path'; const require = __bundleCreateRequire(import.meta.url); const __chunk_filename = __bundleFileURLToPath(import.meta.url); const __chunk_dirname = __bundleDirname(__chunk_filename);
3
3
  import {
4
4
  install
5
- } from "./chunk-7CHLS36W.js";
5
+ } from "./chunk-XMJ76XLE.js";
6
6
  import {
7
7
  RETENTION,
8
8
  acquireLock,
@@ -540,7 +540,7 @@ async function runInteractive(existing) {
540
540
  }
541
541
  process.stdout.write("\nSend /start to your bot on Telegram now... (waiting 30s)\n");
542
542
  try {
543
- const res = await fetch(`${botUrl}/getUpdates?timeout=30&allowed_updates=["message"]`);
543
+ const res = await fetch(`${botUrl}/getUpdates?timeout=30&allowed_updates=${encodeURIComponent('["message"]')}`);
544
544
  const data = await res.json();
545
545
  const id = data.result?.find((u) => u.message?.chat?.id)?.message?.chat?.id;
546
546
  if (id) {
@@ -1676,7 +1676,7 @@ Update complete: ${staged.version}
1676
1676
  } catch {
1677
1677
  }
1678
1678
  }
1679
- const { loadManifest } = await import("./install-manifest-ZETY4AFS.js");
1679
+ const { loadManifest } = await import("./install-manifest-QRWID3KZ.js");
1680
1680
  const sourceRoot = staged.stagedPath;
1681
1681
  const installManifest = loadManifest(sourceRoot);
1682
1682
  const repoScripts = join9(sourceRoot, "scripts");
@@ -1726,7 +1726,7 @@ Update complete: ${staged.version}
1726
1726
  }
1727
1727
  process.stdout.write(`\u2713 scripts refreshed (${scriptFiles.length} files)
1728
1728
  `);
1729
- const { writeWrapper } = await import("./install-24XR5FO5.js");
1729
+ const { writeWrapper } = await import("./install-K67U3WLX.js");
1730
1730
  await mkdir4(paths.bin, { recursive: true });
1731
1731
  for (const name of installManifest.cliWrappers) {
1732
1732
  await writeWrapper(paths.bin, name, paths.current, false);
@@ -1783,7 +1783,7 @@ Update complete: ${staged.version}
1783
1783
  }
1784
1784
  }
1785
1785
  void hashFile;
1786
- const { ensureInstallInvariants } = await import("./ensure-invariants-KUXIW73S.js");
1786
+ const { ensureInstallInvariants } = await import("./ensure-invariants-BJIEOSJ2.js");
1787
1787
  const invariantResults = await ensureInstallInvariants(process.cwd(), paths.home);
1788
1788
  if (invariantResults.length > 0) {
1789
1789
  process.stdout.write(`\u2713 invariants: ${invariantResults.join(", ")}