phirepass-channel 0.1.201 → 0.1.202

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.201",
4
+ "version": "0.1.202",
5
5
  "license": "SEE LICENSE IN ../LICENCE",
6
6
  "repository": {
7
7
  "type": "git",
@@ -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 __wasm_bindgen_func_elem_39: (a: number, b: number, c: number) => void;
76
- readonly __wasm_bindgen_func_elem_39_1: (a: number, b: number, c: number) => void;
77
- readonly __wasm_bindgen_func_elem_39_2: (a: number, b: number, c: number) => void;
78
- readonly __wasm_bindgen_func_elem_41: (a: number, b: number) => void;
75
+ readonly __wasm_bindgen_func_elem_41: (a: number, b: number, c: number) => void;
76
+ readonly __wasm_bindgen_func_elem_41_1: (a: number, b: number, c: number) => void;
77
+ readonly __wasm_bindgen_func_elem_41_2: (a: number, b: number, c: number) => void;
78
+ readonly __wasm_bindgen_func_elem_39: (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;
@@ -285,11 +285,10 @@ export function version() {
285
285
  wasm.__wbindgen_export5(deferred1_0, deferred1_1, 1);
286
286
  }
287
287
  }
288
-
289
288
  function __wbg_get_imports() {
290
289
  const import0 = {
291
290
  __proto__: null,
292
- __wbg_Error_2e59b1b37a9a34c3: function(arg0, arg1) {
291
+ __wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
293
292
  const ret = Error(getStringFromWasm0(arg0, arg1));
294
293
  return addHeapObject(ret);
295
294
  },
@@ -300,14 +299,14 @@ function __wbg_get_imports() {
300
299
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
301
300
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
302
301
  },
303
- __wbg___wbindgen_debug_string_dd5d2d07ce9e6c57: function(arg0, arg1) {
302
+ __wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
304
303
  const ret = debugString(getObject(arg1));
305
304
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
306
305
  const len1 = WASM_VECTOR_LEN;
307
306
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
308
307
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
309
308
  },
310
- __wbg___wbindgen_string_get_914df97fcfa788f2: function(arg0, arg1) {
309
+ __wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
311
310
  const obj = getObject(arg1);
312
311
  const ret = typeof(obj) === 'string' ? obj : undefined;
313
312
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -315,17 +314,17 @@ function __wbg_get_imports() {
315
314
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
316
315
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
317
316
  },
318
- __wbg___wbindgen_throw_81fc77679af83bc6: function(arg0, arg1) {
317
+ __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
319
318
  throw new Error(getStringFromWasm0(arg0, arg1));
320
319
  },
321
- __wbg__wbg_cb_unref_3c3b4f651835fbcb: function(arg0) {
320
+ __wbg__wbg_cb_unref_b46c9b5a9f08ec37: function(arg0) {
322
321
  getObject(arg0)._wbg_cb_unref();
323
322
  },
324
- __wbg_call_7f2987183bb62793: function() { return handleError(function (arg0, arg1) {
323
+ __wbg_call_14b169f759b26747: function() { return handleError(function (arg0, arg1) {
325
324
  const ret = getObject(arg0).call(getObject(arg1));
326
325
  return addHeapObject(ret);
327
326
  }, arguments); },
328
- __wbg_call_d578befcc3145dee: function() { return handleError(function (arg0, arg1, arg2) {
327
+ __wbg_call_a24592a6f349a97e: function() { return handleError(function (arg0, arg1, arg2) {
329
328
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
330
329
  return addHeapObject(ret);
331
330
  }, arguments); },
@@ -333,21 +332,21 @@ function __wbg_get_imports() {
333
332
  const ret = clearInterval(takeObject(arg0));
334
333
  return addHeapObject(ret);
335
334
  },
336
- __wbg_close_f181fdc02ee236e6: function() { return handleError(function (arg0) {
335
+ __wbg_close_88106990eea7f544: function() { return handleError(function (arg0) {
337
336
  getObject(arg0).close();
338
337
  }, arguments); },
339
- __wbg_data_60b50110c5bd9349: function(arg0) {
338
+ __wbg_data_bb9dffdd1e99cf2d: function(arg0) {
340
339
  const ret = getObject(arg0).data;
341
340
  return addHeapObject(ret);
342
341
  },
343
- __wbg_from_741da0f916ab74aa: function(arg0) {
342
+ __wbg_from_0dbf29f09e7fb200: function(arg0) {
344
343
  const ret = Array.from(getObject(arg0));
345
344
  return addHeapObject(ret);
346
345
  },
347
- __wbg_info_630bedec4d85c38f: function(arg0, arg1) {
346
+ __wbg_info_20f5d7e22e2e57b7: function(arg0, arg1) {
348
347
  console.info(getStringFromWasm0(arg0, arg1));
349
348
  },
350
- __wbg_instanceof_ArrayBuffer_ff7c1337a5e3b33a: function(arg0) {
349
+ __wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
351
350
  let result;
352
351
  try {
353
352
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -357,86 +356,86 @@ function __wbg_get_imports() {
357
356
  const ret = result;
358
357
  return ret;
359
358
  },
360
- __wbg_length_0c32cb8543c8e4c8: function(arg0) {
359
+ __wbg_length_9f1775224cf1d815: function(arg0) {
361
360
  const ret = getObject(arg0).length;
362
361
  return ret;
363
362
  },
364
- __wbg_new_4f9fafbb3909af72: function() {
365
- const ret = new Object();
366
- return addHeapObject(ret);
367
- },
368
- __wbg_new_a560378ea1240b14: function(arg0) {
363
+ __wbg_new_0c7403db6e782f19: function(arg0) {
369
364
  const ret = new Uint8Array(getObject(arg0));
370
365
  return addHeapObject(ret);
371
366
  },
372
- __wbg_new_f3c9df4f38f3f798: function() {
367
+ __wbg_new_682678e2f47e32bc: function() {
373
368
  const ret = new Array();
374
369
  return addHeapObject(ret);
375
370
  },
376
- __wbg_new_with_str_sequence_e6b5bb982fdcf253: function() { return handleError(function (arg0, arg1, arg2) {
371
+ __wbg_new_aa8d0fa9762c29bd: function() {
372
+ const ret = new Object();
373
+ return addHeapObject(ret);
374
+ },
375
+ __wbg_new_with_str_sequence_6453b755acdcc2e7: function() { return handleError(function (arg0, arg1, arg2) {
377
376
  const ret = new WebSocket(getStringFromWasm0(arg0, arg1), getObject(arg2));
378
377
  return addHeapObject(ret);
379
378
  }, arguments); },
380
- __wbg_prototypesetcall_3e05eb9545565046: function(arg0, arg1, arg2) {
379
+ __wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
381
380
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
382
381
  },
383
- __wbg_push_6bdbc990be5ac37b: function(arg0, arg1) {
382
+ __wbg_push_471a5b068a5295f6: function(arg0, arg1) {
384
383
  const ret = getObject(arg0).push(getObject(arg1));
385
384
  return ret;
386
385
  },
387
- __wbg_readyState_631d9f7c37e595d7: function(arg0) {
386
+ __wbg_readyState_c78e609c7de3b381: function(arg0) {
388
387
  const ret = getObject(arg0).readyState;
389
388
  return ret;
390
389
  },
391
- __wbg_send_64dd480ad0d86a31: function() { return handleError(function (arg0, arg1, arg2) {
390
+ __wbg_send_186c85704c7f2d00: function() { return handleError(function (arg0, arg1, arg2) {
392
391
  getObject(arg0).send(getArrayU8FromWasm0(arg1, arg2));
393
392
  }, arguments); },
394
393
  __wbg_setInterval_cbf1c35c6a692d37: function() { return handleError(function (arg0, arg1) {
395
394
  const ret = setInterval(getObject(arg0), arg1);
396
395
  return addHeapObject(ret);
397
396
  }, arguments); },
397
+ __wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
398
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
399
+ },
398
400
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
399
401
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
400
402
  },
401
- __wbg_set_6c60b2e8ad0e9383: function(arg0, arg1, arg2) {
402
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
403
- },
404
- __wbg_set_binaryType_95c0a0f7586a3903: function(arg0, arg1) {
403
+ __wbg_set_binaryType_770e68648ca5e83d: function(arg0, arg1) {
405
404
  getObject(arg0).binaryType = __wbindgen_enum_BinaryType[arg1];
406
405
  },
407
- __wbg_set_onclose_47cce56c686db4fb: function(arg0, arg1) {
406
+ __wbg_set_onclose_17fa3bbcc4ba3541: function(arg0, arg1) {
408
407
  getObject(arg0).onclose = getObject(arg1);
409
408
  },
410
- __wbg_set_onerror_3db8bc3e52b2b10b: function(arg0, arg1) {
409
+ __wbg_set_onerror_da99c4232662a084: function(arg0, arg1) {
411
410
  getObject(arg0).onerror = getObject(arg1);
412
411
  },
413
- __wbg_set_onmessage_45bd33b110c54f5b: function(arg0, arg1) {
412
+ __wbg_set_onmessage_c1db358b9c38e3f1: function(arg0, arg1) {
414
413
  getObject(arg0).onmessage = getObject(arg1);
415
414
  },
416
- __wbg_set_onopen_7ffeb01f8a628209: function(arg0, arg1) {
415
+ __wbg_set_onopen_cd47b8fb1d92dee9: function(arg0, arg1) {
417
416
  getObject(arg0).onopen = getObject(arg1);
418
417
  },
419
- __wbg_warn_e4f7d16748eb737a: function(arg0, arg1) {
418
+ __wbg_warn_a9700737bd16dfd4: function(arg0, arg1) {
420
419
  console.warn(getStringFromWasm0(arg0, arg1));
421
420
  },
422
421
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
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);
422
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
423
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_41);
425
424
  return addHeapObject(ret);
426
425
  },
427
426
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
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);
427
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
428
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_41_1);
430
429
  return addHeapObject(ret);
431
430
  },
432
431
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
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);
432
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
433
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_41_2);
435
434
  return addHeapObject(ret);
436
435
  },
437
436
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
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);
437
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 1, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
438
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_39);
440
439
  return addHeapObject(ret);
441
440
  },
442
441
  __wbindgen_cast_0000000000000005: function(arg0) {
@@ -473,20 +472,20 @@ function __wbg_get_imports() {
473
472
  };
474
473
  }
475
474
 
476
- function __wasm_bindgen_func_elem_41(arg0, arg1) {
477
- wasm.__wasm_bindgen_func_elem_41(arg0, arg1);
475
+ function __wasm_bindgen_func_elem_39(arg0, arg1) {
476
+ wasm.__wasm_bindgen_func_elem_39(arg0, arg1);
478
477
  }
479
478
 
480
- function __wasm_bindgen_func_elem_39(arg0, arg1, arg2) {
481
- wasm.__wasm_bindgen_func_elem_39(arg0, arg1, addHeapObject(arg2));
479
+ function __wasm_bindgen_func_elem_41(arg0, arg1, arg2) {
480
+ wasm.__wasm_bindgen_func_elem_41(arg0, arg1, addHeapObject(arg2));
482
481
  }
483
482
 
484
- function __wasm_bindgen_func_elem_39_1(arg0, arg1, arg2) {
485
- wasm.__wasm_bindgen_func_elem_39_1(arg0, arg1, addHeapObject(arg2));
483
+ function __wasm_bindgen_func_elem_41_1(arg0, arg1, arg2) {
484
+ wasm.__wasm_bindgen_func_elem_41_1(arg0, arg1, addHeapObject(arg2));
486
485
  }
487
486
 
488
- function __wasm_bindgen_func_elem_39_2(arg0, arg1, arg2) {
489
- wasm.__wasm_bindgen_func_elem_39_2(arg0, arg1, addHeapObject(arg2));
487
+ function __wasm_bindgen_func_elem_41_2(arg0, arg1, arg2) {
488
+ wasm.__wasm_bindgen_func_elem_41_2(arg0, arg1, addHeapObject(arg2));
490
489
  }
491
490
 
492
491
 
Binary file