phirepass-channel 0.1.358 → 0.1.360
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 +1 -1
- package/phirepass-channel.d.ts +4 -32
- package/phirepass-channel.js +18 -274
- package/phirepass-channel_bg.wasm +0 -0
package/package.json
CHANGED
package/phirepass-channel.d.ts
CHANGED
|
@@ -32,18 +32,6 @@ export class Channel {
|
|
|
32
32
|
open_rdp_tunnel(node_id: string, service_id: string, username?: string | null, password?: string | null, msg_id?: number | null): void;
|
|
33
33
|
open_sftp_tunnel(node_id: string, service_id: string, username?: string | null, password?: string | null, msg_id?: number | null): void;
|
|
34
34
|
open_ssh_tunnel(node_id: string, service_id: string, username?: string | null, password?: string | null, msg_id?: number | null): void;
|
|
35
|
-
send_download_delete(download_id: string, delete_file: boolean, msg_id?: number | null): void;
|
|
36
|
-
send_download_resume(download_id: string, ignore_window: boolean, msg_id?: number | null): void;
|
|
37
|
-
send_download_set_order(download_id: string, in_order: boolean, msg_id?: number | null): void;
|
|
38
|
-
send_download_settings_get(node_id: string, msg_id?: number | null): void;
|
|
39
|
-
send_download_settings_save(node_id: string, settings: any, msg_id?: number | null): void;
|
|
40
|
-
send_download_start(node_id: string, source: any, sub_dir: string | null | undefined, browsing: any, in_order: boolean | null | undefined, options: any, msg_id?: number | null): void;
|
|
41
|
-
send_download_stop(download_id: string, discard: boolean, msg_id?: number | null): void;
|
|
42
|
-
/**
|
|
43
|
-
* `{ Node: "<uuid>" }` or `"All"`.
|
|
44
|
-
*/
|
|
45
|
-
send_download_subscribe(scope: any): void;
|
|
46
|
-
send_download_where(node_id: string, browsing: any, msg_id?: number | null): void;
|
|
47
35
|
/**
|
|
48
36
|
* Set permission bits. The agent masks these to `0o7777`.
|
|
49
37
|
*/
|
|
@@ -62,12 +50,6 @@ export class Channel {
|
|
|
62
50
|
* Create one directory. Parents must exist already, as with `mkdir`.
|
|
63
51
|
*/
|
|
64
52
|
send_sftp_mkdir(node_id: string, sid: number, path: string, msg_id?: number | null): void;
|
|
65
|
-
/**
|
|
66
|
-
* Ask the node to let a player read `path` through this SFTP session.
|
|
67
|
-
* Answered with `SFTPOpResult::Stream { token, size, mime }`; the player
|
|
68
|
-
* then reads `/api/web/stream/{node_id}/t/{token}`.
|
|
69
|
-
*/
|
|
70
|
-
send_sftp_open_stream(node_id: string, sid: number, path: string, msg_id?: number | null): void;
|
|
71
53
|
/**
|
|
72
54
|
* Read a whole file for the in-page editor. Answered with an
|
|
73
55
|
* `SFTPOpResult` carrying `FileContents`, or an `Error` if the file is
|
|
@@ -134,15 +116,6 @@ export interface InitOutput {
|
|
|
134
116
|
readonly channel_open_rdp_tunnel: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
135
117
|
readonly channel_open_sftp_tunnel: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
136
118
|
readonly channel_open_ssh_tunnel: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
137
|
-
readonly channel_send_download_delete: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
138
|
-
readonly channel_send_download_resume: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
139
|
-
readonly channel_send_download_set_order: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
140
|
-
readonly channel_send_download_settings_get: (a: number, b: number, c: number, d: number) => void;
|
|
141
|
-
readonly channel_send_download_settings_save: (a: number, b: number, c: number, d: any, e: number) => void;
|
|
142
|
-
readonly channel_send_download_start: (a: number, b: number, c: number, d: any, e: number, f: number, g: any, h: number, i: any, j: number) => void;
|
|
143
|
-
readonly channel_send_download_stop: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
144
|
-
readonly channel_send_download_subscribe: (a: number, b: any) => void;
|
|
145
|
-
readonly channel_send_download_where: (a: number, b: number, c: number, d: any, e: number) => void;
|
|
146
119
|
readonly channel_send_sftp_chmod: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
147
120
|
readonly channel_send_sftp_delete: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
148
121
|
readonly channel_send_sftp_download_ack: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
@@ -150,7 +123,6 @@ export interface InitOutput {
|
|
|
150
123
|
readonly channel_send_sftp_download_start: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
151
124
|
readonly channel_send_sftp_list_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
152
125
|
readonly channel_send_sftp_mkdir: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
153
|
-
readonly channel_send_sftp_open_stream: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
154
126
|
readonly channel_send_sftp_read_file: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
155
127
|
readonly channel_send_sftp_remove: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
156
128
|
readonly channel_send_sftp_rename: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
@@ -163,10 +135,10 @@ export interface InitOutput {
|
|
|
163
135
|
readonly channel_stop_heartbeat: (a: number) => void;
|
|
164
136
|
readonly channel_update_service: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number) => void;
|
|
165
137
|
readonly version: (a: number) => void;
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
138
|
+
readonly __wasm_bindgen_func_elem_63: (a: number, b: number, c: any) => void;
|
|
139
|
+
readonly __wasm_bindgen_func_elem_63_37: (a: number, b: number, c: any) => void;
|
|
140
|
+
readonly __wasm_bindgen_func_elem_63_38: (a: number, b: number, c: any) => void;
|
|
141
|
+
readonly __wasm_bindgen_func_elem_67: (a: number, b: number) => void;
|
|
170
142
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
171
143
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
172
144
|
readonly __wbindgen_export3: (a: number, b: number, c: number) => void;
|
package/phirepass-channel.js
CHANGED
|
@@ -270,117 +270,6 @@ export class Channel {
|
|
|
270
270
|
}
|
|
271
271
|
wasm.channel_open_ssh_tunnel(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, val5);
|
|
272
272
|
}
|
|
273
|
-
/**
|
|
274
|
-
* @param {string} download_id
|
|
275
|
-
* @param {boolean} delete_file
|
|
276
|
-
* @param {number | null} [msg_id]
|
|
277
|
-
*/
|
|
278
|
-
send_download_delete(download_id, delete_file, msg_id) {
|
|
279
|
-
const val2 = +delete_file;
|
|
280
|
-
const val3 = +(isLikeNone(msg_id) ? Number.MAX_SAFE_INTEGER : (msg_id) >>> 0);
|
|
281
|
-
const ptr0 = passStringToWasm0(download_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
282
|
-
const len0 = WASM_VECTOR_LEN;
|
|
283
|
-
wasm.channel_send_download_delete(this.__wbg_ptr, ptr0, len0, val2, val3);
|
|
284
|
-
}
|
|
285
|
-
/**
|
|
286
|
-
* @param {string} download_id
|
|
287
|
-
* @param {boolean} ignore_window
|
|
288
|
-
* @param {number | null} [msg_id]
|
|
289
|
-
*/
|
|
290
|
-
send_download_resume(download_id, ignore_window, msg_id) {
|
|
291
|
-
const val2 = +ignore_window;
|
|
292
|
-
const val3 = +(isLikeNone(msg_id) ? Number.MAX_SAFE_INTEGER : (msg_id) >>> 0);
|
|
293
|
-
const ptr0 = passStringToWasm0(download_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
294
|
-
const len0 = WASM_VECTOR_LEN;
|
|
295
|
-
wasm.channel_send_download_resume(this.__wbg_ptr, ptr0, len0, val2, val3);
|
|
296
|
-
}
|
|
297
|
-
/**
|
|
298
|
-
* @param {string} download_id
|
|
299
|
-
* @param {boolean} in_order
|
|
300
|
-
* @param {number | null} [msg_id]
|
|
301
|
-
*/
|
|
302
|
-
send_download_set_order(download_id, in_order, msg_id) {
|
|
303
|
-
const val2 = +in_order;
|
|
304
|
-
const val3 = +(isLikeNone(msg_id) ? Number.MAX_SAFE_INTEGER : (msg_id) >>> 0);
|
|
305
|
-
const ptr0 = passStringToWasm0(download_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
306
|
-
const len0 = WASM_VECTOR_LEN;
|
|
307
|
-
wasm.channel_send_download_set_order(this.__wbg_ptr, ptr0, len0, val2, val3);
|
|
308
|
-
}
|
|
309
|
-
/**
|
|
310
|
-
* @param {string} node_id
|
|
311
|
-
* @param {number | null} [msg_id]
|
|
312
|
-
*/
|
|
313
|
-
send_download_settings_get(node_id, msg_id) {
|
|
314
|
-
const val2 = +(isLikeNone(msg_id) ? Number.MAX_SAFE_INTEGER : (msg_id) >>> 0);
|
|
315
|
-
const ptr0 = passStringToWasm0(node_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
316
|
-
const len0 = WASM_VECTOR_LEN;
|
|
317
|
-
wasm.channel_send_download_settings_get(this.__wbg_ptr, ptr0, len0, val2);
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* @param {string} node_id
|
|
321
|
-
* @param {any} settings
|
|
322
|
-
* @param {number | null} [msg_id]
|
|
323
|
-
*/
|
|
324
|
-
send_download_settings_save(node_id, settings, msg_id) {
|
|
325
|
-
const val2 = +(isLikeNone(msg_id) ? Number.MAX_SAFE_INTEGER : (msg_id) >>> 0);
|
|
326
|
-
const ptr0 = passStringToWasm0(node_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
327
|
-
const len0 = WASM_VECTOR_LEN;
|
|
328
|
-
wasm.channel_send_download_settings_save(this.__wbg_ptr, ptr0, len0, settings, val2);
|
|
329
|
-
}
|
|
330
|
-
/**
|
|
331
|
-
* @param {string} node_id
|
|
332
|
-
* @param {any} source
|
|
333
|
-
* @param {string | null | undefined} sub_dir
|
|
334
|
-
* @param {any} browsing
|
|
335
|
-
* @param {boolean | null | undefined} in_order
|
|
336
|
-
* @param {any} options
|
|
337
|
-
* @param {number | null} [msg_id]
|
|
338
|
-
*/
|
|
339
|
-
send_download_start(node_id, source, sub_dir, browsing, in_order, options, msg_id) {
|
|
340
|
-
const val3 = +(isLikeNone(msg_id) ? Number.MAX_SAFE_INTEGER : (msg_id) >>> 0);
|
|
341
|
-
let ptr0, len0, ptr1, len1;
|
|
342
|
-
try {
|
|
343
|
-
ptr0 = passStringToWasm0(node_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
344
|
-
len0 = WASM_VECTOR_LEN;
|
|
345
|
-
ptr1 = isLikeNone(sub_dir) ? 0 : passStringToWasm0(sub_dir, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
346
|
-
len1 = WASM_VECTOR_LEN;
|
|
347
|
-
} catch (e) {
|
|
348
|
-
if (ptr1) { wasm.__wbindgen_export3(ptr1, len1 * 1, 1); }
|
|
349
|
-
if (ptr0) { wasm.__wbindgen_export3(ptr0, len0 * 1, 1); }
|
|
350
|
-
throw e;
|
|
351
|
-
}
|
|
352
|
-
wasm.channel_send_download_start(this.__wbg_ptr, ptr0, len0, source, ptr1, len1, browsing, isLikeNone(in_order) ? 0xFFFFFF : in_order ? 1 : 0, options, val3);
|
|
353
|
-
}
|
|
354
|
-
/**
|
|
355
|
-
* @param {string} download_id
|
|
356
|
-
* @param {boolean} discard
|
|
357
|
-
* @param {number | null} [msg_id]
|
|
358
|
-
*/
|
|
359
|
-
send_download_stop(download_id, discard, msg_id) {
|
|
360
|
-
const val2 = +discard;
|
|
361
|
-
const val3 = +(isLikeNone(msg_id) ? Number.MAX_SAFE_INTEGER : (msg_id) >>> 0);
|
|
362
|
-
const ptr0 = passStringToWasm0(download_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
363
|
-
const len0 = WASM_VECTOR_LEN;
|
|
364
|
-
wasm.channel_send_download_stop(this.__wbg_ptr, ptr0, len0, val2, val3);
|
|
365
|
-
}
|
|
366
|
-
/**
|
|
367
|
-
* `{ Node: "<uuid>" }` or `"All"`.
|
|
368
|
-
* @param {any} scope
|
|
369
|
-
*/
|
|
370
|
-
send_download_subscribe(scope) {
|
|
371
|
-
wasm.channel_send_download_subscribe(this.__wbg_ptr, scope);
|
|
372
|
-
}
|
|
373
|
-
/**
|
|
374
|
-
* @param {string} node_id
|
|
375
|
-
* @param {any} browsing
|
|
376
|
-
* @param {number | null} [msg_id]
|
|
377
|
-
*/
|
|
378
|
-
send_download_where(node_id, browsing, msg_id) {
|
|
379
|
-
const val2 = +(isLikeNone(msg_id) ? Number.MAX_SAFE_INTEGER : (msg_id) >>> 0);
|
|
380
|
-
const ptr0 = passStringToWasm0(node_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
381
|
-
const len0 = WASM_VECTOR_LEN;
|
|
382
|
-
wasm.channel_send_download_where(this.__wbg_ptr, ptr0, len0, browsing, val2);
|
|
383
|
-
}
|
|
384
273
|
/**
|
|
385
274
|
* Set permission bits. The agent masks these to `0o7777`.
|
|
386
275
|
* @param {string} node_id
|
|
@@ -536,31 +425,6 @@ export class Channel {
|
|
|
536
425
|
}
|
|
537
426
|
wasm.channel_send_sftp_mkdir(this.__wbg_ptr, ptr0, len0, val3, ptr1, len1, val4);
|
|
538
427
|
}
|
|
539
|
-
/**
|
|
540
|
-
* Ask the node to let a player read `path` through this SFTP session.
|
|
541
|
-
* Answered with `SFTPOpResult::Stream { token, size, mime }`; the player
|
|
542
|
-
* then reads `/api/web/stream/{node_id}/t/{token}`.
|
|
543
|
-
* @param {string} node_id
|
|
544
|
-
* @param {number} sid
|
|
545
|
-
* @param {string} path
|
|
546
|
-
* @param {number | null} [msg_id]
|
|
547
|
-
*/
|
|
548
|
-
send_sftp_open_stream(node_id, sid, path, msg_id) {
|
|
549
|
-
const val3 = +sid;
|
|
550
|
-
const val4 = +(isLikeNone(msg_id) ? Number.MAX_SAFE_INTEGER : (msg_id) >>> 0);
|
|
551
|
-
let ptr0, len0, ptr1, len1;
|
|
552
|
-
try {
|
|
553
|
-
ptr0 = passStringToWasm0(node_id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
554
|
-
len0 = WASM_VECTOR_LEN;
|
|
555
|
-
ptr1 = passStringToWasm0(path, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
556
|
-
len1 = WASM_VECTOR_LEN;
|
|
557
|
-
} catch (e) {
|
|
558
|
-
if (ptr1) { wasm.__wbindgen_export3(ptr1, len1 * 1, 1); }
|
|
559
|
-
if (ptr0) { wasm.__wbindgen_export3(ptr0, len0 * 1, 1); }
|
|
560
|
-
throw e;
|
|
561
|
-
}
|
|
562
|
-
wasm.channel_send_sftp_open_stream(this.__wbg_ptr, ptr0, len0, val3, ptr1, len1, val4);
|
|
563
|
-
}
|
|
564
428
|
/**
|
|
565
429
|
* Read a whole file for the in-page editor. Answered with an
|
|
566
430
|
* `SFTPOpResult` carrying `FileContents`, or an `Error` if the file is
|
|
@@ -866,10 +730,6 @@ function __wbg_get_imports() {
|
|
|
866
730
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
867
731
|
return ret;
|
|
868
732
|
},
|
|
869
|
-
__wbg_Number_ff192a72a0dcdf6d: function(arg0) {
|
|
870
|
-
const ret = Number(arg0);
|
|
871
|
-
return ret;
|
|
872
|
-
},
|
|
873
733
|
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
874
734
|
const ret = String(arg1);
|
|
875
735
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -877,17 +737,6 @@ function __wbg_get_imports() {
|
|
|
877
737
|
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
|
|
878
738
|
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
|
|
879
739
|
},
|
|
880
|
-
__wbg___wbindgen_bigint_get_as_i64_11da4b52cd0aedef: function(arg0, arg1) {
|
|
881
|
-
const v = arg1;
|
|
882
|
-
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
883
|
-
getDataViewMemory0().setBigInt64((arg0 >>> 0) + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
884
|
-
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, !isLikeNone(ret), true);
|
|
885
|
-
},
|
|
886
|
-
__wbg___wbindgen_boolean_get_4f1baf9a00be3c74: function(arg0) {
|
|
887
|
-
const v = arg0;
|
|
888
|
-
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
889
|
-
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
890
|
-
},
|
|
891
740
|
__wbg___wbindgen_debug_string_f249a2a76caa9a55: function(arg0, arg1) {
|
|
892
741
|
const ret = debugString(arg1);
|
|
893
742
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -895,49 +744,6 @@ function __wbg_get_imports() {
|
|
|
895
744
|
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
|
|
896
745
|
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
|
|
897
746
|
},
|
|
898
|
-
__wbg___wbindgen_in_3f58a9d3b3a7eed2: function(arg0, arg1) {
|
|
899
|
-
const ret = arg0 in arg1;
|
|
900
|
-
return ret;
|
|
901
|
-
},
|
|
902
|
-
__wbg___wbindgen_is_bigint_5fa10641e039d3ef: function(arg0) {
|
|
903
|
-
const ret = typeof(arg0) === 'bigint';
|
|
904
|
-
return ret;
|
|
905
|
-
},
|
|
906
|
-
__wbg___wbindgen_is_function_741ff2bb612836f5: function(arg0) {
|
|
907
|
-
const ret = typeof(arg0) === 'function';
|
|
908
|
-
return ret;
|
|
909
|
-
},
|
|
910
|
-
__wbg___wbindgen_is_null_c22311b1cc228e3a: function(arg0) {
|
|
911
|
-
const ret = arg0 === null;
|
|
912
|
-
return ret;
|
|
913
|
-
},
|
|
914
|
-
__wbg___wbindgen_is_object_8b968c3ab8e96595: function(arg0) {
|
|
915
|
-
const val = arg0;
|
|
916
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
917
|
-
return ret;
|
|
918
|
-
},
|
|
919
|
-
__wbg___wbindgen_is_string_fc456fee5d3317de: function(arg0) {
|
|
920
|
-
const ret = typeof(arg0) === 'string';
|
|
921
|
-
return ret;
|
|
922
|
-
},
|
|
923
|
-
__wbg___wbindgen_is_undefined_be5b34249ff1fc15: function(arg0) {
|
|
924
|
-
const ret = arg0 === undefined;
|
|
925
|
-
return ret;
|
|
926
|
-
},
|
|
927
|
-
__wbg___wbindgen_jsval_eq_38d7bfbe4cc84039: function(arg0, arg1) {
|
|
928
|
-
const ret = arg0 === arg1;
|
|
929
|
-
return ret;
|
|
930
|
-
},
|
|
931
|
-
__wbg___wbindgen_jsval_loose_eq_b2f214e2e4b30e36: function(arg0, arg1) {
|
|
932
|
-
const ret = arg0 == arg1;
|
|
933
|
-
return ret;
|
|
934
|
-
},
|
|
935
|
-
__wbg___wbindgen_number_get_934b640d0889af78: function(arg0, arg1) {
|
|
936
|
-
const obj = arg1;
|
|
937
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
938
|
-
getDataViewMemory0().setFloat64((arg0 >>> 0) + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
939
|
-
getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, !isLikeNone(ret), true);
|
|
940
|
-
},
|
|
941
747
|
__wbg___wbindgen_string_get_7ce8eee7fd327545: function(arg0, arg1) {
|
|
942
748
|
const obj = arg1;
|
|
943
749
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
@@ -975,14 +781,6 @@ function __wbg_get_imports() {
|
|
|
975
781
|
const ret = arg0.data;
|
|
976
782
|
return ret;
|
|
977
783
|
},
|
|
978
|
-
__wbg_done_57e08d0be6e30c02: function(arg0) {
|
|
979
|
-
const ret = arg0.done;
|
|
980
|
-
return ret;
|
|
981
|
-
},
|
|
982
|
-
__wbg_entries_7bb1459bd9b5c2b9: function(arg0) {
|
|
983
|
-
const ret = Object.entries(arg0);
|
|
984
|
-
return ret;
|
|
985
|
-
},
|
|
986
784
|
__wbg_from_eac91875c8a5ffa4: function(arg0) {
|
|
987
785
|
const ret = Array.from(arg0);
|
|
988
786
|
return ret;
|
|
@@ -994,23 +792,7 @@ function __wbg_get_imports() {
|
|
|
994
792
|
const ret = Reflect.get(arg0, arg1);
|
|
995
793
|
return ret;
|
|
996
794
|
}, arguments); },
|
|
997
|
-
|
|
998
|
-
const ret = Reflect.get(arg0, arg1);
|
|
999
|
-
return ret;
|
|
1000
|
-
}, arguments); },
|
|
1001
|
-
__wbg_get_d7176cfb76d71114: function(arg0, arg1) {
|
|
1002
|
-
const ret = arg0[arg1 >>> 0];
|
|
1003
|
-
return ret;
|
|
1004
|
-
},
|
|
1005
|
-
__wbg_get_unchecked_e6325ad374eff861: function(arg0, arg1) {
|
|
1006
|
-
const ret = arg0[arg1 >>> 0];
|
|
1007
|
-
return ret;
|
|
1008
|
-
},
|
|
1009
|
-
__wbg_get_with_ref_key_fc601247060b7204: function(arg0, arg1) {
|
|
1010
|
-
const ret = arg0[arg1];
|
|
1011
|
-
return ret;
|
|
1012
|
-
},
|
|
1013
|
-
__wbg_info_386f00b314475db5: function(arg0, arg1) {
|
|
795
|
+
__wbg_info_78ac71b951cadff2: function(arg0, arg1) {
|
|
1014
796
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
1015
797
|
},
|
|
1016
798
|
__wbg_instanceof_ArrayBuffer_12cdaa4161423e6b: function(arg0) {
|
|
@@ -1023,36 +805,10 @@ function __wbg_get_imports() {
|
|
|
1023
805
|
const ret = result;
|
|
1024
806
|
return ret;
|
|
1025
807
|
},
|
|
1026
|
-
__wbg_instanceof_Uint8Array_d7aeb0dcb3108fea: function(arg0) {
|
|
1027
|
-
let result;
|
|
1028
|
-
try {
|
|
1029
|
-
result = arg0 instanceof Uint8Array;
|
|
1030
|
-
} catch (_) {
|
|
1031
|
-
result = false;
|
|
1032
|
-
}
|
|
1033
|
-
const ret = result;
|
|
1034
|
-
return ret;
|
|
1035
|
-
},
|
|
1036
|
-
__wbg_isArray_bcf1376d0d732d08: function(arg0) {
|
|
1037
|
-
const ret = Array.isArray(arg0);
|
|
1038
|
-
return ret;
|
|
1039
|
-
},
|
|
1040
|
-
__wbg_isSafeInteger_1a35ba4d31e71d38: function(arg0) {
|
|
1041
|
-
const ret = Number.isSafeInteger(arg0);
|
|
1042
|
-
return ret;
|
|
1043
|
-
},
|
|
1044
|
-
__wbg_iterator_e4c5e8f68ada7b58: function() {
|
|
1045
|
-
const ret = Symbol.iterator;
|
|
1046
|
-
return ret;
|
|
1047
|
-
},
|
|
1048
808
|
__wbg_length_186163212ffe79c3: function(arg0) {
|
|
1049
809
|
const ret = arg0.length;
|
|
1050
810
|
return ret;
|
|
1051
811
|
},
|
|
1052
|
-
__wbg_length_b03a0fabb109b1e9: function(arg0) {
|
|
1053
|
-
const ret = arg0.length;
|
|
1054
|
-
return ret;
|
|
1055
|
-
},
|
|
1056
812
|
__wbg_new_13de428334042d26: function(arg0) {
|
|
1057
813
|
const ret = new Uint8Array(arg0);
|
|
1058
814
|
return ret;
|
|
@@ -1069,14 +825,6 @@ function __wbg_get_imports() {
|
|
|
1069
825
|
const ret = new WebSocket(getStringFromWasm0(arg0, arg1), arg2);
|
|
1070
826
|
return ret;
|
|
1071
827
|
}, arguments); },
|
|
1072
|
-
__wbg_next_178c1651c11432b3: function(arg0) {
|
|
1073
|
-
const ret = arg0.next;
|
|
1074
|
-
return ret;
|
|
1075
|
-
},
|
|
1076
|
-
__wbg_next_af5ac6a08bb0a717: function() { return handleError(function (arg0) {
|
|
1077
|
-
const ret = arg0.next();
|
|
1078
|
-
return ret;
|
|
1079
|
-
}, arguments); },
|
|
1080
828
|
__wbg_prototypesetcall_13162965d1fe7aa3: function(arg0, arg1, arg2) {
|
|
1081
829
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1082
830
|
},
|
|
@@ -1116,31 +864,27 @@ function __wbg_get_imports() {
|
|
|
1116
864
|
__wbg_set_onopen_757be120cc7b1ea6: function(arg0, arg1) {
|
|
1117
865
|
arg0.onopen = arg1;
|
|
1118
866
|
},
|
|
1119
|
-
|
|
1120
|
-
const ret = arg0.value;
|
|
1121
|
-
return ret;
|
|
1122
|
-
},
|
|
1123
|
-
__wbg_warn_4f0851b2fd19b28b: function(arg0, arg1) {
|
|
867
|
+
__wbg_warn_e7d9e5b57902730d: function(arg0, arg1) {
|
|
1124
868
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
1125
869
|
},
|
|
1126
870
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
1127
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx:
|
|
1128
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
871
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
872
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_63);
|
|
1129
873
|
return ret;
|
|
1130
874
|
},
|
|
1131
875
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
1132
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx:
|
|
1133
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
876
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
877
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_63_37);
|
|
1134
878
|
return ret;
|
|
1135
879
|
},
|
|
1136
880
|
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
1137
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx:
|
|
1138
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
881
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
882
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_63_38);
|
|
1139
883
|
return ret;
|
|
1140
884
|
},
|
|
1141
885
|
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
|
|
1142
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1143
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
886
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 5, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
887
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_67);
|
|
1144
888
|
return ret;
|
|
1145
889
|
},
|
|
1146
890
|
__wbindgen_generic_0000000000000005: function(arg0) {
|
|
@@ -1178,20 +922,20 @@ function __wbg_get_imports() {
|
|
|
1178
922
|
};
|
|
1179
923
|
}
|
|
1180
924
|
|
|
1181
|
-
function
|
|
1182
|
-
wasm.
|
|
925
|
+
function __wasm_bindgen_func_elem_67(arg0, arg1) {
|
|
926
|
+
wasm.__wasm_bindgen_func_elem_67(arg0, arg1);
|
|
1183
927
|
}
|
|
1184
928
|
|
|
1185
|
-
function
|
|
1186
|
-
wasm.
|
|
929
|
+
function __wasm_bindgen_func_elem_63(arg0, arg1, arg2) {
|
|
930
|
+
wasm.__wasm_bindgen_func_elem_63(arg0, arg1, arg2);
|
|
1187
931
|
}
|
|
1188
932
|
|
|
1189
|
-
function
|
|
1190
|
-
wasm.
|
|
933
|
+
function __wasm_bindgen_func_elem_63_37(arg0, arg1, arg2) {
|
|
934
|
+
wasm.__wasm_bindgen_func_elem_63_37(arg0, arg1, arg2);
|
|
1191
935
|
}
|
|
1192
936
|
|
|
1193
|
-
function
|
|
1194
|
-
wasm.
|
|
937
|
+
function __wasm_bindgen_func_elem_63_38(arg0, arg1, arg2) {
|
|
938
|
+
wasm.__wasm_bindgen_func_elem_63_38(arg0, arg1, arg2);
|
|
1195
939
|
}
|
|
1196
940
|
|
|
1197
941
|
|
|
Binary file
|