brew-tui 0.8.0 → 0.8.1

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/index.js CHANGED
@@ -423,7 +423,7 @@ import React2 from "react";
423
423
  import { Box as Box2, Text as Text3 } from "ink";
424
424
  import { Fragment as Fragment2, jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
425
425
  var VIEW_HINT_DEFS = {
426
- dashboard: [["1-9,0", "hint_navigate"], ["S", "hint_search"], ["tab", "hint_next"], ["q", "hint_quit"]],
426
+ dashboard: [["1-9,0", "hint_navigate"], ["r", "hint_refresh"], ["S", "hint_search"], ["tab", "hint_next"], ["q", "hint_quit"]],
427
427
  installed: [["/", "hint_filter"], ["enter", "hint_info"], ["u", "hint_uninstall"], ["f", "hint_switchTab"], ["S", "hint_search"], ["q", "hint_quit"]],
428
428
  search: [["hint_typeToSearch"], ["enter", "hint_details"], ["i", "hint_install"], ["esc", "hint_back"], ["q", "hint_quit"]],
429
429
  outdated: [["enter", "hint_upgrade"], ["A", "hint_upgradeAll"], ["p", "hint_pin"], ["r", "hint_refresh"], ["S", "hint_search"], ["q", "hint_quit"]],
@@ -1989,7 +1989,7 @@ function DashboardView() {
1989
1989
  fetchAll();
1990
1990
  }, []);
1991
1991
  useInput3((input) => {
1992
- if (errors.installed && (input === "r" || input === "R")) {
1992
+ if (input === "r" || input === "R") {
1993
1993
  void fetchAll();
1994
1994
  }
1995
1995
  });
@@ -4607,7 +4607,7 @@ function AccountView() {
4607
4607
  status === "pro" || status === "team" || status === "expired" ? `v ${t("hint_revalidate")} ` : "",
4608
4608
  revalidating ? t("account_revalidating") : "",
4609
4609
  " ",
4610
- t("app_version", { version: "0.8.0" })
4610
+ t("app_version", { version: "0.8.1" })
4611
4611
  ] }) })
4612
4612
  ] });
4613
4613
  }
@@ -6015,7 +6015,7 @@ async function reportError(err, context = {}) {
6015
6015
  const config = await resolveConfig();
6016
6016
  if (!config.enabled || !config.endpoint) return;
6017
6017
  const machineId = await getMachineId();
6018
- const version = true ? "0.8.0" : "unknown";
6018
+ const version = true ? "0.8.1" : "unknown";
6019
6019
  await postReport(buildReport("error", err, context, machineId, version), config);
6020
6020
  }
6021
6021
  async function installCrashReporter() {
@@ -6024,7 +6024,7 @@ async function installCrashReporter() {
6024
6024
  if (!config.enabled || !config.endpoint) return;
6025
6025
  _installed = true;
6026
6026
  const machineId = await getMachineId();
6027
- const version = true ? "0.8.0" : "unknown";
6027
+ const version = true ? "0.8.1" : "unknown";
6028
6028
  process.on("uncaughtException", (err) => {
6029
6029
  void postReport(buildReport("fatal", err, { kind: "uncaughtException" }, machineId, version), config);
6030
6030
  });
@@ -6039,7 +6039,7 @@ import { jsx as jsx37 } from "react/jsx-runtime";
6039
6039
  var [, , command, arg] = process.argv;
6040
6040
  async function runCli() {
6041
6041
  if (command === "--version" || command === "-v" || command === "version") {
6042
- process.stdout.write("0.8.0\n");
6042
+ process.stdout.write("0.8.1\n");
6043
6043
  return;
6044
6044
  }
6045
6045
  await ensureDataDirs();
@@ -6221,7 +6221,7 @@ async function ensureBrewBarRunning() {
6221
6221
  await useLicenseStore.getState().initialize();
6222
6222
  if (!useLicenseStore.getState().isPro()) return;
6223
6223
  const { isBrewBarInstalled, installBrewBar, launchBrewBar } = await import("./brewbar-installer-DCF37YM3.js");
6224
- const { checkBrewBarVersion } = await import("./version-check-RA6SHCXI.js");
6224
+ const { checkBrewBarVersion } = await import("./version-check-LEJWNDQK.js");
6225
6225
  try {
6226
6226
  if (!await isBrewBarInstalled()) {
6227
6227
  console.log(t("cli_brewbarInstalling"));