phirepass-widgets 0.0.74 → 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-Cldo-J8L.js → protocol-cwD202Jy.js} +57 -54
- 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-DuwTRFG1.js → protocol-CQ_Uvdcw.js} +56 -53
- package/dist/phirepass-widgets/{p-6da808f9.entry.js → p-2ce5f66c.entry.js} +5 -5
- package/dist/phirepass-widgets/p-CQ_Uvdcw.js +1 -0
- package/dist/phirepass-widgets/{p-7c0f5848.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-DuwTRFG1.js +0 -1
- package/dist/phirepass-widgets/p-DuwTRFG1.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;
|
|
@@ -367,7 +367,7 @@ const ErrorType = Object.freeze({
|
|
|
367
367
|
function __wbg_get_imports() {
|
|
368
368
|
const import0 = {
|
|
369
369
|
__proto__: null,
|
|
370
|
-
|
|
370
|
+
__wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
|
|
371
371
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
372
372
|
return addHeapObject(ret);
|
|
373
373
|
},
|
|
@@ -378,14 +378,14 @@ function __wbg_get_imports() {
|
|
|
378
378
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
379
379
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
380
380
|
},
|
|
381
|
-
|
|
381
|
+
__wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
|
|
382
382
|
const ret = debugString(getObject(arg1));
|
|
383
383
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
384
384
|
const len1 = WASM_VECTOR_LEN;
|
|
385
385
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
386
386
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
387
387
|
},
|
|
388
|
-
|
|
388
|
+
__wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
|
|
389
389
|
const obj = getObject(arg1);
|
|
390
390
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
391
391
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -393,47 +393,50 @@ function __wbg_get_imports() {
|
|
|
393
393
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
394
394
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
395
395
|
},
|
|
396
|
-
|
|
396
|
+
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
397
397
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
398
398
|
},
|
|
399
|
-
|
|
399
|
+
__wbg__wbg_cb_unref_fffb441def202758: function(arg0) {
|
|
400
400
|
getObject(arg0)._wbg_cb_unref();
|
|
401
401
|
},
|
|
402
|
-
|
|
403
|
-
const ret = getObject(arg0).call(getObject(arg1)
|
|
402
|
+
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
403
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
404
404
|
return addHeapObject(ret);
|
|
405
405
|
}, arguments); },
|
|
406
|
-
|
|
406
|
+
__wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
|
|
407
407
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
408
408
|
return addHeapObject(ret);
|
|
409
409
|
}, arguments); },
|
|
410
|
-
|
|
411
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
410
|
+
__wbg_call_e3b662382210db98: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
411
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3));
|
|
412
412
|
return addHeapObject(ret);
|
|
413
413
|
}, arguments); },
|
|
414
414
|
__wbg_clearInterval_26ba580547547579: function(arg0) {
|
|
415
415
|
const ret = clearInterval(takeObject(arg0));
|
|
416
416
|
return addHeapObject(ret);
|
|
417
417
|
},
|
|
418
|
-
|
|
418
|
+
__wbg_close_c65ca0257e895318: function() { return handleError(function (arg0) {
|
|
419
419
|
getObject(arg0).close();
|
|
420
420
|
}, arguments); },
|
|
421
|
-
|
|
421
|
+
__wbg_data_328de4280640da92: function(arg0) {
|
|
422
422
|
const ret = getObject(arg0).data;
|
|
423
423
|
return addHeapObject(ret);
|
|
424
424
|
},
|
|
425
|
-
|
|
425
|
+
__wbg_from_13e323c65fc8f464: function(arg0) {
|
|
426
426
|
const ret = Array.from(getObject(arg0));
|
|
427
427
|
return addHeapObject(ret);
|
|
428
428
|
},
|
|
429
|
-
|
|
429
|
+
__wbg_getRandomValues_ceb34d8ffce7e87f: function() { return handleError(function (arg0, arg1) {
|
|
430
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
431
|
+
}, arguments); },
|
|
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) {
|
|
437
440
|
let result;
|
|
438
441
|
try {
|
|
439
442
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -443,38 +446,38 @@ function __wbg_get_imports() {
|
|
|
443
446
|
const ret = result;
|
|
444
447
|
return ret;
|
|
445
448
|
},
|
|
446
|
-
|
|
449
|
+
__wbg_length_1f0964f4a5e2c6d8: function(arg0) {
|
|
447
450
|
const ret = getObject(arg0).length;
|
|
448
451
|
return ret;
|
|
449
452
|
},
|
|
450
|
-
|
|
451
|
-
const ret = new Object();
|
|
452
|
-
return addHeapObject(ret);
|
|
453
|
-
},
|
|
454
|
-
__wbg_new_36e147a8ced3c6e0: function() {
|
|
453
|
+
__wbg_new_32b398fb48b6d94a: function() {
|
|
455
454
|
const ret = new Array();
|
|
456
455
|
return addHeapObject(ret);
|
|
457
456
|
},
|
|
458
|
-
|
|
457
|
+
__wbg_new_cd45aabdf6073e84: function(arg0) {
|
|
459
458
|
const ret = new Uint8Array(getObject(arg0));
|
|
460
459
|
return addHeapObject(ret);
|
|
461
460
|
},
|
|
462
|
-
|
|
461
|
+
__wbg_new_da52cf8fe3429cb2: function() {
|
|
462
|
+
const ret = new Object();
|
|
463
|
+
return addHeapObject(ret);
|
|
464
|
+
},
|
|
465
|
+
__wbg_new_with_str_sequence_2de2f569c29910ad: function() { return handleError(function (arg0, arg1, arg2) {
|
|
463
466
|
const ret = new WebSocket(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
464
467
|
return addHeapObject(ret);
|
|
465
468
|
}, arguments); },
|
|
466
|
-
|
|
469
|
+
__wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
|
|
467
470
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
468
471
|
},
|
|
469
|
-
|
|
472
|
+
__wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
|
|
470
473
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
471
474
|
return ret;
|
|
472
475
|
},
|
|
473
|
-
|
|
476
|
+
__wbg_readyState_50bc38c2a9e83db6: function(arg0) {
|
|
474
477
|
const ret = getObject(arg0).readyState;
|
|
475
478
|
return ret;
|
|
476
479
|
},
|
|
477
|
-
|
|
480
|
+
__wbg_send_a321b376d40ec867: function() { return handleError(function (arg0, arg1, arg2) {
|
|
478
481
|
getObject(arg0).send(getArrayU8FromWasm0(arg1, arg2));
|
|
479
482
|
}, arguments); },
|
|
480
483
|
__wbg_setInterval_cbf1c35c6a692d37: function() { return handleError(function (arg0, arg1) {
|
|
@@ -484,45 +487,45 @@ function __wbg_get_imports() {
|
|
|
484
487
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
485
488
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
486
489
|
},
|
|
487
|
-
|
|
488
|
-
getObject(arg0).binaryType = __wbindgen_enum_BinaryType[arg1];
|
|
489
|
-
},
|
|
490
|
-
__wbg_set_dc601f4a69da0bc2: function(arg0, arg1, arg2) {
|
|
490
|
+
__wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
|
|
491
491
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
492
492
|
},
|
|
493
|
-
|
|
493
|
+
__wbg_set_binaryType_a37b086c78ca7c29: function(arg0, arg1) {
|
|
494
|
+
getObject(arg0).binaryType = __wbindgen_enum_BinaryType[arg1];
|
|
495
|
+
},
|
|
496
|
+
__wbg_set_onclose_f706475385ecce07: function(arg0, arg1) {
|
|
494
497
|
getObject(arg0).onclose = getObject(arg1);
|
|
495
498
|
},
|
|
496
|
-
|
|
499
|
+
__wbg_set_onerror_9f5773fd31512333: function(arg0, arg1) {
|
|
497
500
|
getObject(arg0).onerror = getObject(arg1);
|
|
498
501
|
},
|
|
499
|
-
|
|
502
|
+
__wbg_set_onmessage_836d2f72130b4706: function(arg0, arg1) {
|
|
500
503
|
getObject(arg0).onmessage = getObject(arg1);
|
|
501
504
|
},
|
|
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
|
|