phirepass-channel 0.1.192 → 0.1.193
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 -4
- package/phirepass-channel.js +20 -16
- package/phirepass-channel_bg.wasm +0 -0
package/package.json
CHANGED
package/phirepass-channel.d.ts
CHANGED
|
@@ -72,10 +72,10 @@ export interface InitOutput {
|
|
|
72
72
|
readonly channel_start_heartbeat: (a: number, b: number) => void;
|
|
73
73
|
readonly channel_stop_heartbeat: (a: number) => void;
|
|
74
74
|
readonly version: (a: number) => void;
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
75
|
+
readonly __wasm_bindgen_func_elem_39: (a: number, b: number, c: number) => void;
|
|
76
|
+
readonly __wasm_bindgen_func_elem_39_1: (a: number, b: number, c: number) => void;
|
|
77
|
+
readonly __wasm_bindgen_func_elem_39_2: (a: number, b: number, c: number) => void;
|
|
78
|
+
readonly __wasm_bindgen_func_elem_43: (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
|
@@ -344,7 +344,7 @@ function __wbg_get_imports() {
|
|
|
344
344
|
const ret = Array.from(getObject(arg0));
|
|
345
345
|
return addHeapObject(ret);
|
|
346
346
|
},
|
|
347
|
-
|
|
347
|
+
__wbg_info_a824d39613a69e2e: function(arg0, arg1) {
|
|
348
348
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
349
349
|
},
|
|
350
350
|
__wbg_instanceof_ArrayBuffer_ff7c1337a5e3b33a: function(arg0) {
|
|
@@ -373,13 +373,17 @@ function __wbg_get_imports() {
|
|
|
373
373
|
const ret = new Array();
|
|
374
374
|
return addHeapObject(ret);
|
|
375
375
|
},
|
|
376
|
-
|
|
377
|
-
const ret = new WebSocket(getStringFromWasm0(arg0, arg1),
|
|
376
|
+
__wbg_new_with_str_sequence_e6b5bb982fdcf253: function() { return handleError(function (arg0, arg1, arg2) {
|
|
377
|
+
const ret = new WebSocket(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
378
378
|
return addHeapObject(ret);
|
|
379
379
|
}, arguments); },
|
|
380
380
|
__wbg_prototypesetcall_3e05eb9545565046: function(arg0, arg1, arg2) {
|
|
381
381
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
382
382
|
},
|
|
383
|
+
__wbg_push_6bdbc990be5ac37b: function(arg0, arg1) {
|
|
384
|
+
const ret = getObject(arg0).push(getObject(arg1));
|
|
385
|
+
return ret;
|
|
386
|
+
},
|
|
383
387
|
__wbg_readyState_631d9f7c37e595d7: function(arg0) {
|
|
384
388
|
const ret = getObject(arg0).readyState;
|
|
385
389
|
return ret;
|
|
@@ -412,27 +416,27 @@ function __wbg_get_imports() {
|
|
|
412
416
|
__wbg_set_onopen_7ffeb01f8a628209: function(arg0, arg1) {
|
|
413
417
|
getObject(arg0).onopen = getObject(arg1);
|
|
414
418
|
},
|
|
415
|
-
|
|
419
|
+
__wbg_warn_a05f18037e80c870: function(arg0, arg1) {
|
|
416
420
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
417
421
|
},
|
|
418
422
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
419
423
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
420
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
424
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_39);
|
|
421
425
|
return addHeapObject(ret);
|
|
422
426
|
},
|
|
423
427
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
424
428
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
425
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
429
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_39_1);
|
|
426
430
|
return addHeapObject(ret);
|
|
427
431
|
},
|
|
428
432
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
429
433
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
430
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
434
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_39_2);
|
|
431
435
|
return addHeapObject(ret);
|
|
432
436
|
},
|
|
433
437
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
434
438
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 5, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
435
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
439
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_43);
|
|
436
440
|
return addHeapObject(ret);
|
|
437
441
|
},
|
|
438
442
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -469,20 +473,20 @@ function __wbg_get_imports() {
|
|
|
469
473
|
};
|
|
470
474
|
}
|
|
471
475
|
|
|
472
|
-
function
|
|
473
|
-
wasm.
|
|
476
|
+
function __wasm_bindgen_func_elem_43(arg0, arg1) {
|
|
477
|
+
wasm.__wasm_bindgen_func_elem_43(arg0, arg1);
|
|
474
478
|
}
|
|
475
479
|
|
|
476
|
-
function
|
|
477
|
-
wasm.
|
|
480
|
+
function __wasm_bindgen_func_elem_39(arg0, arg1, arg2) {
|
|
481
|
+
wasm.__wasm_bindgen_func_elem_39(arg0, arg1, addHeapObject(arg2));
|
|
478
482
|
}
|
|
479
483
|
|
|
480
|
-
function
|
|
481
|
-
wasm.
|
|
484
|
+
function __wasm_bindgen_func_elem_39_1(arg0, arg1, arg2) {
|
|
485
|
+
wasm.__wasm_bindgen_func_elem_39_1(arg0, arg1, addHeapObject(arg2));
|
|
482
486
|
}
|
|
483
487
|
|
|
484
|
-
function
|
|
485
|
-
wasm.
|
|
488
|
+
function __wasm_bindgen_func_elem_39_2(arg0, arg1, arg2) {
|
|
489
|
+
wasm.__wasm_bindgen_func_elem_39_2(arg0, arg1, addHeapObject(arg2));
|
|
486
490
|
}
|
|
487
491
|
|
|
488
492
|
|
|
Binary file
|