mqtt5-wasm 0.8.1 → 0.8.2

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/mqtt5_wasm.d.ts CHANGED
@@ -528,13 +528,13 @@ export interface InitOutput {
528
528
  readonly wasmwillmessage_set_willDelayInterval: (a: number, b: number) => void;
529
529
  readonly wasmwillmessage_topic: (a: number) => [number, number];
530
530
  readonly wasmwillmessage_willDelayInterval: (a: number) => number;
531
- readonly wasm_bindgen__convert__closures_____invoke__h31c8cca720a6aff9: (a: number, b: number, c: any) => void;
532
- readonly wasm_bindgen__closure__destroy__h41b20611c4407cba: (a: number, b: number) => void;
533
- readonly wasm_bindgen__convert__closures_____invoke__h8d4b77242b184668: (a: number, b: number, c: any) => void;
534
- readonly wasm_bindgen__closure__destroy__h1683131c23930486: (a: number, b: number) => void;
535
- readonly wasm_bindgen__convert__closures_____invoke__h3ae4cd55a0542d01: (a: number, b: number) => void;
536
- readonly wasm_bindgen__closure__destroy__h318cda49ff0041e4: (a: number, b: number) => void;
537
- readonly wasm_bindgen__convert__closures_____invoke__h7ae096ff8d5e6a9b: (a: number, b: number, c: any, d: any) => void;
531
+ readonly wasm_bindgen__convert__closures_____invoke__h7324a79a5e11eb3e: (a: number, b: number, c: any) => void;
532
+ readonly wasm_bindgen__closure__destroy__h38434f93ee49d1f0: (a: number, b: number) => void;
533
+ readonly wasm_bindgen__convert__closures_____invoke__hd49bf9a031f6d618: (a: number, b: number) => void;
534
+ readonly wasm_bindgen__closure__destroy__h0acca761ccd82b83: (a: number, b: number) => void;
535
+ readonly wasm_bindgen__convert__closures_____invoke__h475e254c24b92200: (a: number, b: number, c: any) => void;
536
+ readonly wasm_bindgen__closure__destroy__hb2a62e97b18b78cc: (a: number, b: number) => void;
537
+ readonly wasm_bindgen__convert__closures_____invoke__h2295936859390eb7: (a: number, b: number, c: any, d: any) => void;
538
538
  readonly __wbindgen_malloc: (a: number, b: number) => number;
539
539
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
540
540
  readonly __wbindgen_exn_store: (a: number) => void;
package/mqtt5_wasm.js CHANGED
@@ -251,20 +251,20 @@ if (!('encodeInto' in cachedTextEncoder)) {
251
251
 
252
252
  let WASM_VECTOR_LEN = 0;
253
253
 
254
- function wasm_bindgen__convert__closures_____invoke__h31c8cca720a6aff9(arg0, arg1, arg2) {
255
- wasm.wasm_bindgen__convert__closures_____invoke__h31c8cca720a6aff9(arg0, arg1, arg2);
254
+ function wasm_bindgen__convert__closures_____invoke__h7324a79a5e11eb3e(arg0, arg1, arg2) {
255
+ wasm.wasm_bindgen__convert__closures_____invoke__h7324a79a5e11eb3e(arg0, arg1, arg2);
256
256
  }
257
257
 
258
- function wasm_bindgen__convert__closures_____invoke__h8d4b77242b184668(arg0, arg1, arg2) {
259
- wasm.wasm_bindgen__convert__closures_____invoke__h8d4b77242b184668(arg0, arg1, arg2);
258
+ function wasm_bindgen__convert__closures_____invoke__hd49bf9a031f6d618(arg0, arg1) {
259
+ wasm.wasm_bindgen__convert__closures_____invoke__hd49bf9a031f6d618(arg0, arg1);
260
260
  }
261
261
 
262
- function wasm_bindgen__convert__closures_____invoke__h3ae4cd55a0542d01(arg0, arg1) {
263
- wasm.wasm_bindgen__convert__closures_____invoke__h3ae4cd55a0542d01(arg0, arg1);
262
+ function wasm_bindgen__convert__closures_____invoke__h475e254c24b92200(arg0, arg1, arg2) {
263
+ wasm.wasm_bindgen__convert__closures_____invoke__h475e254c24b92200(arg0, arg1, arg2);
264
264
  }
265
265
 
266
- function wasm_bindgen__convert__closures_____invoke__h7ae096ff8d5e6a9b(arg0, arg1, arg2, arg3) {
267
- wasm.wasm_bindgen__convert__closures_____invoke__h7ae096ff8d5e6a9b(arg0, arg1, arg2, arg3);
266
+ function wasm_bindgen__convert__closures_____invoke__h2295936859390eb7(arg0, arg1, arg2, arg3) {
267
+ wasm.wasm_bindgen__convert__closures_____invoke__h2295936859390eb7(arg0, arg1, arg2, arg3);
268
268
  }
269
269
 
270
270
  const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
@@ -2188,7 +2188,7 @@ function __wbg_get_imports() {
2188
2188
  const a = state0.a;
2189
2189
  state0.a = 0;
2190
2190
  try {
2191
- return wasm_bindgen__convert__closures_____invoke__h7ae096ff8d5e6a9b(a, state0.b, arg0, arg1);
2191
+ return wasm_bindgen__convert__closures_____invoke__h2295936859390eb7(a, state0.b, arg0, arg1);
2192
2192
  } finally {
2193
2193
  state0.a = a;
2194
2194
  }
@@ -2344,24 +2344,19 @@ function __wbg_get_imports() {
2344
2344
  const ret = v0;
2345
2345
  return ret;
2346
2346
  };
2347
- imports.wbg.__wbindgen_cast_9962933c44dc73b0 = function(arg0, arg1) {
2348
- // Cast intrinsic for `Closure(Closure { dtor_idx: 382, function: Function { arguments: [Externref], shim_idx: 383, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2349
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h41b20611c4407cba, wasm_bindgen__convert__closures_____invoke__h31c8cca720a6aff9);
2350
- return ret;
2351
- };
2352
2347
  imports.wbg.__wbindgen_cast_a6d58121ace2ceaa = function(arg0, arg1) {
2353
2348
  // Cast intrinsic for `Closure(Closure { dtor_idx: 7, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 8, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2354
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1683131c23930486, wasm_bindgen__convert__closures_____invoke__h8d4b77242b184668);
2349
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h38434f93ee49d1f0, wasm_bindgen__convert__closures_____invoke__h7324a79a5e11eb3e);
2355
2350
  return ret;
2356
2351
  };
2357
- imports.wbg.__wbindgen_cast_a8d66839b968d1de = function(arg0, arg1) {
2358
- // Cast intrinsic for `Closure(Closure { dtor_idx: 371, function: Function { arguments: [], shim_idx: 372, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2359
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h318cda49ff0041e4, wasm_bindgen__convert__closures_____invoke__h3ae4cd55a0542d01);
2352
+ imports.wbg.__wbindgen_cast_bcb52d240aab74cd = function(arg0, arg1) {
2353
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 369, function: Function { arguments: [], shim_idx: 370, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2354
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h0acca761ccd82b83, wasm_bindgen__convert__closures_____invoke__hd49bf9a031f6d618);
2360
2355
  return ret;
2361
2356
  };
2362
2357
  imports.wbg.__wbindgen_cast_d3f7166d7f91ad34 = function(arg0, arg1) {
2363
2358
  // Cast intrinsic for `Closure(Closure { dtor_idx: 7, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 8, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2364
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1683131c23930486, wasm_bindgen__convert__closures_____invoke__h8d4b77242b184668);
2359
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h38434f93ee49d1f0, wasm_bindgen__convert__closures_____invoke__h7324a79a5e11eb3e);
2365
2360
  return ret;
2366
2361
  };
2367
2362
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
@@ -2369,9 +2364,14 @@ function __wbg_get_imports() {
2369
2364
  const ret = arg0;
2370
2365
  return ret;
2371
2366
  };
2367
+ imports.wbg.__wbindgen_cast_f32d29dddbf18ed6 = function(arg0, arg1) {
2368
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 380, function: Function { arguments: [Externref], shim_idx: 381, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2369
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb2a62e97b18b78cc, wasm_bindgen__convert__closures_____invoke__h475e254c24b92200);
2370
+ return ret;
2371
+ };
2372
2372
  imports.wbg.__wbindgen_cast_fac85390ef55bfaa = function(arg0, arg1) {
2373
2373
  // Cast intrinsic for `Closure(Closure { dtor_idx: 7, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 8, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
2374
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1683131c23930486, wasm_bindgen__convert__closures_____invoke__h8d4b77242b184668);
2374
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h38434f93ee49d1f0, wasm_bindgen__convert__closures_____invoke__h7324a79a5e11eb3e);
2375
2375
  return ret;
2376
2376
  };
2377
2377
  imports.wbg.__wbindgen_init_externref_table = function() {
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "fabriciobracht <fabricio@bracht.dev>"
6
6
  ],
7
7
  "description": "MQTT v5.0 WebAssembly client and broker for browser environments",
8
- "version": "0.8.1",
8
+ "version": "0.8.2",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",