phirepass-channel 0.1.279 → 0.1.280
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 +15 -18
- package/phirepass-channel_bg.wasm +0 -0
package/package.json
CHANGED
package/phirepass-channel.d.ts
CHANGED
|
@@ -88,10 +88,10 @@ export interface InitOutput {
|
|
|
88
88
|
readonly channel_stop_heartbeat: (a: number) => void;
|
|
89
89
|
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, t: number, u: number) => void;
|
|
90
90
|
readonly version: (a: number) => void;
|
|
91
|
-
readonly
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
94
|
-
readonly
|
|
91
|
+
readonly __wasm_bindgen_func_elem_42: (a: number, b: number, c: number) => void;
|
|
92
|
+
readonly __wasm_bindgen_func_elem_42_1: (a: number, b: number, c: number) => void;
|
|
93
|
+
readonly __wasm_bindgen_func_elem_42_2: (a: number, b: number, c: number) => void;
|
|
94
|
+
readonly __wasm_bindgen_func_elem_46: (a: number, b: number) => void;
|
|
95
95
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
96
96
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
97
97
|
readonly __wbindgen_export3: (a: number) => void;
|
package/phirepass-channel.js
CHANGED
|
@@ -448,14 +448,11 @@ function __wbg_get_imports() {
|
|
|
448
448
|
const ret = Array.from(getObject(arg0));
|
|
449
449
|
return addHeapObject(ret);
|
|
450
450
|
},
|
|
451
|
-
__wbg_getRandomValues_a697888e9ba1eee3: function() { return handleError(function (arg0, arg1) {
|
|
452
|
-
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
453
|
-
}, arguments); },
|
|
454
451
|
__wbg_get_dddb90ff5d27a080: function() { return handleError(function (arg0, arg1) {
|
|
455
452
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
456
453
|
return addHeapObject(ret);
|
|
457
454
|
}, arguments); },
|
|
458
|
-
|
|
455
|
+
__wbg_info_2f2b0f083e705d41: function(arg0, arg1) {
|
|
459
456
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
460
457
|
},
|
|
461
458
|
__wbg_instanceof_ArrayBuffer_2a7bb09fee70c2da: function(arg0) {
|
|
@@ -527,27 +524,27 @@ function __wbg_get_imports() {
|
|
|
527
524
|
__wbg_set_onopen_ca8d311fe5282041: function(arg0, arg1) {
|
|
528
525
|
getObject(arg0).onopen = getObject(arg1);
|
|
529
526
|
},
|
|
530
|
-
|
|
527
|
+
__wbg_warn_7b140f9c52075c0d: function(arg0, arg1) {
|
|
531
528
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
532
529
|
},
|
|
533
530
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
534
531
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
535
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
532
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_42);
|
|
536
533
|
return addHeapObject(ret);
|
|
537
534
|
},
|
|
538
535
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
539
536
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
540
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
537
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_42_1);
|
|
541
538
|
return addHeapObject(ret);
|
|
542
539
|
},
|
|
543
540
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
544
541
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
545
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
542
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_42_2);
|
|
546
543
|
return addHeapObject(ret);
|
|
547
544
|
},
|
|
548
545
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
549
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
550
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
546
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 5, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
547
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_46);
|
|
551
548
|
return addHeapObject(ret);
|
|
552
549
|
},
|
|
553
550
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -584,20 +581,20 @@ function __wbg_get_imports() {
|
|
|
584
581
|
};
|
|
585
582
|
}
|
|
586
583
|
|
|
587
|
-
function
|
|
588
|
-
wasm.
|
|
584
|
+
function __wasm_bindgen_func_elem_46(arg0, arg1) {
|
|
585
|
+
wasm.__wasm_bindgen_func_elem_46(arg0, arg1);
|
|
589
586
|
}
|
|
590
587
|
|
|
591
|
-
function
|
|
592
|
-
wasm.
|
|
588
|
+
function __wasm_bindgen_func_elem_42(arg0, arg1, arg2) {
|
|
589
|
+
wasm.__wasm_bindgen_func_elem_42(arg0, arg1, addHeapObject(arg2));
|
|
593
590
|
}
|
|
594
591
|
|
|
595
|
-
function
|
|
596
|
-
wasm.
|
|
592
|
+
function __wasm_bindgen_func_elem_42_1(arg0, arg1, arg2) {
|
|
593
|
+
wasm.__wasm_bindgen_func_elem_42_1(arg0, arg1, addHeapObject(arg2));
|
|
597
594
|
}
|
|
598
595
|
|
|
599
|
-
function
|
|
600
|
-
wasm.
|
|
596
|
+
function __wasm_bindgen_func_elem_42_2(arg0, arg1, arg2) {
|
|
597
|
+
wasm.__wasm_bindgen_func_elem_42_2(arg0, arg1, addHeapObject(arg2));
|
|
601
598
|
}
|
|
602
599
|
|
|
603
600
|
|
|
Binary file
|