masohi-mqtt 2.2.1 → 2.2.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/index.js CHANGED
@@ -36,6 +36,7 @@ async function factory (pkgName) {
36
36
  item.topic = item.topic ?? []
37
37
  if (isString(item.topic)) item.topic = [item.topic]
38
38
  if (!item.options.clientId) item.options.clientId = generateId()
39
+ return item
39
40
  }
40
41
  this.connections = await buildCollections({ ns: this.ns, handler: connHandler, container: 'connections' })
41
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "masohi-mqtt",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "MQTT binding for Masohi Messaging",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-05-29
4
+
5
+ - [2.2.2] Bug fix in ```init()```
6
+
3
7
  ## 2026-02-25
4
8
 
5
- - [2.2.1] Bug fix on ```onMessage``` event
9
+ - [2.2.1] Bug fix in ```onMessage``` event
6
10
 
7
11
  ## 2026-01-29
8
12