apiblaze 0.19.3 → 0.19.4
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 +6 -4
- 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.
|
|
936
|
+
var version = "0.19.4";
|
|
937
937
|
|
|
938
938
|
// src/index.ts
|
|
939
939
|
init_types();
|
|
@@ -1020,9 +1020,11 @@ 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
|
-
//
|
|
1025
|
-
|
|
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.
|
|
1026
1028
|
});
|
|
1027
1029
|
if (linked) {
|
|
1028
1030
|
teamId = linked.teamId;
|