phirepass-widgets 0.0.20 → 0.0.22

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.
@@ -594,7 +594,7 @@ function __wbg_get_imports() {
594
594
  __wbg_set_onopen_34e3e24cf9337ddd: function(arg0, arg1) {
595
595
  getObject(arg0).onopen = getObject(arg1);
596
596
  },
597
- __wbg_warn_805e04431c9f73c4: function(arg0, arg1) {
597
+ __wbg_warn_1bf034bfadbf0dc0: function(arg0, arg1) {
598
598
  console.warn(getStringFromWasm0(arg0, arg1));
599
599
  },
600
600
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
@@ -613,8 +613,8 @@ function __wbg_get_imports() {
613
613
  return addHeapObject(ret);
614
614
  },
615
615
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
616
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx: 5, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
617
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37, __wasm_bindgen_func_elem_41);
616
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
617
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37, __wasm_bindgen_func_elem_42);
618
618
  return addHeapObject(ret);
619
619
  },
620
620
  __wbindgen_cast_0000000000000005: function(arg0) {
@@ -651,8 +651,8 @@ function __wbg_get_imports() {
651
651
  };
652
652
  }
653
653
 
654
- function __wasm_bindgen_func_elem_41(arg0, arg1) {
655
- wasm.__wasm_bindgen_func_elem_41(arg0, arg1);
654
+ function __wasm_bindgen_func_elem_42(arg0, arg1) {
655
+ wasm.__wasm_bindgen_func_elem_42(arg0, arg1);
656
656
  }
657
657
 
658
658
  function __wasm_bindgen_func_elem_38(arg0, arg1, arg2) {
@@ -1219,6 +1219,7 @@ const PhirepassTerminal = class {
1219
1219
  return;
1220
1220
  }
1221
1221
  try {
1222
+ console.log(`Sending terminal resize: cols=${cols}, rows=${rows}`);
1222
1223
  this.channel.send_ssh_terminal_resize(this.nodeId, this.session_id, cols, rows);
1223
1224
  }
1224
1225
  catch (err) {
@@ -1406,7 +1407,7 @@ const PhirepassTerminal = class {
1406
1407
  this.usernameBuffer = "";
1407
1408
  }
1408
1409
  render() {
1409
- return (index.h(index.Host, { key: '16372280bf650813e7aae4e28fae8b761b87a096' }, index.h("div", { key: '5a387d5d9d0772510ded9b50c764ab4ae4b14abc', id: "ccc", ref: el => (this.containerEl = el) })));
1410
+ return (index.h(index.Host, { key: '19ac1ed6ebba15249ad4cbcc8b824508eef08d26' }, index.h("div", { key: '779492472d585c808ec2e96a3adae67df09c58a5', id: "ccc", ref: el => (this.containerEl = el) })));
1410
1411
  }
1411
1412
  static get watchers() { return {
1412
1413
  "nodeId": [{
@@ -244,6 +244,7 @@ export class PhirepassTerminal {
244
244
  return;
245
245
  }
246
246
  try {
247
+ console.log(`Sending terminal resize: cols=${cols}, rows=${rows}`);
247
248
  this.channel.send_ssh_terminal_resize(this.nodeId, this.session_id, cols, rows);
248
249
  }
249
250
  catch (err) {
@@ -431,7 +432,7 @@ export class PhirepassTerminal {
431
432
  this.usernameBuffer = "";
432
433
  }
433
434
  render() {
434
- return (h(Host, { key: '16372280bf650813e7aae4e28fae8b761b87a096' }, h("div", { key: '5a387d5d9d0772510ded9b50c764ab4ae4b14abc', id: "ccc", ref: el => (this.containerEl = el) })));
435
+ return (h(Host, { key: '19ac1ed6ebba15249ad4cbcc8b824508eef08d26' }, h("div", { key: '779492472d585c808ec2e96a3adae67df09c58a5', id: "ccc", ref: el => (this.containerEl = el) })));
435
436
  }
436
437
  static get is() { return "phirepass-terminal"; }
437
438
  static get encapsulation() { return "shadow"; }