phirepass-channel 0.1.94 → 0.1.95

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.94",
4
+ "version": "0.1.95",
5
5
  "license": "SEE LICENSE IN ../LICENCE",
6
6
  "repository": {
7
7
  "type": "git",
@@ -30,7 +30,7 @@ export class Channel {
30
30
 
31
31
  export enum ErrorType {
32
32
  Generic = 0,
33
- RequiredUsername = 100,
33
+ RequiresUsername = 100,
34
34
  RequiresPassword = 110,
35
35
  }
36
36
 
@@ -70,8 +70,8 @@ export interface InitOutput {
70
70
  readonly channel_stop_heartbeat: (a: number) => void;
71
71
  readonly version: (a: number) => void;
72
72
  readonly __wasm_bindgen_func_elem_37: (a: number, b: number) => void;
73
- readonly __wasm_bindgen_func_elem_38: (a: number, b: number, c: number) => void;
74
- readonly __wasm_bindgen_func_elem_41: (a: number, b: number) => void;
73
+ readonly __wasm_bindgen_func_elem_40: (a: number, b: number, c: number) => void;
74
+ readonly __wasm_bindgen_func_elem_38: (a: number, b: number) => void;
75
75
  readonly __wbindgen_export: (a: number, b: number) => number;
76
76
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
77
77
  readonly __wbindgen_export3: (a: number) => void;
@@ -233,7 +233,7 @@ if (Symbol.dispose) Channel.prototype[Symbol.dispose] = Channel.prototype.free;
233
233
  */
234
234
  export const ErrorType = Object.freeze({
235
235
  Generic: 0, "0": "Generic",
236
- RequiredUsername: 100, "100": "RequiredUsername",
236
+ RequiresUsername: 100, "100": "RequiresUsername",
237
237
  RequiresPassword: 110, "110": "RequiresPassword",
238
238
  });
239
239
 
@@ -388,27 +388,27 @@ function __wbg_get_imports() {
388
388
  __wbg_set_onopen_b7b52d519d6c0f11: function(arg0, arg1) {
389
389
  getObject(arg0).onopen = getObject(arg1);
390
390
  },
391
- __wbg_warn_52b41cf622091700: function(arg0, arg1) {
391
+ __wbg_warn_2e032b1fe8828f36: function(arg0, arg1) {
392
392
  console.warn(getStringFromWasm0(arg0, arg1));
393
393
  },
394
394
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
395
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
396
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37, __wasm_bindgen_func_elem_38);
395
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
396
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37, __wasm_bindgen_func_elem_40);
397
397
  return addHeapObject(ret);
398
398
  },
399
399
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
400
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
401
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37, __wasm_bindgen_func_elem_38);
400
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
401
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37, __wasm_bindgen_func_elem_40);
402
402
  return addHeapObject(ret);
403
403
  },
404
404
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
405
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
406
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37, __wasm_bindgen_func_elem_38);
405
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
406
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37, __wasm_bindgen_func_elem_40);
407
407
  return addHeapObject(ret);
408
408
  },
409
409
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
410
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx: 5, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
411
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37, __wasm_bindgen_func_elem_41);
410
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
411
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_37, __wasm_bindgen_func_elem_38);
412
412
  return addHeapObject(ret);
413
413
  },
414
414
  __wbindgen_cast_0000000000000005: function(arg0) {
@@ -445,12 +445,12 @@ function __wbg_get_imports() {
445
445
  };
446
446
  }
447
447
 
448
- function __wasm_bindgen_func_elem_41(arg0, arg1) {
449
- wasm.__wasm_bindgen_func_elem_41(arg0, arg1);
448
+ function __wasm_bindgen_func_elem_38(arg0, arg1) {
449
+ wasm.__wasm_bindgen_func_elem_38(arg0, arg1);
450
450
  }
451
451
 
452
- function __wasm_bindgen_func_elem_38(arg0, arg1, arg2) {
453
- wasm.__wasm_bindgen_func_elem_38(arg0, arg1, addHeapObject(arg2));
452
+ function __wasm_bindgen_func_elem_40(arg0, arg1, arg2) {
453
+ wasm.__wasm_bindgen_func_elem_40(arg0, arg1, addHeapObject(arg2));
454
454
  }
455
455
 
456
456
 
Binary file