apiblaze 0.19.4 → 0.19.5

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/index.js +7 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -933,7 +933,7 @@ var import_commander = require("commander");
933
933
  var import_chalk44 = __toESM(require("chalk"));
934
934
 
935
935
  // package.json
936
- var version = "0.19.4";
936
+ var version = "0.19.5";
937
937
 
938
938
  // src/index.ts
939
939
  init_types();
@@ -1020,11 +1020,12 @@ async function runLogin() {
1020
1020
  let teamName;
1021
1021
  const linked = await resolveLinkedTeam({
1022
1022
  preferredId: defaultTeamId ?? void 0,
1023
- interactive: !!process.stdin.isTTY
1024
- // Accept the account's default team silently login stays a single smooth
1025
- // step. Switching teams is a separate, deliberate act (`apiblaze team`), not
1026
- // a prompt forced on every login. We still prompt only when the default team
1027
- // is gone (deleted) and there's a real choice to relink to.
1023
+ interactive: !!process.stdin.isTTY,
1024
+ // >1 team → ASK, with the account default as the cursor (one Enter accepts
1025
+ // it). One team link silently. Jay 2026-07-26: silent default was tried
1026
+ // and reverted landing in the wrong team unnoticed is worse than the
1027
+ // extra Enter when you have several teams.
1028
+ promptWhenMultiple: true
1028
1029
  });
1029
1030
  if (linked) {
1030
1031
  teamId = linked.teamId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apiblaze",
3
- "version": "0.19.4",
3
+ "version": "0.19.5",
4
4
  "description": "APIblaze CLI — Chat with your APIs, Manage your API keys, users and groups with the APIblaze serverless proxy",
5
5
  "keywords": [
6
6
  "apiblaze",