phirepass-channel 0.1.233 → 0.1.235

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "phirepass-channel",
3
3
  "type": "module",
4
- "version": "0.1.233",
4
+ "version": "0.1.235",
5
5
  "license": "SEE LICENSE IN ../LICENCE",
6
6
  "repository": {
7
7
  "type": "git",
@@ -73,10 +73,10 @@ export interface InitOutput {
73
73
  readonly channel_start_heartbeat: (a: number, b: number) => void;
74
74
  readonly channel_stop_heartbeat: (a: number) => void;
75
75
  readonly version: (a: number) => void;
76
- readonly __wasm_bindgen_func_elem_41: (a: number, b: number, c: number) => void;
77
- readonly __wasm_bindgen_func_elem_41_1: (a: number, b: number, c: number) => void;
78
- readonly __wasm_bindgen_func_elem_41_2: (a: number, b: number, c: number) => void;
79
- readonly __wasm_bindgen_func_elem_39: (a: number, b: number) => void;
76
+ readonly __wasm_bindgen_func_elem_39: (a: number, b: number, c: number) => void;
77
+ readonly __wasm_bindgen_func_elem_39_1: (a: number, b: number, c: number) => void;
78
+ readonly __wasm_bindgen_func_elem_39_2: (a: number, b: number, c: number) => void;
79
+ readonly __wasm_bindgen_func_elem_41: (a: number, b: number) => void;
80
80
  readonly __wbindgen_export: (a: number, b: number) => number;
81
81
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
82
82
  readonly __wbindgen_export3: (a: number) => void;
@@ -289,7 +289,7 @@ export function version() {
289
289
  function __wbg_get_imports() {
290
290
  const import0 = {
291
291
  __proto__: null,
292
- __wbg_Error_3639a60ed15f87e7: function(arg0, arg1) {
292
+ __wbg_Error_bce6d499ff0a4aff: function(arg0, arg1) {
293
293
  const ret = Error(getStringFromWasm0(arg0, arg1));
294
294
  return addHeapObject(ret);
295
295
  },
@@ -300,14 +300,14 @@ function __wbg_get_imports() {
300
300
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
301
301
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
302
302
  },
303
- __wbg___wbindgen_debug_string_07cb72cfcc952e2b: function(arg0, arg1) {
303
+ __wbg___wbindgen_debug_string_edece8177ad01481: function(arg0, arg1) {
304
304
  const ret = debugString(getObject(arg1));
305
305
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
306
306
  const len1 = WASM_VECTOR_LEN;
307
307
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
308
308
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
309
309
  },
310
- __wbg___wbindgen_string_get_965592073e5d848c: function(arg0, arg1) {
310
+ __wbg___wbindgen_string_get_d109740c0d18f4d7: function(arg0, arg1) {
311
311
  const obj = getObject(arg1);
312
312
  const ret = typeof(obj) === 'string' ? obj : undefined;
313
313
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -315,39 +315,39 @@ function __wbg_get_imports() {
315
315
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
316
316
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
317
317
  },
318
- __wbg___wbindgen_throw_9c75d47bf9e7731e: function(arg0, arg1) {
318
+ __wbg___wbindgen_throw_9c31b086c2b26051: function(arg0, arg1) {
319
319
  throw new Error(getStringFromWasm0(arg0, arg1));
320
320
  },
321
- __wbg__wbg_cb_unref_158e43e869788cdc: function(arg0) {
321
+ __wbg__wbg_cb_unref_3fa391f3fcdb55f8: function(arg0) {
322
322
  getObject(arg0)._wbg_cb_unref();
323
323
  },
324
- __wbg_call_a41d6421b30a32c5: function() { return handleError(function (arg0, arg1, arg2) {
325
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
324
+ __wbg_call_13665d9f14390edc: function() { return handleError(function (arg0, arg1) {
325
+ const ret = getObject(arg0).call(getObject(arg1));
326
326
  return addHeapObject(ret);
327
327
  }, arguments); },
328
- __wbg_call_add9e5a76382e668: function() { return handleError(function (arg0, arg1) {
329
- const ret = getObject(arg0).call(getObject(arg1));
328
+ __wbg_call_dfde26266607c996: function() { return handleError(function (arg0, arg1, arg2) {
329
+ const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
330
330
  return addHeapObject(ret);
331
331
  }, arguments); },
332
332
  __wbg_clearInterval_26ba580547547579: function(arg0) {
333
333
  const ret = clearInterval(takeObject(arg0));
334
334
  return addHeapObject(ret);
335
335
  },
336
- __wbg_close_931d0c62e2aab92c: function() { return handleError(function (arg0) {
336
+ __wbg_close_e323e9eee669c291: function() { return handleError(function (arg0) {
337
337
  getObject(arg0).close();
338
338
  }, arguments); },
339
- __wbg_data_4a14fad4c5f216c4: function(arg0) {
339
+ __wbg_data_5fc79a19e47d1531: function(arg0) {
340
340
  const ret = getObject(arg0).data;
341
341
  return addHeapObject(ret);
342
342
  },
343
- __wbg_from_ff141b1e4c69b979: function(arg0) {
343
+ __wbg_from_fa561fa561dc8031: function(arg0) {
344
344
  const ret = Array.from(getObject(arg0));
345
345
  return addHeapObject(ret);
346
346
  },
347
- __wbg_info_5de4b53c2c83bafd: function(arg0, arg1) {
347
+ __wbg_info_918be8257a400b94: function(arg0, arg1) {
348
348
  console.info(getStringFromWasm0(arg0, arg1));
349
349
  },
350
- __wbg_instanceof_ArrayBuffer_eab9f28fbec23477: function(arg0) {
350
+ __wbg_instanceof_ArrayBuffer_53db37b06f6b9afe: function(arg0) {
351
351
  let result;
352
352
  try {
353
353
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -357,38 +357,38 @@ function __wbg_get_imports() {
357
357
  const ret = result;
358
358
  return ret;
359
359
  },
360
- __wbg_length_ba3c032602efe310: function(arg0) {
360
+ __wbg_length_56fcd3e2b7e0299d: function(arg0) {
361
361
  const ret = getObject(arg0).length;
362
362
  return ret;
363
363
  },
364
- __wbg_new_2fad8ca02fd00684: function() {
364
+ __wbg_new_02d162bc6cf02f60: function() {
365
365
  const ret = new Object();
366
366
  return addHeapObject(ret);
367
367
  },
368
- __wbg_new_3baa8d9866155c79: function() {
368
+ __wbg_new_310879b66b6e95e1: function() {
369
369
  const ret = new Array();
370
370
  return addHeapObject(ret);
371
371
  },
372
- __wbg_new_8454eee672b2ba6e: function(arg0) {
372
+ __wbg_new_7ddec6de44ff8f5d: function(arg0) {
373
373
  const ret = new Uint8Array(getObject(arg0));
374
374
  return addHeapObject(ret);
375
375
  },
376
- __wbg_new_with_str_sequence_d90cb07368a00c61: function() { return handleError(function (arg0, arg1, arg2) {
376
+ __wbg_new_with_str_sequence_dfd6f579eac5ed31: function() { return handleError(function (arg0, arg1, arg2) {
377
377
  const ret = new WebSocket(getStringFromWasm0(arg0, arg1), getObject(arg2));
378
378
  return addHeapObject(ret);
379
379
  }, arguments); },
380
- __wbg_prototypesetcall_fd4050e806e1d519: function(arg0, arg1, arg2) {
380
+ __wbg_prototypesetcall_5f9bdc8d75e07276: function(arg0, arg1, arg2) {
381
381
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
382
382
  },
383
- __wbg_push_60a5366c0bb22a7d: function(arg0, arg1) {
383
+ __wbg_push_b77c476b01548d0a: function(arg0, arg1) {
384
384
  const ret = getObject(arg0).push(getObject(arg1));
385
385
  return ret;
386
386
  },
387
- __wbg_readyState_be3cc9403da6c6ae: function(arg0) {
387
+ __wbg_readyState_a1a00cc8898812ac: function(arg0) {
388
388
  const ret = getObject(arg0).readyState;
389
389
  return ret;
390
390
  },
391
- __wbg_send_c422d0aa0cb71d09: function() { return handleError(function (arg0, arg1, arg2) {
391
+ __wbg_send_b9d998a91cbc8429: function() { return handleError(function (arg0, arg1, arg2) {
392
392
  getObject(arg0).send(getArrayU8FromWasm0(arg1, arg2));
393
393
  }, arguments); },
394
394
  __wbg_setInterval_cbf1c35c6a692d37: function() { return handleError(function (arg0, arg1) {
@@ -398,45 +398,45 @@ function __wbg_get_imports() {
398
398
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
399
399
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
400
400
  },
401
- __wbg_set_binaryType_8564bdba0fbec720: function(arg0, arg1) {
402
- getObject(arg0).binaryType = __wbindgen_enum_BinaryType[arg1];
403
- },
404
- __wbg_set_f614f6a0608d1d1d: function(arg0, arg1, arg2) {
401
+ __wbg_set_78ea6a19f4818587: function(arg0, arg1, arg2) {
405
402
  getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
406
403
  },
407
- __wbg_set_onclose_f756840519cd20b5: function(arg0, arg1) {
404
+ __wbg_set_binaryType_5c0002dfcf194934: function(arg0, arg1) {
405
+ getObject(arg0).binaryType = __wbindgen_enum_BinaryType[arg1];
406
+ },
407
+ __wbg_set_onclose_3121e15055418a37: function(arg0, arg1) {
408
408
  getObject(arg0).onclose = getObject(arg1);
409
409
  },
410
- __wbg_set_onerror_02f33de339f1fa31: function(arg0, arg1) {
410
+ __wbg_set_onerror_1dd52df6279c8dd2: function(arg0, arg1) {
411
411
  getObject(arg0).onerror = getObject(arg1);
412
412
  },
413
- __wbg_set_onmessage_d2ff0c1d20584625: function(arg0, arg1) {
413
+ __wbg_set_onmessage_9eb2cf76e70783ad: function(arg0, arg1) {
414
414
  getObject(arg0).onmessage = getObject(arg1);
415
415
  },
416
- __wbg_set_onopen_1da8a4f65e6180d2: function(arg0, arg1) {
416
+ __wbg_set_onopen_6f3fc5e2ad3144f1: function(arg0, arg1) {
417
417
  getObject(arg0).onopen = getObject(arg1);
418
418
  },
419
- __wbg_warn_2a8c7836a3ae7b76: function(arg0, arg1) {
419
+ __wbg_warn_f287359ffa6ce512: function(arg0, arg1) {
420
420
  console.warn(getStringFromWasm0(arg0, arg1));
421
421
  },
422
422
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
423
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
424
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_41);
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`.
424
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_39);
425
425
  return addHeapObject(ret);
426
426
  },
427
427
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
428
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
429
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_41_1);
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`.
429
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_39_1);
430
430
  return addHeapObject(ret);
431
431
  },
432
432
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
433
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
434
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_41_2);
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`.
434
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_39_2);
435
435
  return addHeapObject(ret);
436
436
  },
437
437
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
438
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
439
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_39);
438
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
439
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_41);
440
440
  return addHeapObject(ret);
441
441
  },
442
442
  __wbindgen_cast_0000000000000005: function(arg0) {
@@ -473,20 +473,20 @@ function __wbg_get_imports() {
473
473
  };
474
474
  }
475
475
 
476
- function __wasm_bindgen_func_elem_39(arg0, arg1) {
477
- wasm.__wasm_bindgen_func_elem_39(arg0, arg1);
476
+ function __wasm_bindgen_func_elem_41(arg0, arg1) {
477
+ wasm.__wasm_bindgen_func_elem_41(arg0, arg1);
478
478
  }
479
479
 
480
- function __wasm_bindgen_func_elem_41(arg0, arg1, arg2) {
481
- wasm.__wasm_bindgen_func_elem_41(arg0, arg1, addHeapObject(arg2));
480
+ function __wasm_bindgen_func_elem_39(arg0, arg1, arg2) {
481
+ wasm.__wasm_bindgen_func_elem_39(arg0, arg1, addHeapObject(arg2));
482
482
  }
483
483
 
484
- function __wasm_bindgen_func_elem_41_1(arg0, arg1, arg2) {
485
- wasm.__wasm_bindgen_func_elem_41_1(arg0, arg1, addHeapObject(arg2));
484
+ function __wasm_bindgen_func_elem_39_1(arg0, arg1, arg2) {
485
+ wasm.__wasm_bindgen_func_elem_39_1(arg0, arg1, addHeapObject(arg2));
486
486
  }
487
487
 
488
- function __wasm_bindgen_func_elem_41_2(arg0, arg1, arg2) {
489
- wasm.__wasm_bindgen_func_elem_41_2(arg0, arg1, addHeapObject(arg2));
488
+ function __wasm_bindgen_func_elem_39_2(arg0, arg1, arg2) {
489
+ wasm.__wasm_bindgen_func_elem_39_2(arg0, arg1, addHeapObject(arg2));
490
490
  }
491
491
 
492
492
 
Binary file