phirepass-channel 0.1.239 → 0.1.240
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 +18 -18
- package/phirepass-channel_bg.wasm +0 -0
package/package.json
CHANGED
package/phirepass-channel.d.ts
CHANGED
|
@@ -77,10 +77,10 @@ export interface InitOutput {
|
|
|
77
77
|
readonly channel_start_heartbeat: (a: number, b: number) => void;
|
|
78
78
|
readonly channel_stop_heartbeat: (a: number) => void;
|
|
79
79
|
readonly version: (a: number) => void;
|
|
80
|
-
readonly
|
|
81
|
-
readonly
|
|
82
|
-
readonly
|
|
83
|
-
readonly
|
|
80
|
+
readonly __wasm_bindgen_func_elem_42: (a: number, b: number, c: number) => void;
|
|
81
|
+
readonly __wasm_bindgen_func_elem_42_1: (a: number, b: number, c: number) => void;
|
|
82
|
+
readonly __wasm_bindgen_func_elem_42_2: (a: number, b: number, c: number) => void;
|
|
83
|
+
readonly __wasm_bindgen_func_elem_40: (a: number, b: number) => void;
|
|
84
84
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
85
85
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
86
86
|
readonly __wbindgen_export3: (a: number) => void;
|
package/phirepass-channel.js
CHANGED
|
@@ -388,7 +388,7 @@ function __wbg_get_imports() {
|
|
|
388
388
|
const ret = Array.from(getObject(arg0));
|
|
389
389
|
return addHeapObject(ret);
|
|
390
390
|
},
|
|
391
|
-
|
|
391
|
+
__wbg_info_8e9260b2f4e84021: function(arg0, arg1) {
|
|
392
392
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
393
393
|
},
|
|
394
394
|
__wbg_instanceof_ArrayBuffer_53db37b06f6b9afe: function(arg0) {
|
|
@@ -460,27 +460,27 @@ function __wbg_get_imports() {
|
|
|
460
460
|
__wbg_set_onopen_6f3fc5e2ad3144f1: function(arg0, arg1) {
|
|
461
461
|
getObject(arg0).onopen = getObject(arg1);
|
|
462
462
|
},
|
|
463
|
-
|
|
463
|
+
__wbg_warn_c05378286ffa64b8: function(arg0, arg1) {
|
|
464
464
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
465
465
|
},
|
|
466
466
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
467
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx:
|
|
468
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
467
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
468
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_42);
|
|
469
469
|
return addHeapObject(ret);
|
|
470
470
|
},
|
|
471
471
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
472
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx:
|
|
473
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
472
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
473
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_42_1);
|
|
474
474
|
return addHeapObject(ret);
|
|
475
475
|
},
|
|
476
476
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
477
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx:
|
|
478
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
477
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
478
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_42_2);
|
|
479
479
|
return addHeapObject(ret);
|
|
480
480
|
},
|
|
481
481
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
482
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
483
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
482
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
483
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_40);
|
|
484
484
|
return addHeapObject(ret);
|
|
485
485
|
},
|
|
486
486
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -517,20 +517,20 @@ function __wbg_get_imports() {
|
|
|
517
517
|
};
|
|
518
518
|
}
|
|
519
519
|
|
|
520
|
-
function
|
|
521
|
-
wasm.
|
|
520
|
+
function __wasm_bindgen_func_elem_40(arg0, arg1) {
|
|
521
|
+
wasm.__wasm_bindgen_func_elem_40(arg0, arg1);
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
function
|
|
525
|
-
wasm.
|
|
524
|
+
function __wasm_bindgen_func_elem_42(arg0, arg1, arg2) {
|
|
525
|
+
wasm.__wasm_bindgen_func_elem_42(arg0, arg1, addHeapObject(arg2));
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
-
function
|
|
529
|
-
wasm.
|
|
528
|
+
function __wasm_bindgen_func_elem_42_1(arg0, arg1, arg2) {
|
|
529
|
+
wasm.__wasm_bindgen_func_elem_42_1(arg0, arg1, addHeapObject(arg2));
|
|
530
530
|
}
|
|
531
531
|
|
|
532
|
-
function
|
|
533
|
-
wasm.
|
|
532
|
+
function __wasm_bindgen_func_elem_42_2(arg0, arg1, arg2) {
|
|
533
|
+
wasm.__wasm_bindgen_func_elem_42_2(arg0, arg1, addHeapObject(arg2));
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
|
|
Binary file
|