@tscircuit/cli 0.1.719 → 0.1.721

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.
Files changed (2) hide show
  1. package/dist/main.js +3 -3
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -74117,7 +74117,7 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
74117
74117
  import { execSync as execSync2 } from "node:child_process";
74118
74118
  var import_semver2 = __toESM2(require_semver2(), 1);
74119
74119
  // package.json
74120
- var version = "0.1.718";
74120
+ var version = "0.1.720";
74121
74121
  var package_default = {
74122
74122
  name: "@tscircuit/cli",
74123
74123
  version,
@@ -79942,10 +79942,10 @@ ${authLine}
79942
79942
  var registerAuthLogin = (program3) => {
79943
79943
  const loginAction = async () => {
79944
79944
  const sessionToken = getSessionToken();
79945
+ const tscircuitHandle = cliConfig.get("tscircuitHandle");
79945
79946
  if (sessionToken) {
79946
79947
  const account = await fetchAccount();
79947
- const handle = account?.tscircuit_handle;
79948
- console.log(kleur_default.yellow(`Already logged in as ${kleur_default.bold(`@${handle ?? account?.account_id}`)}! Use ${kleur_default.cyan("tsci logout")} to switch accounts.`));
79948
+ console.log(kleur_default.yellow(`Already logged in as ${tscircuitHandle ? kleur_default.bold(`@${tscircuitHandle}`) : kleur_default.underline(`@${account?.tscircuit_handle ?? account?.account_id}`)}! Use ${kleur_default.cyan("tsci logout")} to switch accounts.`));
79949
79949
  return;
79950
79950
  }
79951
79951
  const ky2 = getRegistryApiKy();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/cli",
3
- "version": "0.1.719",
3
+ "version": "0.1.721",
4
4
  "main": "dist/main.js",
5
5
  "devDependencies": {
6
6
  "@babel/standalone": "^7.26.9",