phirepass-widgets 0.0.42 → 0.0.43

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.
@@ -510,8 +510,9 @@ const PhirepassTerminal = class {
510
510
  this.usernameBuffer = "";
511
511
  this.passwordBuffer = "";
512
512
  break;
513
- case ErrorType.RequiresUsername:
514
513
  case ErrorType.RequiresUsernamePassword:
514
+ console.log('Server requires both username and password. Prompting for username first.');
515
+ case ErrorType.RequiresUsername:
515
516
  this.terminal.reset();
516
517
  this.inputMode = InputMode.Username;
517
518
  this.usernameBuffer = "";
@@ -692,7 +693,7 @@ const PhirepassTerminal = class {
692
693
  this.usernameBuffer = "";
693
694
  }
694
695
  render() {
695
- return (h$1(Host, { key: '274fd3f8db8cb3f48bd956ba40d5aacb8ec15e1f' }, h$1("div", { key: '644c586e190c63651d9e521793611a83d372d0ad', id: "ccc", ref: el => (this.containerEl = el) })));
696
+ return (h$1(Host, { key: 'fb718b4652e9d3d822a511bbabc58c0d8a754f53' }, h$1("div", { key: 'f3f3b41de2aff14b0fb3a411fd5af847f1ac106c', id: "ccc", ref: el => (this.containerEl = el) })));
696
697
  }
697
698
  static get watchers() { return {
698
699
  "nodeId": [{