viza 1.7.31 → 1.7.32
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.
|
@@ -125,8 +125,8 @@ export async function dispatchIntentAndWait(input, opts = {}) {
|
|
|
125
125
|
cliVersion,
|
|
126
126
|
};
|
|
127
127
|
showDispatchBanner(input, meta, opts.status);
|
|
128
|
-
const handle = await dispatchIntent(input, mode);
|
|
129
128
|
const spinner = startSpinner("Waiting for dispatch session");
|
|
129
|
+
const handle = await dispatchIntent(input, mode);
|
|
130
130
|
// Fast update check (kept before wait/log so the hint is not lost)
|
|
131
131
|
const updateInfo = await checkForCliUpdateSoft().catch(() => null);
|
|
132
132
|
if (updateInfo?.hasUpdate) {
|
|
@@ -11,8 +11,8 @@ export async function showSsoLinkMenu(ssoUrl, shortUrl, ttlHours = 12) {
|
|
|
11
11
|
console.log(chalk.gray(`\n───────────────────────────────────── ${chalk.magentaBright(`AWS Zero-Click Login`)} ─────────────────────────────────────────────────`));
|
|
12
12
|
console.log(chalk.gray(`✅ Đã tạo liên kết đăng nhập thành công (${chalk.yellow(`hiệu lực:`)} ${chalk.cyanBright(`${ttlHours}`)} giờ)`));
|
|
13
13
|
console.log(chalk.yellow('🔗 Liên kết đăng nhập:'));
|
|
14
|
-
console.log(chalk.whiteBright(
|
|
15
|
-
console.log(chalk.gray('
|
|
14
|
+
console.log(chalk.whiteBright(` ${shortUrl}`));
|
|
15
|
+
console.log(chalk.gray('────────────────────────────────────────────────────────────────────────────────────────────────────────────────'));
|
|
16
16
|
// Non-interactive fallback (CI / pipe / limited TTY)
|
|
17
17
|
if (!process.stdin.isTTY) {
|
|
18
18
|
console.log(shortUrl);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viza",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Viza unified command line interface",
|
|
6
6
|
"bin": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"release:full": "rm -rf dist && npx npm-check-updates -u && npm install && git add package.json package-lock.json && git commit -m 'chore(deps): auto update dependencies before release' || echo 'No changes' && node versioning.js && npm login && npm publish --tag latest --access public && git push"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@vizamodo/viza-dispatcher": "^1.5.
|
|
20
|
+
"@vizamodo/viza-dispatcher": "^1.5.21",
|
|
21
21
|
"adm-zip": "^0.5.16",
|
|
22
22
|
"chalk": "^5.6.2",
|
|
23
23
|
"clipboardy": "^5.3.1",
|