phirepass-channel 0.1.177 → 0.1.178
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/package.json
CHANGED
package/phirepass-channel.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export class Channel {
|
|
|
23
23
|
send_sftp_list_data(node_id: string, sid: number, path: string, msg_id?: number | null): void;
|
|
24
24
|
send_sftp_upload_chunk(node_id: string, sid: number, upload_id: number, chunk_index: number, chunk_size: number, data: Uint8Array, msg_id?: number | null): void;
|
|
25
25
|
send_sftp_upload_start(node_id: string, sid: number, filename: string, remote_path: string, total_chunks: number, total_size: bigint, msg_id?: number | null): void;
|
|
26
|
-
send_ssh_terminal_resize(node_id: string, sid: number, cols: number, rows: number): void;
|
|
26
|
+
send_ssh_terminal_resize(node_id: string, sid: number, cols: number, rows: number, px_width: number, px_height: number): void;
|
|
27
27
|
send_ssh_tunnel_data(node_id: string, sid: number, data: string): void;
|
|
28
28
|
start_heartbeat(interval_as_millis: number): void;
|
|
29
29
|
stop_heartbeat(): void;
|
|
@@ -66,7 +66,7 @@ export interface InitOutput {
|
|
|
66
66
|
readonly channel_send_sftp_list_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
67
67
|
readonly channel_send_sftp_upload_chunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
68
68
|
readonly channel_send_sftp_upload_start: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: bigint, k: number) => void;
|
|
69
|
-
readonly channel_send_ssh_terminal_resize: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
69
|
+
readonly channel_send_ssh_terminal_resize: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
70
70
|
readonly channel_send_ssh_tunnel_data: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
71
71
|
readonly channel_start_heartbeat: (a: number, b: number) => void;
|
|
72
72
|
readonly channel_stop_heartbeat: (a: number) => void;
|
|
@@ -75,7 +75,7 @@ export interface InitOutput {
|
|
|
75
75
|
readonly __wasm_bindgen_func_elem_38: (a: number, b: number, c: number) => void;
|
|
76
76
|
readonly __wasm_bindgen_func_elem_38_1: (a: number, b: number, c: number) => void;
|
|
77
77
|
readonly __wasm_bindgen_func_elem_38_2: (a: number, b: number, c: number) => void;
|
|
78
|
-
readonly
|
|
78
|
+
readonly __wasm_bindgen_func_elem_42: (a: number, b: number) => void;
|
|
79
79
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
80
80
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
81
81
|
readonly __wbindgen_export3: (a: number) => void;
|
package/phirepass-channel.js
CHANGED
|
@@ -216,11 +216,13 @@ export class Channel {
|
|
|
216
216
|
* @param {number} sid
|
|
217
217
|
* @param {number} cols
|
|
218
218
|
* @param {number} rows
|
|
219
|
+
* @param {number} px_width
|
|
220
|
+
* @param {number} px_height
|
|
219
221
|
*/
|
|
220
|
-
send_ssh_terminal_resize(node_id, sid, cols, rows) {
|
|
222
|
+
send_ssh_terminal_resize(node_id, sid, cols, rows, px_width, px_height) {
|
|
221
223
|
const ptr0 = passStringToWasm0(node_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
222
224
|
const len0 = WASM_VECTOR_LEN;
|
|
223
|
-
wasm.channel_send_ssh_terminal_resize(this.__wbg_ptr, ptr0, len0, sid, cols, rows);
|
|
225
|
+
wasm.channel_send_ssh_terminal_resize(this.__wbg_ptr, ptr0, len0, sid, cols, rows, px_width, px_height);
|
|
224
226
|
}
|
|
225
227
|
/**
|
|
226
228
|
* @param {string} node_id
|
|
@@ -406,7 +408,7 @@ function __wbg_get_imports() {
|
|
|
406
408
|
__wbg_set_onopen_34e3e24cf9337ddd: function(arg0, arg1) {
|
|
407
409
|
getObject(arg0).onopen = getObject(arg1);
|
|
408
410
|
},
|
|
409
|
-
|
|
411
|
+
__wbg_warn_59aa62be523b7240: function(arg0, arg1) {
|
|
410
412
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
411
413
|
},
|
|
412
414
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
@@ -425,8 +427,8 @@ function __wbg_get_imports() {
|
|
|
425
427
|
return addHeapObject(ret);
|
|
426
428
|
},
|
|
427
429
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
428
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx:
|
|
429
|
-
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37,
|
|
430
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
431
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37, __wasm_bindgen_func_elem_42);
|
|
430
432
|
return addHeapObject(ret);
|
|
431
433
|
},
|
|
432
434
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -463,8 +465,8 @@ function __wbg_get_imports() {
|
|
|
463
465
|
};
|
|
464
466
|
}
|
|
465
467
|
|
|
466
|
-
function
|
|
467
|
-
wasm.
|
|
468
|
+
function __wasm_bindgen_func_elem_42(arg0, arg1) {
|
|
469
|
+
wasm.__wasm_bindgen_func_elem_42(arg0, arg1);
|
|
468
470
|
}
|
|
469
471
|
|
|
470
472
|
function __wasm_bindgen_func_elem_38(arg0, arg1, arg2) {
|
|
Binary file
|