@yishiguji/tokenarena 0.24.0 → 0.25.0

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/dist/index.js CHANGED
@@ -7208,7 +7208,7 @@ function getRuntimeDir() {
7208
7208
  var CONFIG_DIR = join34(getConfigHome(), "tokenarena");
7209
7209
  var isDev = process.env.TOKEN_ARENA_DEV === "1";
7210
7210
  var CONFIG_FILE = join34(CONFIG_DIR, isDev ? "config.dev.json" : "config.json");
7211
- var DEFAULT_API_URL = "https://token.guji.uno";
7211
+ var DEFAULT_API_URL = "https://token.yishiguji.com";
7212
7212
  var VALID_CONFIG_KEYS = [
7213
7213
  "apiKey",
7214
7214
  "apiUrl",
@@ -7537,7 +7537,7 @@ function printConfigShow() {
7537
7537
  logger.info(formatSection("\u57FA\u7840\u914D\u7F6E"));
7538
7538
  logger.info(formatKeyValue("API Key", maskSecret(config.apiKey || "")));
7539
7539
  logger.info(
7540
- formatKeyValue("API \u5730\u5740", config.apiUrl || "https://token.guji.uno")
7540
+ formatKeyValue("API \u5730\u5740", config.apiUrl || "https://token.yishiguji.com")
7541
7541
  );
7542
7542
  logger.info(
7543
7543
  formatKeyValue(
@@ -8809,7 +8809,7 @@ async function runSync(config, opts = {}) {
8809
8809
  logger.info(` ${p.source}: ${parts.join(", ")}${suffix}`);
8810
8810
  }
8811
8811
  }
8812
- const apiUrl = config.apiUrl || "https://token.guji.uno";
8812
+ const apiUrl = config.apiUrl || "https://token.yishiguji.com";
8813
8813
  const insecureUrlReason = getInsecureApiUrlReason(apiUrl);
8814
8814
  if (insecureUrlReason) {
8815
8815
  throw new SyncFailure(insecureUrlReason, "error");
@@ -9911,7 +9911,7 @@ async function runInit(opts = {}) {
9911
9911
  logger.info(
9912
9912
  formatKeyValue(
9913
9913
  "\u5F53\u524D API \u5730\u5740",
9914
- existing.apiUrl || "https://token.guji.uno"
9914
+ existing.apiUrl || "https://token.yishiguji.com"
9915
9915
  )
9916
9916
  );
9917
9917
  const shouldOverwrite = await promptConfirm({
@@ -10614,7 +10614,7 @@ async function runStatus(opts = {}) {
10614
10614
  logger.info(formatKeyValue("\u914D\u7F6E\u6587\u4EF6", getConfigPath()));
10615
10615
  logger.info(formatKeyValue("API Key", maskSecret(config.apiKey)));
10616
10616
  logger.info(
10617
- formatKeyValue("API URL", config.apiUrl || "https://token.guji.uno")
10617
+ formatKeyValue("API URL", config.apiUrl || "https://token.yishiguji.com")
10618
10618
  );
10619
10619
  if (config.syncInterval) {
10620
10620
  logger.info(
@@ -10849,7 +10849,10 @@ function logHomeSummary() {
10849
10849
  if (configured && config) {
10850
10850
  logger.info(formatKeyValue("API Key", maskSecret(config.apiKey)));
10851
10851
  logger.info(
10852
- formatKeyValue("API \u5730\u5740", config.apiUrl || "https://token.guji.uno")
10852
+ formatKeyValue(
10853
+ "API \u5730\u5740",
10854
+ config.apiUrl || "https://token.yishiguji.com"
10855
+ )
10853
10856
  );
10854
10857
  } else {
10855
10858
  logger.info(formatBullet("\u5EFA\u8BAE\u5148\u8FD0\u884C\u521D\u59CB\u5316\u6D41\u7A0B\u7ED1\u5B9A API Key\u3002", "warning"));