phirepass-widgets 0.0.75 → 0.0.76
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/cjs/phirepass-sftp-client.cjs.entry.js +1 -1
- package/dist/cjs/phirepass-terminal.cjs.entry.js +1 -1
- package/dist/cjs/{protocol-DkvltG99.js → protocol-cwD202Jy.js} +22 -19
- package/dist/collection/phirepass-channel_bg.wasm +0 -0
- package/dist/components/p-CQ_Uvdcw.js +1 -0
- package/dist/components/phirepass-sftp-client.js +1 -1
- package/dist/components/phirepass-terminal.js +4 -4
- package/dist/esm/phirepass-sftp-client.entry.js +1 -1
- package/dist/esm/phirepass-terminal.entry.js +1 -1
- package/dist/esm/{protocol-BGvM1sMW.js → protocol-CQ_Uvdcw.js} +21 -18
- package/dist/phirepass-widgets/{p-02fe3d6f.entry.js → p-2ce5f66c.entry.js} +5 -5
- package/dist/phirepass-widgets/p-CQ_Uvdcw.js +1 -0
- package/dist/phirepass-widgets/{p-a3bc0123.entry.js → p-e7608003.entry.js} +1 -1
- package/dist/phirepass-widgets/phirepass-channel_bg.wasm +0 -0
- package/dist/phirepass-widgets/phirepass-widgets.esm.js +1 -1
- package/package.json +7 -9
- package/dist/components/p-BGvM1sMW.js +0 -1
- package/dist/phirepass-widgets/p-BGvM1sMW.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-DovZQ7sb.js';
|
|
2
|
-
import { _ as __wbg_init, E as ErrorType, C as Channel, a as ConnectionState, P as ProtocolMessageType } from './protocol-
|
|
2
|
+
import { _ as __wbg_init, E as ErrorType, C as Channel, a as ConnectionState, P as ProtocolMessageType } from './protocol-CQ_Uvdcw.js';
|
|
3
3
|
|
|
4
4
|
const phirepassSftpClientLogoSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIgogICAgc3Ryb2tlPSJyZ2IoNDYsIDE4NCwgMTM4KSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiCiAgICBjbGFzcz0ibHVjaWRlIGx1Y2lkZS10ZXJtaW5hbCB3LTMuNSBoLTMuNSB0ZXh0LXByaW1hcnkiPgogICAgPHBvbHlsaW5lIHBvaW50cz0iNCAxNyAxMCAxMSA0IDUiPjwvcG9seWxpbmU+CiAgICA8bGluZSB4MT0iMTIiIHgyPSIyMCIgeTE9IjE5IiB5Mj0iMTkiPjwvbGluZT4KPC9zdmc+Cg==';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, g as getElement, h as h$1, H as Host } from './index-DovZQ7sb.js';
|
|
2
|
-
import { I as InputMode, _ as __wbg_init, C as Channel, a as ConnectionState, P as ProtocolMessageType, E as ErrorType } from './protocol-
|
|
2
|
+
import { I as InputMode, _ as __wbg_init, C as Channel, a as ConnectionState, P as ProtocolMessageType, E as ErrorType } from './protocol-CQ_Uvdcw.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Copyright (c) 2014-2024 The xterm.js authors. All rights reserved.
|
|
@@ -319,7 +319,7 @@ class Channel {
|
|
|
319
319
|
}
|
|
320
320
|
/**
|
|
321
321
|
* @param {string} node_id
|
|
322
|
-
* @param {string}
|
|
322
|
+
* @param {string} service_id
|
|
323
323
|
* @param {string} kind
|
|
324
324
|
* @param {string | null | undefined} name
|
|
325
325
|
* @param {string} host
|
|
@@ -330,10 +330,10 @@ class Channel {
|
|
|
330
330
|
* @param {string | null} [scheme]
|
|
331
331
|
* @param {number | null} [msg_id]
|
|
332
332
|
*/
|
|
333
|
-
update_service(node_id,
|
|
333
|
+
update_service(node_id, service_id, kind, name, host, port, username, password, visibility, scheme, msg_id) {
|
|
334
334
|
const ptr0 = passStringToWasm0(node_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
335
335
|
const len0 = WASM_VECTOR_LEN;
|
|
336
|
-
const ptr1 = passStringToWasm0(
|
|
336
|
+
const ptr1 = passStringToWasm0(service_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
337
337
|
const len1 = WASM_VECTOR_LEN;
|
|
338
338
|
const ptr2 = passStringToWasm0(kind, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
339
339
|
const len2 = WASM_VECTOR_LEN;
|
|
@@ -426,11 +426,14 @@ function __wbg_get_imports() {
|
|
|
426
426
|
const ret = Array.from(getObject(arg0));
|
|
427
427
|
return addHeapObject(ret);
|
|
428
428
|
},
|
|
429
|
+
__wbg_getRandomValues_ceb34d8ffce7e87f: function() { return handleError(function (arg0, arg1) {
|
|
430
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
431
|
+
}, arguments); },
|
|
429
432
|
__wbg_get_78f252d074a84d0b: function() { return handleError(function (arg0, arg1) {
|
|
430
433
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
431
434
|
return addHeapObject(ret);
|
|
432
435
|
}, arguments); },
|
|
433
|
-
|
|
436
|
+
__wbg_info_9701b8549a014e2e: function(arg0, arg1) {
|
|
434
437
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
435
438
|
},
|
|
436
439
|
__wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
|
|
@@ -502,27 +505,27 @@ function __wbg_get_imports() {
|
|
|
502
505
|
__wbg_set_onopen_4f65470ae522a61a: function(arg0, arg1) {
|
|
503
506
|
getObject(arg0).onopen = getObject(arg1);
|
|
504
507
|
},
|
|
505
|
-
|
|
508
|
+
__wbg_warn_7c1fdd3aeedfd608: function(arg0, arg1) {
|
|
506
509
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
507
510
|
},
|
|
508
511
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
509
512
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
510
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
513
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_55);
|
|
511
514
|
return addHeapObject(ret);
|
|
512
515
|
},
|
|
513
516
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
514
517
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
515
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
518
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_55_1);
|
|
516
519
|
return addHeapObject(ret);
|
|
517
520
|
},
|
|
518
521
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
519
522
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
520
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
523
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_55_2);
|
|
521
524
|
return addHeapObject(ret);
|
|
522
525
|
},
|
|
523
526
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
524
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
525
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
527
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 5, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
528
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_59);
|
|
526
529
|
return addHeapObject(ret);
|
|
527
530
|
},
|
|
528
531
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -559,20 +562,20 @@ function __wbg_get_imports() {
|
|
|
559
562
|
};
|
|
560
563
|
}
|
|
561
564
|
|
|
562
|
-
function
|
|
563
|
-
wasm.
|
|
565
|
+
function __wasm_bindgen_func_elem_59(arg0, arg1) {
|
|
566
|
+
wasm.__wasm_bindgen_func_elem_59(arg0, arg1);
|
|
564
567
|
}
|
|
565
568
|
|
|
566
|
-
function
|
|
567
|
-
wasm.
|
|
569
|
+
function __wasm_bindgen_func_elem_55(arg0, arg1, arg2) {
|
|
570
|
+
wasm.__wasm_bindgen_func_elem_55(arg0, arg1, addHeapObject(arg2));
|
|
568
571
|
}
|
|
569
572
|
|
|
570
|
-
function
|
|
571
|
-
wasm.
|
|
573
|
+
function __wasm_bindgen_func_elem_55_1(arg0, arg1, arg2) {
|
|
574
|
+
wasm.__wasm_bindgen_func_elem_55_1(arg0, arg1, addHeapObject(arg2));
|
|
572
575
|
}
|
|
573
576
|
|
|
574
|
-
function
|
|
575
|
-
wasm.
|
|
577
|
+
function __wasm_bindgen_func_elem_55_2(arg0, arg1, arg2) {
|
|
578
|
+
wasm.__wasm_bindgen_func_elem_55_2(arg0, arg1, addHeapObject(arg2));
|
|
576
579
|
}
|
|
577
580
|
|
|
578
581
|
|