comq 0.11.3 → 0.12.0

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/lerna.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "0.11.3",
2
+ "version": "0.12.0",
3
3
  "conventionalCommits": true
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comq",
3
- "version": "0.11.3",
3
+ "version": "0.12.0",
4
4
  "description": "ComQ",
5
5
  "author": {
6
6
  "name": "Artem Gurtovoi",
@@ -108,8 +108,9 @@ class Connection {
108
108
 
109
109
  #transient (exception) {
110
110
  const abruptly = exception.message === 'Socket closed abruptly during opening handshake'
111
+ const tls = exception.message === 'Client network socket disconnected before secure TLS connection was established'
111
112
 
112
- return this.#running || abruptly
113
+ return this.#running || abruptly || tls
113
114
  }
114
115
  }
115
116