geonix 1.8.2 → 1.8.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "geonix",
3
- "version": "1.8.2",
3
+ "version": "1.8.3",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "bin": {
package/src/Connection.js CHANGED
@@ -104,8 +104,9 @@ class Connection {
104
104
 
105
105
  await this.#nc.publish(subject, payload)
106
106
 
107
+ let response
107
108
  try {
108
- const response = await this.#nc.subscribe(respondTo, { max: 1, ...options })
109
+ response = await this.#nc.subscribe(respondTo, { max: 1, ...options })
109
110
  } catch (e) {
110
111
  console.debug('GxDebug -----')
111
112
  console.log({ subject, json })