@termix-ssh/cli 1.1.0 → 1.1.1

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <div align="center">
2
2
 
3
- <img src="https://raw.githubusercontent.com/Termix-SSH/Termix/main/public/icon.svg" width="120" height="120" alt="Termix Logo" />
3
+ <img src="https://raw.githubusercontent.com/Termix-SSH/Termix/main/public/icon.svg?v=2" width="120" height="120" alt="Termix Logo" />
4
4
 
5
5
  <h1>Termix CLI</h1>
6
6
 
@@ -70,14 +70,6 @@ Interested in a paid placement to support development? Email [mail@termix.site](
70
70
 
71
71
  <br />
72
72
 
73
- <a href="https://www.digitalocean.com/">
74
- <img src="https://termix.site/img/sponsors/digitalocean.svg" height="40" alt="DigitalOcean" />
75
- </a>
76
- &nbsp;&nbsp;&nbsp;
77
- <a href="https://crowdin.com/">
78
- <img src="https://termix.site/img/sponsors/crowdin.svg" height="40" alt="Crowdin" />
79
- </a>
80
- &nbsp;&nbsp;&nbsp;
81
73
  <a href="https://www.blacksmith.sh/">
82
74
  <img src="https://termix.site/img/sponsors/blacksmith.svg" height="40" alt="Blacksmith" />
83
75
  </a>
package/dist/index.js CHANGED
@@ -28902,7 +28902,7 @@ function unavailableFor(pluginId, reason) {
28902
28902
  }
28903
28903
 
28904
28904
  // src/version.ts
28905
- var CLI_VERSION = true ? "1.1.0" : "0.0.0-dev";
28905
+ var CLI_VERSION = true ? "1.1.1" : "0.0.0-dev";
28906
28906
 
28907
28907
  // src/core/http.ts
28908
28908
  var MAX_ATTEMPTS = 3;
@@ -30236,6 +30236,7 @@ var AUTH_STEPS = [
30236
30236
  "totp_required",
30237
30237
  "totp_retry",
30238
30238
  "password_required",
30239
+ "auth_method_not_available",
30239
30240
  "*_auth_required"
30240
30241
  ];
30241
30242
  var MAX_AUTH_ROUNDS = 10;
@@ -30280,6 +30281,11 @@ async function completeAuth(socket, connect, trustHostKey) {
30280
30281
  );
30281
30282
  break;
30282
30283
  }
30284
+ case "auth_method_not_available": {
30285
+ const password = await promptHidden("Password: ");
30286
+ socket.send("reconnect_with_credentials", { ...connect, password });
30287
+ break;
30288
+ }
30283
30289
  case "passphrase_required": {
30284
30290
  const keyPassword = await promptHidden("Key passphrase: ");
30285
30291
  socket.send("reconnect_with_credentials", { ...connect, keyPassword });