phirepass-channel 0.1.190 → 0.1.192
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 +17 -14
- 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_38: (a: number, b: number, c: number) => void;
|
|
76
|
+
readonly __wasm_bindgen_func_elem_38_1: (a: number, b: number, c: number) => void;
|
|
77
|
+
readonly __wasm_bindgen_func_elem_38_2: (a: number, b: number, c: number) => void;
|
|
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
|
@@ -344,6 +344,9 @@ function __wbg_get_imports() {
|
|
|
344
344
|
const ret = Array.from(getObject(arg0));
|
|
345
345
|
return addHeapObject(ret);
|
|
346
346
|
},
|
|
347
|
+
__wbg_info_a52c6d8366fb49c2: function(arg0, arg1) {
|
|
348
|
+
console.info(getStringFromWasm0(arg0, arg1));
|
|
349
|
+
},
|
|
347
350
|
__wbg_instanceof_ArrayBuffer_ff7c1337a5e3b33a: function(arg0) {
|
|
348
351
|
let result;
|
|
349
352
|
try {
|
|
@@ -409,27 +412,27 @@ function __wbg_get_imports() {
|
|
|
409
412
|
__wbg_set_onopen_7ffeb01f8a628209: function(arg0, arg1) {
|
|
410
413
|
getObject(arg0).onopen = getObject(arg1);
|
|
411
414
|
},
|
|
412
|
-
|
|
415
|
+
__wbg_warn_19b8f2420663d61d: function(arg0, arg1) {
|
|
413
416
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
414
417
|
},
|
|
415
418
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
416
419
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
417
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
420
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_38);
|
|
418
421
|
return addHeapObject(ret);
|
|
419
422
|
},
|
|
420
423
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
421
424
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
422
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
425
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_38_1);
|
|
423
426
|
return addHeapObject(ret);
|
|
424
427
|
},
|
|
425
428
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
426
429
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
427
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
430
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_38_2);
|
|
428
431
|
return addHeapObject(ret);
|
|
429
432
|
},
|
|
430
433
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
431
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
432
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
434
|
+
// 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, __wasm_bindgen_func_elem_42);
|
|
433
436
|
return addHeapObject(ret);
|
|
434
437
|
},
|
|
435
438
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -466,20 +469,20 @@ function __wbg_get_imports() {
|
|
|
466
469
|
};
|
|
467
470
|
}
|
|
468
471
|
|
|
469
|
-
function
|
|
470
|
-
wasm.
|
|
472
|
+
function __wasm_bindgen_func_elem_42(arg0, arg1) {
|
|
473
|
+
wasm.__wasm_bindgen_func_elem_42(arg0, arg1);
|
|
471
474
|
}
|
|
472
475
|
|
|
473
|
-
function
|
|
474
|
-
wasm.
|
|
476
|
+
function __wasm_bindgen_func_elem_38(arg0, arg1, arg2) {
|
|
477
|
+
wasm.__wasm_bindgen_func_elem_38(arg0, arg1, addHeapObject(arg2));
|
|
475
478
|
}
|
|
476
479
|
|
|
477
|
-
function
|
|
478
|
-
wasm.
|
|
480
|
+
function __wasm_bindgen_func_elem_38_1(arg0, arg1, arg2) {
|
|
481
|
+
wasm.__wasm_bindgen_func_elem_38_1(arg0, arg1, addHeapObject(arg2));
|
|
479
482
|
}
|
|
480
483
|
|
|
481
|
-
function
|
|
482
|
-
wasm.
|
|
484
|
+
function __wasm_bindgen_func_elem_38_2(arg0, arg1, arg2) {
|
|
485
|
+
wasm.__wasm_bindgen_func_elem_38_2(arg0, arg1, addHeapObject(arg2));
|
|
483
486
|
}
|
|
484
487
|
|
|
485
488
|
|
|
Binary file
|