mqtt5-wasm 0.1.1 → 0.1.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/README.md CHANGED
@@ -22,7 +22,7 @@ npm install mqtt5-wasm
22
22
 
23
23
  ```toml
24
24
  [dependencies]
25
- mqtt5-wasm = "0.1"
25
+ mqtt5-wasm = "0.1.2"
26
26
  ```
27
27
 
28
28
  Build with wasm-pack:
package/mqtt5_wasm.d.ts CHANGED
@@ -253,10 +253,10 @@ export interface InitOutput {
253
253
  readonly wasmwillmessage_willDelayInterval: (a: number) => number;
254
254
  readonly wasmwillmessage_messageExpiryInterval: (a: number) => number;
255
255
  readonly wasmwillmessage_set_messageExpiryInterval: (a: number, b: number) => void;
256
+ readonly wasm_bindgen__convert__closures_____invoke__h83490f8cd1f822be: (a: number, b: number, c: any) => void;
257
+ readonly wasm_bindgen__closure__destroy__h3e5175841145af54: (a: number, b: number) => void;
256
258
  readonly wasm_bindgen__convert__closures_____invoke__h4c33ce4d986075ed: (a: number, b: number) => void;
257
259
  readonly wasm_bindgen__closure__destroy__he3a6d52737a61d69: (a: number, b: number) => void;
258
- readonly wasm_bindgen__convert__closures_____invoke__h510155d1f662caae: (a: number, b: number, c: any) => void;
259
- readonly wasm_bindgen__closure__destroy__h17a33021d1dc0dec: (a: number, b: number) => void;
260
260
  readonly wasm_bindgen__convert__closures_____invoke__hacd56641ea4358f0: (a: number, b: number, c: any) => void;
261
261
  readonly wasm_bindgen__closure__destroy__h2a5cb8478cd1adb0: (a: number, b: number) => void;
262
262
  readonly wasm_bindgen__convert__closures_____invoke__hbbb6f9316512cb4e: (a: number, b: number, c: any, d: any) => void;
package/mqtt5_wasm.js CHANGED
@@ -232,12 +232,12 @@ function passArray8ToWasm0(arg, malloc) {
232
232
  WASM_VECTOR_LEN = arg.length;
233
233
  return ptr;
234
234
  }
235
- function wasm_bindgen__convert__closures_____invoke__h4c33ce4d986075ed(arg0, arg1) {
236
- wasm.wasm_bindgen__convert__closures_____invoke__h4c33ce4d986075ed(arg0, arg1);
235
+ function wasm_bindgen__convert__closures_____invoke__h83490f8cd1f822be(arg0, arg1, arg2) {
236
+ wasm.wasm_bindgen__convert__closures_____invoke__h83490f8cd1f822be(arg0, arg1, arg2);
237
237
  }
238
238
 
239
- function wasm_bindgen__convert__closures_____invoke__h510155d1f662caae(arg0, arg1, arg2) {
240
- wasm.wasm_bindgen__convert__closures_____invoke__h510155d1f662caae(arg0, arg1, arg2);
239
+ function wasm_bindgen__convert__closures_____invoke__h4c33ce4d986075ed(arg0, arg1) {
240
+ wasm.wasm_bindgen__convert__closures_____invoke__h4c33ce4d986075ed(arg0, arg1);
241
241
  }
242
242
 
243
243
  function wasm_bindgen__convert__closures_____invoke__hacd56641ea4358f0(arg0, arg1, arg2) {
@@ -1613,12 +1613,12 @@ function __wbg_get_imports() {
1613
1613
  };
1614
1614
  imports.wbg.__wbindgen_cast_841ad4dc62ebec90 = function(arg0, arg1) {
1615
1615
  // Cast intrinsic for `Closure(Closure { dtor_idx: 2, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1616
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h17a33021d1dc0dec, wasm_bindgen__convert__closures_____invoke__h510155d1f662caae);
1616
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3e5175841145af54, wasm_bindgen__convert__closures_____invoke__h83490f8cd1f822be);
1617
1617
  return ret;
1618
1618
  };
1619
1619
  imports.wbg.__wbindgen_cast_9a4d11962b71bb1d = function(arg0, arg1) {
1620
1620
  // Cast intrinsic for `Closure(Closure { dtor_idx: 2, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1621
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h17a33021d1dc0dec, wasm_bindgen__convert__closures_____invoke__h510155d1f662caae);
1621
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3e5175841145af54, wasm_bindgen__convert__closures_____invoke__h83490f8cd1f822be);
1622
1622
  return ret;
1623
1623
  };
1624
1624
  imports.wbg.__wbindgen_cast_9f5e1abc47e97f45 = function(arg0, arg1) {
@@ -1633,7 +1633,7 @@ function __wbg_get_imports() {
1633
1633
  };
1634
1634
  imports.wbg.__wbindgen_cast_eee2c0f90882ae61 = function(arg0, arg1) {
1635
1635
  // Cast intrinsic for `Closure(Closure { dtor_idx: 2, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 3, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1636
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h17a33021d1dc0dec, wasm_bindgen__convert__closures_____invoke__h510155d1f662caae);
1636
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h3e5175841145af54, wasm_bindgen__convert__closures_____invoke__h83490f8cd1f822be);
1637
1637
  return ret;
1638
1638
  };
1639
1639
  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.1.1",
8
+ "version": "0.1.2",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",