phirepass-channel 0.1.283 → 0.1.285
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 +1 -1
- package/phirepass-channel.js +41 -41
- package/phirepass-channel_bg.wasm +0 -0
package/package.json
CHANGED
package/phirepass-channel.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export interface InitOutput {
|
|
|
91
91
|
readonly __wasm_bindgen_func_elem_42: (a: number, b: number, c: number) => void;
|
|
92
92
|
readonly __wasm_bindgen_func_elem_42_1: (a: number, b: number, c: number) => void;
|
|
93
93
|
readonly __wasm_bindgen_func_elem_42_2: (a: number, b: number, c: number) => void;
|
|
94
|
-
readonly
|
|
94
|
+
readonly __wasm_bindgen_func_elem_44: (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
|
@@ -395,7 +395,7 @@ export function version() {
|
|
|
395
395
|
function __wbg_get_imports() {
|
|
396
396
|
const import0 = {
|
|
397
397
|
__proto__: null,
|
|
398
|
-
|
|
398
|
+
__wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
|
|
399
399
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
400
400
|
return addHeapObject(ret);
|
|
401
401
|
},
|
|
@@ -406,14 +406,14 @@ function __wbg_get_imports() {
|
|
|
406
406
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
407
407
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
408
408
|
},
|
|
409
|
-
|
|
409
|
+
__wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
|
|
410
410
|
const ret = debugString(getObject(arg1));
|
|
411
411
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
412
412
|
const len1 = WASM_VECTOR_LEN;
|
|
413
413
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
414
414
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
415
415
|
},
|
|
416
|
-
|
|
416
|
+
__wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
|
|
417
417
|
const obj = getObject(arg1);
|
|
418
418
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
419
419
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -421,47 +421,47 @@ function __wbg_get_imports() {
|
|
|
421
421
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
422
422
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
423
423
|
},
|
|
424
|
-
|
|
424
|
+
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
425
425
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
426
426
|
},
|
|
427
|
-
|
|
427
|
+
__wbg__wbg_cb_unref_fffb441def202758: function(arg0) {
|
|
428
428
|
getObject(arg0)._wbg_cb_unref();
|
|
429
429
|
},
|
|
430
|
-
|
|
431
|
-
const ret = getObject(arg0).call(getObject(arg1)
|
|
430
|
+
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
431
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
432
432
|
return addHeapObject(ret);
|
|
433
433
|
}, arguments); },
|
|
434
|
-
|
|
434
|
+
__wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
|
|
435
435
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
436
436
|
return addHeapObject(ret);
|
|
437
437
|
}, arguments); },
|
|
438
|
-
|
|
439
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
438
|
+
__wbg_call_e3b662382210db98: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
439
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3));
|
|
440
440
|
return addHeapObject(ret);
|
|
441
441
|
}, arguments); },
|
|
442
442
|
__wbg_clearInterval_26ba580547547579: function(arg0) {
|
|
443
443
|
const ret = clearInterval(takeObject(arg0));
|
|
444
444
|
return addHeapObject(ret);
|
|
445
445
|
},
|
|
446
|
-
|
|
446
|
+
__wbg_close_c65ca0257e895318: function() { return handleError(function (arg0) {
|
|
447
447
|
getObject(arg0).close();
|
|
448
448
|
}, arguments); },
|
|
449
|
-
|
|
449
|
+
__wbg_data_328de4280640da92: function(arg0) {
|
|
450
450
|
const ret = getObject(arg0).data;
|
|
451
451
|
return addHeapObject(ret);
|
|
452
452
|
},
|
|
453
|
-
|
|
453
|
+
__wbg_from_13e323c65fc8f464: function(arg0) {
|
|
454
454
|
const ret = Array.from(getObject(arg0));
|
|
455
455
|
return addHeapObject(ret);
|
|
456
456
|
},
|
|
457
|
-
|
|
457
|
+
__wbg_get_78f252d074a84d0b: function() { return handleError(function (arg0, arg1) {
|
|
458
458
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
459
459
|
return addHeapObject(ret);
|
|
460
460
|
}, arguments); },
|
|
461
|
-
|
|
461
|
+
__wbg_info_c2d6c55535221e82: function(arg0, arg1) {
|
|
462
462
|
console.info(getStringFromWasm0(arg0, arg1));
|
|
463
463
|
},
|
|
464
|
-
|
|
464
|
+
__wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
|
|
465
465
|
let result;
|
|
466
466
|
try {
|
|
467
467
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -471,38 +471,38 @@ function __wbg_get_imports() {
|
|
|
471
471
|
const ret = result;
|
|
472
472
|
return ret;
|
|
473
473
|
},
|
|
474
|
-
|
|
474
|
+
__wbg_length_1f0964f4a5e2c6d8: function(arg0) {
|
|
475
475
|
const ret = getObject(arg0).length;
|
|
476
476
|
return ret;
|
|
477
477
|
},
|
|
478
|
-
|
|
479
|
-
const ret = new Object();
|
|
480
|
-
return addHeapObject(ret);
|
|
481
|
-
},
|
|
482
|
-
__wbg_new_36e147a8ced3c6e0: function() {
|
|
478
|
+
__wbg_new_32b398fb48b6d94a: function() {
|
|
483
479
|
const ret = new Array();
|
|
484
480
|
return addHeapObject(ret);
|
|
485
481
|
},
|
|
486
|
-
|
|
482
|
+
__wbg_new_cd45aabdf6073e84: function(arg0) {
|
|
487
483
|
const ret = new Uint8Array(getObject(arg0));
|
|
488
484
|
return addHeapObject(ret);
|
|
489
485
|
},
|
|
490
|
-
|
|
486
|
+
__wbg_new_da52cf8fe3429cb2: function() {
|
|
487
|
+
const ret = new Object();
|
|
488
|
+
return addHeapObject(ret);
|
|
489
|
+
},
|
|
490
|
+
__wbg_new_with_str_sequence_2de2f569c29910ad: function() { return handleError(function (arg0, arg1, arg2) {
|
|
491
491
|
const ret = new WebSocket(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
492
492
|
return addHeapObject(ret);
|
|
493
493
|
}, arguments); },
|
|
494
|
-
|
|
494
|
+
__wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
|
|
495
495
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
496
496
|
},
|
|
497
|
-
|
|
497
|
+
__wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
|
|
498
498
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
499
499
|
return ret;
|
|
500
500
|
},
|
|
501
|
-
|
|
501
|
+
__wbg_readyState_50bc38c2a9e83db6: function(arg0) {
|
|
502
502
|
const ret = getObject(arg0).readyState;
|
|
503
503
|
return ret;
|
|
504
504
|
},
|
|
505
|
-
|
|
505
|
+
__wbg_send_a321b376d40ec867: function() { return handleError(function (arg0, arg1, arg2) {
|
|
506
506
|
getObject(arg0).send(getArrayU8FromWasm0(arg1, arg2));
|
|
507
507
|
}, arguments); },
|
|
508
508
|
__wbg_setInterval_cbf1c35c6a692d37: function() { return handleError(function (arg0, arg1) {
|
|
@@ -512,25 +512,25 @@ function __wbg_get_imports() {
|
|
|
512
512
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
513
513
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
514
514
|
},
|
|
515
|
-
|
|
516
|
-
getObject(arg0).binaryType = __wbindgen_enum_BinaryType[arg1];
|
|
517
|
-
},
|
|
518
|
-
__wbg_set_dc601f4a69da0bc2: function(arg0, arg1, arg2) {
|
|
515
|
+
__wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
|
|
519
516
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
520
517
|
},
|
|
521
|
-
|
|
518
|
+
__wbg_set_binaryType_a37b086c78ca7c29: function(arg0, arg1) {
|
|
519
|
+
getObject(arg0).binaryType = __wbindgen_enum_BinaryType[arg1];
|
|
520
|
+
},
|
|
521
|
+
__wbg_set_onclose_f706475385ecce07: function(arg0, arg1) {
|
|
522
522
|
getObject(arg0).onclose = getObject(arg1);
|
|
523
523
|
},
|
|
524
|
-
|
|
524
|
+
__wbg_set_onerror_9f5773fd31512333: function(arg0, arg1) {
|
|
525
525
|
getObject(arg0).onerror = getObject(arg1);
|
|
526
526
|
},
|
|
527
|
-
|
|
527
|
+
__wbg_set_onmessage_836d2f72130b4706: function(arg0, arg1) {
|
|
528
528
|
getObject(arg0).onmessage = getObject(arg1);
|
|
529
529
|
},
|
|
530
|
-
|
|
530
|
+
__wbg_set_onopen_4f65470ae522a61a: function(arg0, arg1) {
|
|
531
531
|
getObject(arg0).onopen = getObject(arg1);
|
|
532
532
|
},
|
|
533
|
-
|
|
533
|
+
__wbg_warn_d85ae2c3ba067f1b: function(arg0, arg1) {
|
|
534
534
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
535
535
|
},
|
|
536
536
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
@@ -549,8 +549,8 @@ function __wbg_get_imports() {
|
|
|
549
549
|
return addHeapObject(ret);
|
|
550
550
|
},
|
|
551
551
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
552
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
553
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
552
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
553
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_44);
|
|
554
554
|
return addHeapObject(ret);
|
|
555
555
|
},
|
|
556
556
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -587,8 +587,8 @@ function __wbg_get_imports() {
|
|
|
587
587
|
};
|
|
588
588
|
}
|
|
589
589
|
|
|
590
|
-
function
|
|
591
|
-
wasm.
|
|
590
|
+
function __wasm_bindgen_func_elem_44(arg0, arg1) {
|
|
591
|
+
wasm.__wasm_bindgen_func_elem_44(arg0, arg1);
|
|
592
592
|
}
|
|
593
593
|
|
|
594
594
|
function __wasm_bindgen_func_elem_42(arg0, arg1, arg2) {
|
|
Binary file
|